This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help restricting args of an intrinsic function
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.
Ian