From d1e7e264a5d1c90eb44e8c7e8319fcdab66e2d1b Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 24 Nov 2002 15:58:50 +0000 Subject: [PATCH] added MAX_ALIGN --- i386-gen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/i386-gen.c b/i386-gen.c index ab2d794..7a59d22 100644 --- a/i386-gen.c +++ b/i386-gen.c @@ -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 */