Skip to content

Commit

Permalink
target/mips: Fix TX79 LQ/SQ opcodes
Browse files Browse the repository at this point in the history
The base register address offset is *signed*.

Cc: qemu-stable@nongnu.org
Fixes: aaaa82a ("target/mips/tx79: Introduce LQ opcode (Load Quadword)")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914090447.12557-1-philmd@linaro.org>
  • Loading branch information
philmd committed Nov 7, 2023
1 parent 04591b3 commit 18f86ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/mips/tcg/tx79.decode
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@rs ...... rs:5 ..... .......... ...... &r sa=0 rt=0 rd=0
@rd ...... .......... rd:5 ..... ...... &r sa=0 rs=0 rt=0

@ldst ...... base:5 rt:5 offset:16 &i
@ldst ...... base:5 rt:5 offset:s16 &i

###########################################################################

Expand Down

0 comments on commit 18f86ae

Please sign in to comment.