History

added MAX_ALIGN

bellard committed 23 years ago

Commit d1e7e261 parent 122198a1 file · +3 −0Browse files

Unified · Split

i386-gen.c+3−0
@@ -67,6 +67,8 @@ int reg_classes[NB_REGS] = { · 66 unmodified lines
67/* long double size and alignment, in bytes */67/* long double size and alignment, in bytes */
68#define LDOUBLE_SIZE 1268#define LDOUBLE_SIZE 12
69#define LDOUBLE_ALIGN 469#define LDOUBLE_ALIGN 4
70/* maximum alignment (for aligned attribute support) */
71#define MAX_ALIGN 8
70 72
71/* relocation type for 32 bit data relocation */73/* relocation type for 32 bit data relocation */
72#define R_DATA_32 R_386_3274#define R_DATA_32 R_386_32
@@ -500,6 +502,7 @@ void gjmp_addr(int a) · 427 unmodified lines
500int gtst(int inv, int t)502int gtst(int inv, int t)
501{503{
502 int v, *p;504 int v, *p;
505
503 v = vtop->r & VT_VALMASK;506 v = vtop->r & VT_VALMASK;
504 if (v == VT_CMP) {507 if (v == VT_CMP) {
505 /* fast case : can jump directly since flags are set */508 /* fast case : can jump directly since flags are set */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t