constraining index register

Paul Edwards mutazilah@gmail.com
Thu Oct 14 13:24:01 GMT 2021


Hi.

In certain places, the i370 target of GCC 3.2.3 will use a
base + index + displacement operand.

How can I add a constraint to say that the index must be
between 0 and 0x7fffffff?

I want to stop 0xffffffff from being generated when I have:

char *p

p[-1];

Thanks. Paul.

-- 
This email has been checked for viruses by AVG.
https://www.avg.com


More information about the Gcc mailing list