Re: [PATCH], V4, patch #9 [part of patch #4.2], Add prefixed address offset checks

2019-10-10 Thread Segher Boessenkool
On Wed, Oct 09, 2019 at 07:40:23PM -0400, Michael Meissner wrote: > On Wed, Oct 09, 2019 at 04:56:48PM -0500, Segher Boessenkool wrote: > > On Fri, Oct 04, 2019 at 08:29:11AM -0400, Michael Meissner wrote: > > > @@ -8651,6 +8675,11 @@ rs6000_legitimate_address_p (machine_mod > > >&&

Re: [PATCH], V4, patch #9 [part of patch #4.2], Add prefixed address offset checks

2019-10-09 Thread Michael Meissner
On Wed, Oct 09, 2019 at 04:56:48PM -0500, Segher Boessenkool wrote: > Hi! > > On Fri, Oct 04, 2019 at 08:29:11AM -0400, Michael Meissner wrote: > > @@ -8651,6 +8675,11 @@ rs6000_legitimate_address_p (machine_mod > >&& mode_supports_pre_incdec_p (mode) > >&&

Re: [PATCH], V4, patch #9 [part of patch #4.2], Add prefixed address offset checks

2019-10-09 Thread Michael Meissner
On Wed, Oct 09, 2019 at 04:56:48PM -0500, Segher Boessenkool wrote: > Hi! > > On Fri, Oct 04, 2019 at 08:29:11AM -0400, Michael Meissner wrote: > > @@ -8651,6 +8675,11 @@ rs6000_legitimate_address_p (machine_mod > >&& mode_supports_pre_incdec_p (mode) > >&&

Re: [PATCH], V4, patch #9 [part of patch #4.2], Add prefixed address offset checks

2019-10-09 Thread Segher Boessenkool
Hi! On Fri, Oct 04, 2019 at 08:29:11AM -0400, Michael Meissner wrote: > @@ -8651,6 +8675,11 @@ rs6000_legitimate_address_p (machine_mod >&& mode_supports_pre_incdec_p (mode) >&& legitimate_indirect_address_p (XEXP (x, 0), reg_ok_strict)) > return 1; > + > + /* Handle

[PATCH], V4, patch #9 [part of patch #4.2], Add prefixed address offset checks

2019-10-04 Thread Michael Meissner
I was asked to split V4 patch #4.2 into smaller chuncks. This patch is one of 8 patches that were broken out from 4.2. Another patch from 4.2 to use SIGNED_16BIT_OFFSET_EXTRA_P has already been committed. This patch adds checks in the various places that check whether an offset is valid to