Re: [PATCH, doc] describe mode checking for doloop_end pattern

2018-10-16 Thread Sandra Loosemore
On 10/11/2018 09:20 AM, Paul Koning wrote: Since the code that uses the doloop_end pattern does not check the operand mode as given in the pattern, the pattern itself may need to do this, and that was not documented. This patch adds that information. It also updates the example to reflect

Re: [PATCH, doc] describe mode checking for doloop_end pattern

2018-10-12 Thread Paul Koning
> On Oct 11, 2018, at 11:01 PM, Jeff Law wrote: > > On 10/11/18 3:09 PM, Paul Koning wrote: >> Updated with an additional item I just debugged. >> >> Since the code that uses the doloop_end pattern does not check the operand >> mode as given in the pattern, the pattern itself may need to do

Re: [PATCH, doc] describe mode checking for doloop_end pattern

2018-10-11 Thread Jeff Law
On 10/11/18 3:09 PM, Paul Koning wrote: > Updated with an additional item I just debugged. > > Since the code that uses the doloop_end pattern does not check the operand > mode as given in the pattern, the pattern itself may need to do this, and > that was not documented. In addition, if the

[PATCH, doc] describe mode checking for doloop_end pattern

2018-10-11 Thread Paul Koning
Updated with an additional item I just debugged. Since the code that uses the doloop_end pattern does not check the operand mode as given in the pattern, the pattern itself may need to do this, and that was not documented. In addition, if the doloop_end pattern is a define_expand, there must

[PATCH, doc] describe mode checking for doloop_end pattern

2018-10-11 Thread Paul Koning
Since the code that uses the doloop_end pattern does not check the operand mode as given in the pattern, the pattern itself may need to do this, and that was not documented. This patch adds that information. It also updates the example to reflect this. Ok for trunk? paul ChangeLog: