How to get signedness from rtx?
Eric Botcazou
ebotcazou@libertysurf.fr
Sat Jul 5 11:16:00 GMT 2008
> Ok, my problem is that for some processing during comparison i need
> to know whether is the char operand is signed or unsigned. So i guess
> i can get this looking at what type of comparison is. But if the
> comparison code is EQ or NE will i be able to get the information?
If the signedness doesn't matter for the operation, it won't generally be
encoded in the operator. But, in this case, further processing of the
operation shouldn't have to care about signedness, since at some point it
didn't matter. On the other hand, if you're talking about the initial
processing (i.e. during RTL expansion), the information is encoded in the
trees fed to the expander.
--
Eric Botcazou
More information about the Gcc
mailing list