Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-20 Thread Mike Stump
> On Apr 20, 2016, at 6:55 AM, Bill Schmidt wrote: > Looking into this a bit more reminded me why things are the way they > are. The AltiVec interfaces were designed way back to be overloaded > functions, which isn't valid C99. Thus they can't be declared in > headers without some magic. And f

Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-20 Thread Bill Schmidt
On Tue, 2016-04-19 at 08:10 -0500, Bill Schmidt wrote: > On Tue, 2016-04-19 at 10:09 +0200, Richard Biener wrote: > > > > x86 nowadays has intrinsics implemented as inlines - they come from > > header files. It seems for ppc the intrinsics are somehow magically > > there, w/o a header file? > >

Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-20 Thread Richard Biener
On Tue, Apr 19, 2016 at 10:27 PM, Bill Schmidt wrote: > On Tue, 2016-04-19 at 10:09 +0200, Richard Biener wrote: >> On Tue, Apr 19, 2016 at 12:05 AM, Bill Schmidt >> wrote: >> > Hi, >> > >> > Expanding built-ins in the usual way (leaving them as calls until >> > expanding into RTL) restricts the

Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-19 Thread Bill Schmidt
On Tue, 2016-04-19 at 10:09 +0200, Richard Biener wrote: > On Tue, Apr 19, 2016 at 12:05 AM, Bill Schmidt > wrote: > > Hi, > > > > Expanding built-ins in the usual way (leaving them as calls until > > expanding into RTL) restricts the amount of optimization that can be > > performed on the code re

Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-19 Thread Bill Schmidt
On Tue, 2016-04-19 at 10:09 +0200, Richard Biener wrote: > On Tue, Apr 19, 2016 at 12:05 AM, Bill Schmidt > wrote: > > Hi, > > > > Expanding built-ins in the usual way (leaving them as calls until > > expanding into RTL) restricts the amount of optimization that can be > > performed on the code re

Re: [PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-19 Thread Richard Biener
On Tue, Apr 19, 2016 at 12:05 AM, Bill Schmidt wrote: > Hi, > > Expanding built-ins in the usual way (leaving them as calls until > expanding into RTL) restricts the amount of optimization that can be > performed on the code represented by the built-ins. This has been > observed to be particularl

[PATCH, rs6000] Expand vec_ld and vec_st during parsing to improve performance

2016-04-18 Thread Bill Schmidt
Hi, Expanding built-ins in the usual way (leaving them as calls until expanding into RTL) restricts the amount of optimization that can be performed on the code represented by the built-ins. This has been observed to be particularly bad for the vec_ld and vec_st built-ins on PowerPC, which repres