mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/arm: Convert multiply and multiply accumulate
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190904193059.26202-7-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
581c6ebd17
commit
bd92fe353b
3 changed files with 177 additions and 107 deletions
|
@ -25,6 +25,8 @@
|
|||
&s_rrr_shi s rd rn rm shim shty
|
||||
&s_rrr_shr s rn rd rm rs shty
|
||||
&s_rri_rot s rn rd imm rot
|
||||
&s_rrrr s rd rn rm ra
|
||||
&rrrr rd rn rm ra
|
||||
|
||||
# Data-processing (register)
|
||||
|
||||
|
@ -105,3 +107,18 @@ ORR_rri .... 001 1100 . .... .... ............ @s_rri_rot
|
|||
MOV_rxi .... 001 1101 . 0000 .... ............ @s_rxi_rot
|
||||
BIC_rri .... 001 1110 . .... .... ............ @s_rri_rot
|
||||
MVN_rxi .... 001 1111 . 0000 .... ............ @s_rxi_rot
|
||||
|
||||
# Multiply and multiply accumulate
|
||||
|
||||
@s_rdamn ---- .... ... s:1 rd:4 ra:4 rm:4 .... rn:4 &s_rrrr
|
||||
@s_rd0mn ---- .... ... s:1 rd:4 .... rm:4 .... rn:4 &s_rrrr ra=0
|
||||
@rdamn ---- .... ... . rd:4 ra:4 rm:4 .... rn:4 &rrrr
|
||||
|
||||
MUL .... 0000 000 . .... 0000 .... 1001 .... @s_rd0mn
|
||||
MLA .... 0000 001 . .... .... .... 1001 .... @s_rdamn
|
||||
UMAAL .... 0000 010 0 .... .... .... 1001 .... @rdamn
|
||||
MLS .... 0000 011 0 .... .... .... 1001 .... @rdamn
|
||||
UMULL .... 0000 100 . .... .... .... 1001 .... @s_rdamn
|
||||
UMLAL .... 0000 101 . .... .... .... 1001 .... @s_rdamn
|
||||
SMULL .... 0000 110 . .... .... .... 1001 .... @s_rdamn
|
||||
SMLAL .... 0000 111 . .... .... .... 1001 .... @s_rdamn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue