summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-04 00:37:54 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-04 00:37:54 +0000
commit5ff9d6a469fbbd3861ea49e241b0ccd09aedd62b (patch)
tree6604027fe330eb0722c528ee57d3212868794bc4 /tcg/tcg.h
parentbb210e78b35d21f8bfe2addbe64b65f586f5a241 (diff)
downloadqemu-5ff9d6a469fbbd3861ea49e241b0ccd09aedd62b.tar.gz
fixed sign extensions - added explicit side effect op flag - added discard instruction
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3963 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 231082e086..11e9d8aca6 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -275,7 +275,8 @@ char *tcg_get_arg_str(TCGContext *s, char *buf, int buf_size, TCGv arg);
#define TCG_CT_CONST 0x02 /* any constant of register size */
typedef struct TCGArgConstraint {
- uint32_t ct;
+ uint16_t ct;
+ uint8_t alias_index;
union {
TCGRegSet regs;
} u;
@@ -286,6 +287,7 @@ typedef struct TCGArgConstraint {
#define TCG_OPF_BB_END 0x01 /* instruction defines the end of a basic
block */
#define TCG_OPF_CALL_CLOBBER 0x02 /* instruction clobbers call registers */
+#define TCG_OPF_SIDE_EFFECTS 0x04 /* instruction has side effects */
typedef struct TCGOpDef {
const char *name;