Closed gagachang closed 2 years ago
Refer to RISC-V specification: "The RISC-V Instruction Set Manual Volume I: Unprivileged ISA", Section 8.4:
For RV64, 32-bit AMOs always sign-extend the value placed in rd.
And the recent test result of riscv-tests becomes:
Pass: rv64ua_p_amoadd_w Pass: rv64ua_p_amoswap_w ======================= Test result: 55/71 =======================
Thank @gagachang for contributing!
Refer to RISC-V specification: "The RISC-V Instruction Set Manual Volume I: Unprivileged ISA", Section 8.4:
And the recent test result of riscv-tests becomes: