This is the mail archive of the gcc@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: How to get signedness from rtx?


2008/7/5 Eric Botcazou <ebotcazou@libertysurf.fr>:
>> Is there a way to know whether an operand is signed or unsigned from its
>> rtx?
>
> Basically no, this information is not encoded in the operand, rather in the
> operator (if it matters).
>
> --
   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?

Shafi


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