Re: [PATCH, rs6000] Fix source operand contraints for tabort. pattern

2015-08-03 Thread Peter Bergner
On Mon, 2015-08-03 at 16:27 -0400, David Edelsohn wrote: > On Mon, Aug 3, 2015 at 3:39 PM, Peter Bergner wrote: > > This has passed bootstrapping and regtesting on trunk. Ok for mainline? > > > > I'd like to also backport this to the release branches. Is this ok for > > them once bootstrapping a

Re: [PATCH, rs6000] Fix source operand contraints for tabort. pattern

2015-08-03 Thread David Edelsohn
On Mon, Aug 3, 2015 at 3:39 PM, Peter Bergner wrote: > This patch fixes an oversight in the tabort. pattern (only generated via > the __builtin_tabort (cause) builtin), which currently allows using r0. > The problem is that if r0 is used, the "cause" argument value passed in > by the user will be

[PATCH, rs6000] Fix source operand contraints for tabort. pattern

2015-08-03 Thread Peter Bergner
This patch fixes an oversight in the tabort. pattern (only generated via the __builtin_tabort (cause) builtin), which currently allows using r0. The problem is that if r0 is used, the "cause" argument value passed in by the user will be ignored, since using r0 means the value zero and not the conte