This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33102] volatile excessively suppresses optimizations in range checks
- From: "paulmck at linux dot vnet dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2007 01:21:26 -0000
- Subject: [Bug middle-end/33102] volatile excessively suppresses optimizations in range checks
- References: <bug-33102-14989@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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