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/Ulw_extension fails #636

Closed qjivy closed 2 years ago

qjivy commented 2 years ago

cmd line:


out/riscv32.debug$ ./cctest test-macro-assembler-riscv32/Ulw_extension

error log:


#
# Fatal error in ../../test/cctest/test-macro-assembler-riscv32.cc, line 856
# Check failed: value == run_Unaligned(buffer_middle, in_offset, out_offset, value, fn) (4294967295 vs. 0).
#
#
#
#FailureMessage Object: 0xffb200c8
==== C stack trace ===============================

    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(v8::base::debug::StackTrace::StackTrace()+0x2c) [0xf7fb092c]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libplatform.so(+0x515fe) [0xf7efd5fe]
    /work/qjivy/rv32v8/another/v8/out/riscv32.debug/libv8_libbase.so(V8_Fatal(char const*, int, char const*, ...)+0x134) [0xf7f76294]
    ./cctest(+0x1a7d763) [0x5803b763]
    ./cctest(CcTest::Run(char const*)+0x577) [0x573e22d7]
    ./cctest(main+0x501) [0x573e3fd1]
    /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf1151fa1]
    ./cctest(_start+0x31) [0x573e1a11]
Trace/breakpoint trap
qjivy commented 2 years ago

Just remove it due to 32bit ISA hasn't this instruction.