This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/22072] bizarre code for int*int/2


------- Additional Comments From falk at debian dot org  2005-06-15 11:43 -------
(In reply to comment #0)

> Why are the two instructions after the imull emitted?  Shouldn't this become
> simply imull and sarl?

No. A signed division by two is not a shift.

The complaint about $2 not propagating seems valid though. Maybe somebody
can try 4.x on it.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]