How can I create a const rtx other than 0, 1, 2
Meissner, Michael
michael.meissner@amd.com
Fri Jul 22 16:30:00 GMT 2005
Use the GEN_INT macro to create an appropriate (const_int <number>) RTL:
operand[1] = GEN_INT (111);
-----Original Message-----
From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] 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
More information about the Gcc
mailing list