diff options
| author | bellard <bellard> | 2002-11-24 15:58:50 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-11-24 15:58:50 +0000 |
| commit | d1e7e264a5d1c90eb44e8c7e8319fcdab66e2d1b (patch) | |
| tree | ed2c39dfcc903f8d52bc2551dcba82569fadc9eb | |
| parent | 122198a8c22633c939cb3496d4d327497311abdf (diff) | |
| download | tinycc-d1e7e264a5d1c90eb44e8c7e8319fcdab66e2d1b.tar.gz tinycc-d1e7e264a5d1c90eb44e8c7e8319fcdab66e2d1b.tar.bz2 | |
added MAX_ALIGN
| -rw-r--r-- | i386-gen.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -67,6 +67,8 @@ int reg_classes[NB_REGS] = { /* long double size and alignment, in bytes */ #define LDOUBLE_SIZE 12 #define LDOUBLE_ALIGN 4 +/* maximum alignment (for aligned attribute support) */ +#define MAX_ALIGN 8 /* relocation type for 32 bit data relocation */ #define R_DATA_32 R_386_32 @@ -500,6 +502,7 @@ void gjmp_addr(int a) int gtst(int inv, int t) { int v, *p; + v = vtop->r & VT_VALMASK; if (v == VT_CMP) { /* fast case : can jump directly since flags are set */ |
