summaryrefslogtreecommitdiffstats
path: root/target-tricore/tricore-opcodes.h
diff options
context:
space:
mode:
authorBastian Koppelmann2014-10-17 18:46:29 +0200
committerBastian Koppelmann2014-12-10 12:13:45 +0100
commit83c1bb1868848912f3d5516880e937cb247dfcd1 (patch)
treec35be1958637f49f14272a562a994e206ce422bf /target-tricore/tricore-opcodes.h
parenttarget-tricore: Add instructions of BRC opcode format (diff)
downloadqemu-83c1bb1868848912f3d5516880e937cb247dfcd1.tar.gz
qemu-83c1bb1868848912f3d5516880e937cb247dfcd1.tar.xz
qemu-83c1bb1868848912f3d5516880e937cb247dfcd1.zip
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>
Diffstat (limited to 'target-tricore/tricore-opcodes.h')
-rw-r--r--target-tricore/tricore-opcodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-tricore/tricore-opcodes.h b/target-tricore/tricore-opcodes.h
index 2d18624bef..3622d388e2 100644
--- a/target-tricore/tricore-opcodes.h
+++ b/target-tricore/tricore-opcodes.h
@@ -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)