mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/ppc: Move D/DS/X-form integer stores to decodetree
These are all connected by macros in the legacy decoding. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Message-Id: <20210601193528.2533031-9-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
00e0326541
commit
e8f4c8d6aa
3 changed files with 48 additions and 81 deletions
|
@ -137,6 +137,30 @@ TRANS64(LDU, do_ldst_D, true, false, MO_Q)
|
|||
TRANS64(LDUX, do_ldst_X, true, false, MO_Q)
|
||||
TRANS64(PLD, do_ldst_PLS_D, false, false, MO_Q)
|
||||
|
||||
/* Store Byte */
|
||||
TRANS(STB, do_ldst_D, false, true, MO_UB)
|
||||
TRANS(STBX, do_ldst_X, false, true, MO_UB)
|
||||
TRANS(STBU, do_ldst_D, true, true, MO_UB)
|
||||
TRANS(STBUX, do_ldst_X, true, true, MO_UB)
|
||||
|
||||
/* Store Halfword */
|
||||
TRANS(STH, do_ldst_D, false, true, MO_UW)
|
||||
TRANS(STHX, do_ldst_X, false, true, MO_UW)
|
||||
TRANS(STHU, do_ldst_D, true, true, MO_UW)
|
||||
TRANS(STHUX, do_ldst_X, true, true, MO_UW)
|
||||
|
||||
/* Store Word */
|
||||
TRANS(STW, do_ldst_D, false, true, MO_UL)
|
||||
TRANS(STWX, do_ldst_X, false, true, MO_UL)
|
||||
TRANS(STWU, do_ldst_D, true, true, MO_UL)
|
||||
TRANS(STWUX, do_ldst_X, true, true, MO_UL)
|
||||
|
||||
/* Store Doubleword */
|
||||
TRANS64(STD, do_ldst_D, false, true, MO_Q)
|
||||
TRANS64(STDX, do_ldst_X, false, true, MO_Q)
|
||||
TRANS64(STDU, do_ldst_D, true, true, MO_Q)
|
||||
TRANS64(STDUX, do_ldst_X, true, true, MO_Q)
|
||||
|
||||
/*
|
||||
* Fixed-Point Arithmetic Instructions
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue