Mercurial > hg > tinycc
changeset 203:997c377b270c
[project @ 2002-11-24 15:58:50 by bellard]
added MAX_ALIGN
author | bellard |
---|---|
date | Sun, 24 Nov 2002 15:58:50 +0000 |
parents | a5862f9e8a6f |
children | 9939057d30e8 |
files | i386-gen.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/i386-gen.c Sun Nov 24 15:58:34 2002 +0000 +++ b/i386-gen.c Sun Nov 24 15:58:50 2002 +0000 @@ -67,6 +67,8 @@ /* 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 @@ 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 */