Re: simplify_relational_operation and unsigned char

2009-10-29 Thread Dave Korn
Amir Gonnen wrote: > Perhaps EQ and NE could be treated as unsigned, like the > GEU,LEU,GTU,LTU operators? :) What exactly is "signed equality" and how does/would it differ from "unsigned equality"? I'm not sure the concept makes any sense! (And that's always a warning sign that your diagnosi

Re: simplify_relational_operation and unsigned char

2009-10-29 Thread Richard Henderson
On 10/29/2009 03:35 AM, Amir Gonnen wrote: rtx test = simplify_relational_operation(EQ, VOIDmode, QImode, reg, GEN_INT(129)); CONST_INT is always signed. If you really wrote this as you quote here, that would be the breakage. Try gen_int_mode (129, QImode) instead. r~