https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106565

--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Aug 09, 2022 at 05:51:51PM +0000, sgk at troutmask dot
apl.washington.edu wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106565
> 
> --- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
> On Tue, Aug 09, 2022 at 05:14:16PM +0000, quanhua.liu at noaa dot gov wrote:
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106565
> > 
> > --- Comment #4 from Quanhua Liu <quanhua.liu at noaa dot gov> ---
> > Using 
> > gfortran -O3 -fexternal-blas -L/..... -lblas testmatrixCal.f90
> 
> Which BLAS are you using?  If you are using BLAS from
> Netlib, then of course you'll likely get poor results
> as the Netlib BLAS is not tuned. 
> 

Even netlib blas is ok.

 gfcx -o z -O3 -march=native a.f90 -fexternal-blas -lblas -fdump-tree-optimized
&& ./z
   1.41149306       1615.08020    
   1.50036991       1615.08020

Reply via email to