[Bug middle-end/33102] volatile excessively suppresses optimizations in range checks
paulmck at linux dot vnet dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 18 01:21:00 GMT 2007
------- Comment #11 from paulmck at linux dot vnet dot ibm dot com 2007-08-18 01:21 -------
(In reply to comment #10)
> Actually as I understand it, the expanded version is slightly faster under
> newer x86's anyways as they don't have an extra decode stage.
The main concern on the recent LKML thread appeared to be code size rather than
speed.
That said, if you are correct, it certainly wouldn't be the first time that
multiple instructions turned out to be cheaper than a single instruction.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33102
More information about the Gcc-bugs
mailing list