Re: [PATCH], Fix PowerPC ISA 3.0 word extract/insert thinkos

2016-12-27 Thread Michael Meissner
On Fri, Dec 23, 2016 at 04:34:10PM -0600, Segher Boessenkool wrote: > On Fri, Dec 23, 2016 at 04:47:22PM -0500, Michael Meissner wrote: > > I had two thinkos in my previous patches for ISA 3.0 (power9) support that > > both > > relate to word extraction and insertion. > > > > The first thinko was

Re: [PATCH], Fix PowerPC ISA 3.0 word extract/insert thinkos

2016-12-23 Thread Segher Boessenkool
On Fri, Dec 23, 2016 at 04:47:22PM -0500, Michael Meissner wrote: > I had two thinkos in my previous patches for ISA 3.0 (power9) support that > both > relate to word extraction and insertion. > > The first thinko was that I thought the index for the first byte in the 4 > bytes > to be extracted

[PATCH], Fix PowerPC ISA 3.0 word extract/insert thinkos

2016-12-23 Thread Michael Meissner
I had two thinkos in my previous patches for ISA 3.0 (power9) support that both relate to word extraction and insertion. The first thinko was that I thought the index for the first byte in the 4 bytes to be extracted should be 0..11, when it should be 0..12. If it isn't allowed to be 12, you cann