From 5ff9d6a469fbbd3861ea49e241b0ccd09aedd62b Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 4 Feb 2008 00:37:54 +0000 Subject: 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 --- tcg/tcg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tcg/tcg.h') 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; -- cgit v1.2.3