This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24696] missing optimization in comparison of results of bit operations
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2005 17:14:59 -0000
- Subject: [Bug tree-optimization/24696] missing optimization in comparison of results of bit operations
- References: <bug-24696-700@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-06 17:14 -------
The mainline gives:
f:
.LFB2:
decq %rdx
movl $1, %eax
testq %rdi, %rdx
jne .L4
xorl %eax, %eax
testq %rsi, %rdx
setne %al
.L4:
rep ; ret
This is because of the improved PHI-OPT which I added but this is still not
fully optimized.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |missed-optimization
Last reconfirmed|0000-00-00 00:00:00 |2005-11-06 17:14:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24696