mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/sparc: Move Tcc to decodetree
Use the new delay_exceptionv function in the implementation. Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6d2a076842
commit
3037663616
2 changed files with 89 additions and 79 deletions
|
@ -21,3 +21,16 @@ NCP 00 - ---- 111 ---------------------- # CBcc
|
|||
SETHI 00 rd:5 100 i:22
|
||||
|
||||
CALL 01 i:s30
|
||||
|
||||
Tcc_r 10 0 cond:4 111010 rs1:5 0 cc:1 0000000 rs2:5
|
||||
{
|
||||
# For v7, the entire simm13 field is present, but masked to 7 bits.
|
||||
# For v8, [12:7] are reserved. However, a compatibility note for
|
||||
# the Tcc insn in the v9 manual suggests that the v8 reserved field
|
||||
# was ignored and did not produce traps.
|
||||
Tcc_i_v7 10 0 cond:4 111010 rs1:5 1 ------ i:7
|
||||
|
||||
# For v9, bits [12:11] are cc1 and cc0 (and cc0 must be 0).
|
||||
# Bits [10:8] are reserved and the OSA2011 manual says they must be 0.
|
||||
Tcc_i_v9 10 0 cond:4 111010 rs1:5 1 cc:1 0 000 i:8
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue