|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to get signedness from rtx?
Hello all,
Is there a way to know whether an operand is signed or unsigned from its rtx? Regards, Shafi |
|
#2
|
|||
|
|||
|
How to get signedness from rtx?
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). -- Eric Botcazou |
|
#3
|
|||
|
|||
|
How to get signedness from rtx?
, 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. 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 |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Development > How to get signedness from rtx? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|