id = 2730 title = "riscv Calculation error!" state = "opened" created_at = "2024-12-19T10:43:08.727Z" closed_at = "n/a" labels = ["target: riscv"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2730" host-os = "n/a" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = "n/a" reproduce = """The following command will produce an error output ```asm \tlui s0, 0x80000 \tlw a1, -48(s0) ``` The value of a1 becomes 0xffffffff ![qemu-error](/uploads/76a580b5b9acf1f8aea90880ed8deb9e/qemu-error.gif)""" additional = "n/a"