-
Notifications
You must be signed in to change notification settings - Fork 56
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
extra_ops.hpp: adapt to AIX assembler #50
Conversation
As a general comment, I would prefer to avoid |
Yes, that would be better indeed. I see if I can do that. |
I suspect, your compiler supports |
I have something like this in mind:
And then use these macros in both headers. |
Also, I suppose, |
The problem isn't related to the compiler but the assembler being used behind. I'm currently working with gcc-10, which is supporting labels. But it's calling AIX assembler instead of GNU as, and as far as I know it doesn't allow the "1b","1f" syntax. I'm not sure any macro is able to detect that. |
AIX assembler doesn't allow "bne- 1b" or "bne- 1f" symtax to jump to a given label. It must be replaced by "bne- $N", N being the memory offset between the current instruction and the targeted label.
Thanks, merged. |
AIX assembler doesn't allow "bne- 1b" to jump to the previous label "1".
It must be replaced by "bne- $N", N being the memory offset between
the current instruction and the targeted label.