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: Help restricting args of an intrinsic function



On Jan 30, 2004, at 5:38 PM, Ian Lance Taylor wrote:


Syd Polk <spolk@apple.com> writes:

However, for my problem-child argument, it has the following rtl:

(gdb) p op
$2 = 0x77ed2c
(gdb) pr
(mem/u/f:SI (plus:SI (reg/f:SI 114 virtual-stack-vars)
         (const_int 24 [0x18])) [0 shift+0 S4 A32])
(gdb)

How do I collapse it down to a const_int?

You use a constraint of 'n'.


Of course, you might get the fatal insn not recognized error, which is
pretty non-ideal as error messages go.  Hmmm.

Of course, now I am getting this for the correct test case that I am working on. Sigh. Maybe I will have better luck next week.


Syd Polk
Apple Computer
Technology EPM, Mac OS X Development Tools
+1 408 974-0577


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