mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/arm: Convert MSR (immediate) to decodetree
Convert the MSR (immediate) insn to decodetree. Our implementation has basically no commonality between the different destinations, so we decode the destination register in a64.decode. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230602155223.2040685-6-peter.maydell@linaro.org
This commit is contained in:
parent
d78b662f28
commit
45d063d163
2 changed files with 136 additions and 128 deletions
|
@ -194,3 +194,16 @@ SB 1101 0101 0000 0011 0011 0000 111 11111
|
|||
CFINV 1101 0101 0000 0 000 0100 0000 000 11111
|
||||
XAFLAG 1101 0101 0000 0 000 0100 0000 001 11111
|
||||
AXFLAG 1101 0101 0000 0 000 0100 0000 010 11111
|
||||
|
||||
# These are architecturally all "MSR (immediate)"; we decode the destination
|
||||
# register too because there is no commonality in our implementation.
|
||||
@msr_i .... .... .... . ... .... imm:4 ... .....
|
||||
MSR_i_UAO 1101 0101 0000 0 000 0100 .... 011 11111 @msr_i
|
||||
MSR_i_PAN 1101 0101 0000 0 000 0100 .... 100 11111 @msr_i
|
||||
MSR_i_SPSEL 1101 0101 0000 0 000 0100 .... 101 11111 @msr_i
|
||||
MSR_i_SBSS 1101 0101 0000 0 011 0100 .... 001 11111 @msr_i
|
||||
MSR_i_DIT 1101 0101 0000 0 011 0100 .... 010 11111 @msr_i
|
||||
MSR_i_TCO 1101 0101 0000 0 011 0100 .... 100 11111 @msr_i
|
||||
MSR_i_DAIFSET 1101 0101 0000 0 011 0100 .... 110 11111 @msr_i
|
||||
MSR_i_DAIFCLEAR 1101 0101 0000 0 011 0100 .... 111 11111 @msr_i
|
||||
MSR_i_SVCR 1101 0101 0000 0 011 0100 0 mask:2 imm:1 011 11111
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue