Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify FP ABI implication by march string #20

Open
cmuellner opened this issue Apr 23, 2022 · 1 comment
Open

Clarify FP ABI implication by march string #20

cmuellner opened this issue Apr 23, 2022 · 1 comment

Comments

@cmuellner
Copy link
Collaborator

This ticket is derived from a comment in #18.

The document states the following:

A target -march which includes floating point instructions implies a hardfloat calling convention, but can be overridden using the -mabi flag (see the next section).

This is not implemented in GCC (I don't know how LLVM handles this).
Also, it is not clear why the march string should change the ABI.

@cmuellner cmuellner changed the title Clarify ABI implication by march string Clarify FP ABI implication by march string Apr 23, 2022
@pcwang-thead
Copy link

I have sent a patch to GCC upstream and a fixup for LLVM:

I don't know if I have implemented it correctly, so I think we can discuss here to figure out if this feature is needed and how to implement it (like -mabi=auto, multilib selection issue, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants