diff options
author | Philippe Mathieu-Daudé | 2021-02-13 14:40:18 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-07-11 22:29:54 +0200 |
commit | 709324dc05a17755d43c315e43a8ec9da04fc37b (patch) | |
tree | 1df3e7cd6212abbad05dc8cfe60966deae922972 /target/mips/tcg/tx79.decode | |
parent | target/mips/tx79: Introduce PAND/POR/PXOR/PNOR opcodes (parallel logic) (diff) | |
download | qemu-709324dc05a17755d43c315e43a8ec9da04fc37b.tar.gz qemu-709324dc05a17755d43c315e43a8ec9da04fc37b.tar.xz qemu-709324dc05a17755d43c315e43a8ec9da04fc37b.zip |
target/mips/tx79: Introduce PSUB* opcodes (Parallel Subtract)
Introduce the 'Parallel Subtract' opcodes:
- PSUBB (Parallel Subtract Byte)
- PSUBH (Parallel Subtract Halfword)
- PSUBW (Parallel Subtract Word)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <820210309145653.743937-11-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/tx79.decode')
-rw-r--r-- | target/mips/tcg/tx79.decode | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/mips/tcg/tx79.decode b/target/mips/tcg/tx79.decode index 26c80b9bce..d1c07c7d90 100644 --- a/target/mips/tcg/tx79.decode +++ b/target/mips/tcg/tx79.decode @@ -29,6 +29,12 @@ MTHI1 011100 ..... 0000000000 00000 010001 @rs MFLO1 011100 0000000000 ..... 00000 010010 @rd MTLO1 011100 ..... 0000000000 00000 010011 @rs +# MMI0 + +PSUBW 011100 ..... ..... ..... 00001 001000 @rs_rt_rd +PSUBH 011100 ..... ..... ..... 00101 001000 @rs_rt_rd +PSUBB 011100 ..... ..... ..... 01001 001000 @rs_rt_rd + # MMI2 PCPYLD 011100 ..... ..... ..... 01110 001001 @rs_rt_rd |