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

--- Comment #4 from Li Pan <pan2.li at intel dot com> ---
I can reproduce this.

└─(07:29:53 on master⚑ ✭)──>
QEMU_CPU=rv64,vlen=128,rvv_ta_all_1s=true,rvv_ma_all_1s=true,v=true,vext_spec=v1.0
~/bin/qemu/bin/qemu-riscv64 test.elf                                           
                                                             ──(Fri,Nov15)─┘
0                                                                              
                                                                               
                                                                               
                       
/0.2s┌─(~/gcc/444/riscv-gnu-toolchain/gcc)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(pli@panli:pts/5)─┐
└─(07:30:10 on master⚑ ✭)──>
QEMU_CPU=rv64,vlen=256,rvv_ta_all_1s=true,rvv_ma_all_1s=true,v=true,vext_spec=v1.0
~/bin/qemu/bin/qemu-riscv64 test.elf                                           
                                                             ──(Fri,Nov15)─┘
72 

I also have a vlen=256 dev-board and got the same value (72) as qemu. All above
are built with  -Ofast -ffast-math.

Reply via email to