Re: [PATCH, rs6000] Add __builtin_speculation_barrier

2018-01-11 Thread Bill Schmidt
On Jan 11, 2018, at 11:16 AM, Richard Biener wrote: > > On January 11, 2018 6:14:34 PM GMT+01:00, Segher Boessenkool > wrote: >> On Thu, Jan 11, 2018 at 10:25:25AM -0600, Bill Schmidt wrote: >>> This patch adds a pattern for "ori 31,31,0"

Re: [PATCH, rs6000] Add __builtin_speculation_barrier

2018-01-11 Thread Richard Biener
On January 11, 2018 6:14:34 PM GMT+01:00, Segher Boessenkool wrote: >On Thu, Jan 11, 2018 at 10:25:25AM -0600, Bill Schmidt wrote: >> This patch adds a pattern for "ori 31,31,0" as a speculation barrier, >and >> an associated built-in function. This is currently

Re: [PATCH, rs6000] Add __builtin_speculation_barrier

2018-01-11 Thread Segher Boessenkool
On Thu, Jan 11, 2018 at 10:25:25AM -0600, Bill Schmidt wrote: > This patch adds a pattern for "ori 31,31,0" as a speculation barrier, and > an associated built-in function. This is currently restricted to Power7 > and later. Documentation and test included. > > Bootstrapped and tested on

[PATCH, rs6000] Add __builtin_speculation_barrier

2018-01-11 Thread Bill Schmidt
Hi, This patch adds a pattern for "ori 31,31,0" as a speculation barrier, and an associated built-in function. This is currently restricted to Power7 and later. Documentation and test included. Bootstrapped and tested on powerpc64le-linux-gnu with no regressions. Is this okay for trunk?