Hi,

Please find attached the patch "smin.patch" which fixes the issue for
unsigned values with "min" instruction. 
Currently, unsigned values greater than QI mode are converted into
signed values and hence generates wrong value.
The patch fixes the issue. 

Tested with rx-elf. No new regressions.
        
ChangeLog
2012-04-05  Naveen H.S  <navee...@kpitcummins.com>

        * config/rx/rx.md (umin<small_int_modes:mode>3): Allow const int
        values in HImode.

Thanks & Regards,
Naveen

Attachment: smin.patch
Description: smin.patch

Reply via email to