public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* constraining index register
@ 2021-10-14 13:24 Paul Edwards
  0 siblings, 0 replies; only message in thread
From: Paul Edwards @ 2021-10-14 13:24 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-14 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 13:24 constraining index register Paul Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).