This is the mail archive of the gcc-patches@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]

Re: [Patch, AVR]: Fix PR39633 (missing *cmpqi)


2011/7/11 Georg-Johann Lay <avr@gjlay.de>:
> char >> 7 is compiled to
>
> LSL reg
> SBC reg,reg
>
> which leaves cc0 in a mess because Z-flag is not set by SBC, it's
> propagated from LSL.
>
> Patch as obvious, new testcase pass and contains *cmpqi.
>
> Ok to commit?
>

Please, commit.

Denis.


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