summaryrefslogtreecommitdiff
path: root/tcg/tcg-opc.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 16:56:05 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-22 16:56:05 +0000
commit7e4597d7aea6a085f5ebfcfe56654d4c46a2ede7 (patch)
tree92e7f11f8a6f7925f1b7a352b700ab15b6866bdf /tcg/tcg-opc.h
parent437a88a51cfa9a0e7080153f3a54cfa45f424b76 (diff)
added debug_insn_start debug instruction
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4531 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg-opc.h')
-rw-r--r--tcg/tcg-opc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h
index a80056a22d..ca5bd0b81d 100644
--- a/tcg/tcg-opc.h
+++ b/tcg/tcg-opc.h
@@ -156,6 +156,11 @@ DEF2(neg_i64, 1, 1, 0, 0)
#endif
/* QEMU specific */
+#if TARGET_LONG_BITS > TCG_TARGET_REG_BITS
+DEF2(debug_insn_start, 0, 0, 2, 0)
+#else
+DEF2(debug_insn_start, 0, 0, 1, 0)
+#endif
DEF2(exit_tb, 0, 0, 1, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS)
DEF2(goto_tb, 0, 0, 1, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS)
/* Note: even if TARGET_LONG_BITS is not defined, the INDEX_op