Re: Can I use -Ofast without libmvec

2018-03-23 Thread Richard Biener
On Thu, Mar 22, 2018 at 7:47 PM, Jakub Jelinek wrote: > On Thu, Mar 22, 2018 at 11:08:58AM -0700, Steve Ellcey wrote: >> I have a question about the math vector library routines in libmvec. >> If I compile a program on x86 with -Ofast, something like: >> >> void foo(double * __restrict x, double *

Re: Can I use -Ofast without libmvec

2018-03-22 Thread Jakub Jelinek
On Thu, Mar 22, 2018 at 11:08:58AM -0700, Steve Ellcey wrote: > I have a question about the math vector library routines in libmvec. > If I compile a program on x86 with -Ofast, something like: > > void foo(double * __restrict x, double * __restrict y, double * __restrict z) > { > for (int i

Re: Can I use -Ofast without libmvec

2018-03-22 Thread Andrew Senkevich
2018-03-22 19:08 GMT+01:00 Steve Ellcey : > I have a question about the math vector library routines in libmvec. > If I compile a program on x86 with -Ofast, something like: > > void foo(double * __restrict x, double * __restrict y, double * __restrict z) > { > for (int i = 0; i < 1000; i++

Re: Can I use -Ofast without libmvec

2018-03-22 Thread Richard Biener
On March 22, 2018 7:48:33 PM GMT+01:00, Steve Ellcey wrote: >On Thu, 2018-03-22 at 11:42 -0700, H.J. Lu wrote: >> On Thu, Mar 22, 2018 at 11:08 AM, Steve Ellcey >> wrote: >> > >> > I have a question about the math vector library routines in >> > libmvec. >> > If I compile a program on x86 with -

Re: Can I use -Ofast without libmvec

2018-03-22 Thread Steve Ellcey
On Thu, 2018-03-22 at 11:42 -0700, H.J. Lu wrote: > On Thu, Mar 22, 2018 at 11:08 AM, Steve Ellcey > wrote: > > > > I have a question about the math vector library routines in > > libmvec. > > If I compile a program on x86 with -Ofast, something like: > > > > void foo(double * __restrict x, doub

Re: Can I use -Ofast without libmvec

2018-03-22 Thread H.J. Lu
On Thu, Mar 22, 2018 at 11:08 AM, Steve Ellcey wrote: > I have a question about the math vector library routines in libmvec. > If I compile a program on x86 with -Ofast, something like: > > void foo(double * __restrict x, double * __restrict y, double * __restrict z) > { > for (int i = 0;