http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34653
--- Comment #9 from Tony Poppleton 2013-04-10
02:01:27 UTC ---
GCC 4.8.0 with -O2 produces something similar to the original, so the
regression noted in comment #7 and comment #8 is now resolved.
movzbl (%rdi), %eax
shr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34653
Tony Poppleton changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
--- Comment #7 from ubizjak at gmail dot com 2009-10-03 12:48 ---
We regressed on the example from comment #1.
gcc-4.3 with -O2 generates:
foo:
movzbl (%rdi), %edx
movq%rdx, %rax
shrq$4, %rdx
andl$15, %eax
movqtable(,%rax,8), %ra
--- Comment #6 from bonzini at gnu dot org 2009-09-24 06:06 ---
Not a dup, since this is about shortening the mode, rather than about
eliminating zero extensions.
--
bonzini at gnu dot org changed:
What|Removed |Added
--