-
Notifications
You must be signed in to change notification settings - Fork 61
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
Have you tried juggling those flags? #44
Comments
Interesting! I did not know about this. |
I should add that the register-memory form of bt is exceedingly slow compared to the register-register version. Took forever to track down that bottleneck |
Unfortunately gcc isn't always being clever.
compiles to (AT&T notation):
If I return 1 instead, the setc and movzbl instructions are replaced with "movl $1, %eax". |
Do you have a bool type? I suppose gcc is getting confused by booleans |
Did you see https://developers.redhat.com/blog/2016/02/25/new-asm-flags-feature-for-x86-in-gcc-6/ ?
If I had known about this earlier, I might not have tried to write asmfish in asm. It really does work, and I have tried it myself for overflow https://github.com/tthsqe12/cas/blob/master/types.h#L182
The text was updated successfully, but these errors were encountered: