mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target-tricore: Add instructions of BRN opcode format
Add instructions of BRN opcode format. Add MASK_OP_BRN_DISP15_SEXT. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
fc2ef4a391
commit
83c1bb1868
2 changed files with 27 additions and 0 deletions
|
@ -132,6 +132,7 @@
|
|||
/* BRN Format */
|
||||
#define MASK_OP_BRN_OP2(op) MASK_BITS_SHIFT(op, 31, 31)
|
||||
#define MASK_OP_BRN_DISP15(op) MASK_BITS_SHIFT(op, 16, 30)
|
||||
#define MASK_OP_BRN_DISP15_SEXT(op) MASK_BITS_SHIFT_SEXT(op, 16, 30)
|
||||
#define MASK_OP_BRN_N(op) (MASK_BITS_SHIFT(op, 12, 15) + \
|
||||
(MASK_BITS_SHIFT(op, 7, 7) << 4))
|
||||
#define MASK_OP_BRN_S1(op) MASK_BITS_SHIFT(op, 8, 11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue