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
6767 /* long double size and alignment, in bytes */
6868 #define LDOUBLE_SIZE 12
6969 #define LDOUBLE_ALIGN 4
70+/* maximum alignment (for aligned attribute support) */
71+#define MAX_ALIGN 8
7072
7173 /* relocation type for 32 bit data relocation */
7274 #define R_DATA_32 R_386_32
@@ -500,6 +502,7 @@ void gjmp_addr(int a) · 427 unmodified lines
500502 int gtst(int inv, int t)
501503 {
502504 int v, *p;
505+
503506 v = vtop->r & VT_VALMASK;
504507 if (v == VT_CMP) {
505508 /* 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