diff options
| author | jiang <30155751@qq.com> | 2014-04-29 23:57:22 +0800 |
|---|---|---|
| committer | jiang <30155751@qq.com> | 2014-04-29 23:57:22 +0800 |
| commit | 515169f21bf6c75a3179822e1dd9e006f5ef4412 (patch) | |
| tree | e92d4b4d45596fd256dc7c824bb62376b8e58ebb /tcc.h | |
| parent | 2a8905c93b4f67a21e3dbf297c3e93c598831528 (diff) | |
| download | tinycc-515169f21bf6c75a3179822e1dd9e006f5ef4412.tar.gz tinycc-515169f21bf6c75a3179822e1dd9e006f5ef4412.tar.bz2 | |
Reduce the generation of machine code for x86_64, Less of size
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -738,19 +738,21 @@ struct TCCState { #define VT_CMP 0x0033 /* the value is stored in processor flags (in vc) */ #define VT_JMP 0x0034 /* value is the consequence of jmp true (even) */ #define VT_JMPI 0x0035 /* value is the consequence of jmp false (odd) */ -#define VT_REF 0x0040 /* value is pointer to structure rather than address */ +#define TREG_MEM 0x0040 /* x86_64-gen.c add for tcc.h: The current value can be */ +#define VT_REF 0x0080 /* value is pointer to structure rather than address */ #define VT_LVAL 0x0100 /* var is an lvalue */ #define VT_SYM 0x0200 /* a symbol value is added */ #define VT_MUSTCAST 0x0400 /* value must be casted to be correct (used for char/short stored in integer registers) */ #define VT_MUSTBOUND 0x0800 /* bound checking must be done before dereferencing value */ -#define VT_BOUNDED 0x8000 /* value is bounded. The address of the - bounding function call point is in vc */ #define VT_LVAL_BYTE 0x1000 /* lvalue is a byte */ #define VT_LVAL_SHORT 0x2000 /* lvalue is a short */ #define VT_LVAL_UNSIGNED 0x4000 /* lvalue is unsigned */ #define VT_LVAL_TYPE (VT_LVAL_BYTE | VT_LVAL_SHORT | VT_LVAL_UNSIGNED) +#define VT_BOUNDED 0x8000 /* value is bounded. The address of the + bounding function call point is in vc */ +#define VT_TMP 0x10000 /* types */ #define VT_BTYPE 0x000f /* mask for basic type */ |
