diff options
author | Philippe Mathieu-Daudé | 2021-07-28 13:25:53 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-08-25 13:02:14 +0200 |
commit | a5e2932068f1b09fa3be3b79a88f935b6e9620c3 (patch) | |
tree | 5dfa3f319e9077b03550aea011df5c3c2d7c07bb /target/mips/tcg/vr54xx.decode | |
parent | target/mips: Convert Vr54xx MACC* opcodes to decodetree (diff) | |
download | qemu-a5e2932068f1b09fa3be3b79a88f935b6e9620c3.tar.gz qemu-a5e2932068f1b09fa3be3b79a88f935b6e9620c3.tar.xz qemu-a5e2932068f1b09fa3be3b79a88f935b6e9620c3.zip |
target/mips: Convert Vr54xx MUL* opcodes to decodetree
Convert the following Integer Multiply-Accumulate opcodes:
* MULHI Multiply and move HI
* MULHIU Unsigned multiply and move HI
* MULS Multiply, negate, and move LO
* MULSHI Multiply, negate, and move HI
* MULSHIU Unsigned multiply, negate, and move HI
* MULSU Unsigned multiply, negate, and move LO
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210808173018.90960-7-f4bug@amsat.org>
Diffstat (limited to 'target/mips/tcg/vr54xx.decode')
-rw-r--r-- | target/mips/tcg/vr54xx.decode | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/mips/tcg/vr54xx.decode b/target/mips/tcg/vr54xx.decode index 73778f101a..79bb5175ea 100644 --- a/target/mips/tcg/vr54xx.decode +++ b/target/mips/tcg/vr54xx.decode @@ -11,7 +11,13 @@ @rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &r +MULS 000000 ..... ..... ..... 00011011000 @rs_rt_rd +MULSU 000000 ..... ..... ..... 00011011001 @rs_rt_rd MACC 000000 ..... ..... ..... 00101011000 @rs_rt_rd MACCU 000000 ..... ..... ..... 00101011001 @rs_rt_rd +MULHI 000000 ..... ..... ..... 01001011000 @rs_rt_rd +MULHIU 000000 ..... ..... ..... 01001011001 @rs_rt_rd +MULSHI 000000 ..... ..... ..... 01011011000 @rs_rt_rd +MULSHIU 000000 ..... ..... ..... 01011011001 @rs_rt_rd MACCHI 000000 ..... ..... ..... 01101011000 @rs_rt_rd MACCHIU 000000 ..... ..... ..... 01101011001 @rs_rt_rd |