https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113570
Bug ID: 113570 Summary: RISC-V: SPEC2017 549 fotonik3d miscompilation in autovec VLS 256 build Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vineetg at gcc dot gnu.org CC: juzhe.zhong at rivai dot ai, kito.cheng at gmail dot com, law at gcc dot gnu.org, palmer at dabbelt dot com, patrick at rivosinc dot com, rdapp at gcc dot gnu.org Target Milestone: --- fotonik3d runs to completion BUT output results fail vs. reference output. specperl specdiff -m -l 10 --abstol 1e-27 --reltol 1e-10 --obiwan --floatcompare benchspec/CPU/549.fotonik3d_r/data/refrate/output/pscyee.out pscyee.out 0646: -1.91273086037953E-17, -1.46491401919706E-15, -1.91273086057460E-17, -1.46491401919687E-15, ^ 0668: -1.91251317582607E-17, -1.42348205527085E-15, -1.91251317602571E-17, -1.42348205527068E-15, ^ 0690: -1.91228927083786E-17, -1.38431570180230E-15, -1.91228927104223E-17, -1.38431570180212E-15, ^ 0712: -1.91205914533895E-17, -1.34723370999236E-15, -1.91205914554988E-17, -1.34723370999214E-15, ^ 0734: -1.91182279925531E-17, -1.31207366208699E-15, -1.91182279947287E-17, -1.31207366208678E-15, ^ 0756: -1.91158023250692E-17, -1.27868958770083E-15, -1.91158023272966E-17, -1.27868958770060E-15, ^ 0778: -1.91133144501623E-17, -1.24694993327743E-15, -1.91133144524329E-17, -1.24694993327713E-15, ^ 0800: -1.91107643669701E-17, -1.21673582512221E-15, -1.91107643693121E-17, -1.21673582512195E-15, ^ 0822: -1.91081520746626E-17, -1.18793957765398E-15, -1.91081520769832E-17, -1.18793957765367E-15, ^ 0844: -1.91054775723835E-17, -1.16046340741478E-15, -1.91054775748087E-17, -1.16046340741452E-15, ^ Build flags: -Ofast -fno-lto -static -march=rv64gcv_zvl256b_zba_zbb_zbs_zicond -ftree-vectorize --param=riscv-autovec-preference=scalable -fallow-argument-mismatch -fmax-stack-var-size=65536 QEMU_CPU=rv64,v=true,vlen=256,vext_spec=v1.0,Zve32f=true,Zve64f=true,zba=true,zbb=true,zbs=true,zicond=true