Optimisations and undefined behaviour
Vincent Lefevre
vincent+gcc@vinc17.org
Sat Nov 7 22:28:00 GMT 2015
On 2015-11-07 14:00:31 +0100, Markus Trippelsdorf wrote:
> You could annotate the test with __builtin_expect() and see if it helps.
This would be useless because I'm already using profiling.
Now, I haven't done tests yet to see how much the test costs
(I found that division by 0 was possible in my code quite recently...
thanks to the trap).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Gcc-help
mailing list