1 // Validate that we can assemble this file exactly like the platform
4 // RUN: llvm-mc -filetype=obj -triple i386-apple-darwin10 -o %t.mc.o %s
5 // RUN: as -arch i386 -o %t.as.o %s
6 // RUN: diff %t.mc.o %t.as.o
9 .align 4, 0 # start with 16 byte alignment filled with zeros
16 .align 4, 0 # start with 16 byte alignment filled with zeros
24 .align 4, 0 # start with 16 byte alignment filled with zeros
31 .align 4, 0 # start with 16 byte alignment filled with zeros
37 # 0x0f, 0x1f, 0x40, 0x00
41 .align 4, 0 # start with 16 byte alignment filled with zeros
45 # nopl 0(%[re]ax,%[re]ax,1)
46 # 0x0f, 0x1f, 0x44, 0x00, 0x00
50 .align 4, 0 # start with 16 byte alignment filled with zeros
53 # nopw 0(%[re]ax,%[re]ax,1)
54 # 0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00
58 .align 4, 0 # start with 16 byte alignment filled with zeros
61 # 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00
65 .align 4, 0 # start with 16 byte alignment filled with zeros
74 # nopl 0L(%[re]ax,%[re]ax,1)
75 # 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00
79 .align 4, 0 # start with 16 byte alignment filled with zeros
87 # nopw 0L(%[re]ax,%[re]ax,1)
88 # 0x66, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00
92 .align 4, 0 # start with 16 byte alignment filled with zeros
100 # nopw %cs:0L(%[re]ax,%[re]ax,1)
101 # 0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00
105 .align 4, 0 # start with 16 byte alignment filled with zeros
111 # nopw %cs:0L(%[re]ax,%[re]ax,1)
112 # 0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00
116 .align 4, 0 # start with 16 byte alignment filled with zeros
121 # nopw 0(%[re]ax,%[re]ax,1)
122 # nopw 0(%[re]ax,%[re]ax,1)
123 # 0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00,
124 # 0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00
128 .align 4, 0 # start with 16 byte alignment filled with zeros
132 # nopw 0(%[re]ax,%[re]ax,1)
134 # 0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00,
135 # 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00
139 .align 4, 0 # start with 16 byte alignment filled with zeros
144 # 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00,
145 # 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00
149 .align 4, 0 # start with 16 byte alignment filled with zeros
152 # nopl 0L(%[re]ax,%[re]ax,1)
153 # 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00,
154 # 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00