mode of CONST_INT
Rajiv KI
rajivkumarsingla@gmx.com
Mon Mar 22 08:06:00 GMT 2010
Ian Lance Taylor-3 wrote:
>
> Rajiv KI <rajivkumarsingla@gmx.com> writes:
>
>> Mode of RTL expression 'CONST_INT' is VOIDmode. Is there any way i can
>> make
>> its mode to SImode or any other mode even.
>>
>> I have tried PUT_MODE macro.As CONST_INT has only one operand as 'w'
>> (wide
>> integer).I think due to that It was not effective.
>>
>> Please help me in resolving this.
>
> By definition CONST_INT rtxes have no mode. They take on whatever
> mode the context requires. This is indeed awkward in some cases, and
> sometimes requires maintaining the mode separately.
>
> Ian
>
>
Hi,
Ya its really not fine that it takes whatever mode.
Please tell is there any way in gcc by which i can separately maintain mode
of 'CONST_INT' RTX.
Rajiv.
--
View this message in context: http://old.nabble.com/mode-of-CONST_INT-tp27945040p27982352.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list