I was wondering if there's a way to disable predication in gcc/g++. When I get the object dump of my code, I don't want there to be any CMOV, CCMP, etc instructions in it.
I have gone through the gcc man page without any success. So far the only way ahead seems to be hacking into gcc itself. Using gcc 4.3 on RHEL x86_64 machine. Any ideas?
Thanks in advance.
I ran into that problem before and in my case the solution was to disable if-conversion. You can use the compilation flags:
-fno-if-conversion -fno-if-conversion2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With