riscv-collab / v8

Port of Google v8 engine to RISC-V.
https://github.com/v8-riscv/v8/wiki
Other
237 stars 31 forks source link

cctest test-macro-assembler-riscv32/macro_float_minmax_f32(64) fails on native test mode #668

Closed qjivy closed 2 years ago

qjivy commented 2 years ago

cmd line:

./out/riscv32.native.release/cctest test-macro-assembler-riscv32/macro_float_minmax_f32 --random-seed=1418596419 --nohard-abort --testing-d8-test-runner
./out/riscv32.native.release/cctest test-macro-assembler-riscv32/macro_float_minmax_f64 --random-seed=1418596419 --nohard-abort --testing-d8-test-runner
luyahan commented 2 years ago

test-macro-assembler-riscv32/macro_float_minmax_f32 run test in debug pass

luyahan commented 2 years ago

use clang 15.0.0 build pass

luyahan commented 2 years ago

f64:

截屏2022-06-17 10 37 25

0x40ac92bc <Testmacro_float_minmax_f64()+484> sw zero,-168(s0) │ │ 0x40ac92c0 <Testmacro_float_minmax_f64()+488> sw zero,-164(s0) │ │ >0x40ac92c4 <Testmacro_float_minmax_f64()+492> fsd fs0,-160(s0)

fs0 don't been initialized correctly

luyahan commented 2 years ago

clang

截屏2022-06-17 10 43 15