A simple patch adding `MO_TE` to 3 instructions under `/target/riscv/insn_trans/trans_rvzce.c.inc` fixes the bug (for the minimal reproducer at least). It is available in the following ppa: https://launchpad.net/~vhaudiquet/+archive/ubuntu/qemu-fix-lp2123828/+packages
I will keep checking to see if the flag is missing from other instructions :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2123828 Title: RISC-V: incorrect emulation of load and store on big-endian systems To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/2123828/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
