Use the GEN_INT macro to create an appropriate (const_int <number>) RTL:

        operand[1] = GEN_INT (111);

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Liu Haibin
Sent: Friday, July 22, 2005 3:23 AM
To: gcc@gcc.gnu.org
Subject: How can I create a const rtx other than 0, 1, 2

Hi,

There's const0_rtx, const1_rtx and const2_rtx. How can I create a
const rtx other than 0, 1, 2? I want to use it in md file, like

operand[1] = 111.

I know I must use const rtx here. How can I do it? A simple question,
but just no idea where to find the answer.


Regards,
Timothy


Reply via email to