This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40170] redundant zero extensions
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2009 19:47:41 -0000
- Subject: [Bug target/40170] redundant zero extensions
- References: <bug-40170-17273@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-17 19:47 -------
byte >>= bit;
is according to C
byte = (int)byte >> bit;
you see the (partly redundant) zero-extensions. It has nothing to do with
partial register stalls.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|trivial |normal
GCC build triplet|core2 |
GCC host triplet|linux |
Keywords| |missed-optimization
Summary|multiple movzx instructions |redundant zero extensions
|generated when no partial |
|register stall is evident |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40170