[Bug rtl-optimization/336] Superfluous instructions generated from bit-field operations
roger at eyesopen dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 20 00:34:00 GMT 2005
------- Additional Comments From roger at eyesopen dot com 2005-02-19 19:56 -------
This bug has now been fixed for gcc 4.0. For the testcase attached to the PR,
mainline now generates the following code on sparc-sun-solaris2.8 with -O2:
fun: ld [%sp+64], %o5
sll %o0, 2, %g1
mov %o5, %o0
or %g1, 2, %g1
jmp %o7+12
st %g1, [%o5]
i.e. we've now eliminated the unnecessary "and" and "or" instructions, that
were present in 2.95.2 (and still present in 3.4.3).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=336
More information about the Gcc-bugs
mailing list