[Bug tree-optimization/19778] Unnecessary jumps for comparisons

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Fri May 20 07:43:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-05-20 07:43 -------
It's slightly improved now on mainline, but still an unneccesary branch:

le1_bit: lda     v0,1
	 lda     t0,-1(a0)
	 beq     a0,L1
	 and     a0,t0,t0
	 cmpeq   t0,0,v0
L1:	 ret

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19778



More information about the Gcc-bugs mailing list