Re: [PATCH] rs6000: Add eI constraint for 34-bit constants

2019-05-29 Thread Segher Boessenkool
Hi! On Wed, May 29, 2019 at 01:08:28PM -0500, Bill Schmidt wrote: > +/* Whether a given VALUE is a valid 16- or 34-bit signed offset. EXTRA is > the > + amount that we can't touch at the high end of the range (typically if the > + address is split into smaller addresses, the extra covers the

[PATCH] rs6000: Add eI constraint for 34-bit constants

2019-05-29 Thread Bill Schmidt
Hi, This short patch introduces the eI constraint. It also adds the SIGNED_16BIT_OFFSET_P convenience macro that will be used in subsequent patches. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is this okay for trunk? Thanks, Bill 2019-05-29 Bill Schmidt