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 target/36503] x86 can use x >> -y for x >> 32-y



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-06-12 00:05 -------
>I'd guess this applies to some other architectures; 

Not really.  It depends on the definition of the shift.  Most targets have
undefined values are produced from negative shifts values.


-- 


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


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