x86: warn about insns exceeding the 15-byte limit
[external/binutils.git] / gas / testsuite / gas / i386 / oversized16.l
1 .*: Assembler messages:
2 .*:6: Warning: instruction length.*
3 .*:7: Warning: instruction length.*
4 .*:8: Warning: instruction length.*
5 .*:10: Warning: instruction length.*
6 .*:11: Warning: instruction length.*
7 GAS LISTING .*
8
9
10 [       ]*1[    ]+\.text
11 [       ]*2[    ]+\.intel_syntax noprefix
12 [       ]*3[    ]+\.code16
13 [       ]*4[    ]+
14 [       ]*5[    ]+long16:
15 [       ]*6[    ]+0000 26678FEA[        ]+lwpins        eax, es:\[eax\*8\], 0x11223344
16 \*\*\*\*  Warning: instruction length of 16 bytes exceeds the limit of 15
17 [       ]*6[    ]+781204C5[     ]*
18 [       ]*6[    ]+00000000[     ]*
19 [       ]*6[    ]+44332211[     ]*
20 [       ]*7[    ]+0010 26678FEA[        ]+lwpval        eax, es:\[eax\*4\], 0x11223344
21 \*\*\*\*  Warning: instruction length of 16 bytes exceeds the limit of 15
22 [       ]*7[    ]+78120C85[     ]*
23 [       ]*7[    ]+00000000[     ]*
24 [       ]*7[    ]+44332211[     ]*
25 [       ]*8[    ]+0020 26678FEA[        ]+bextr eax, es:\[eax\*2\], 0x11223344
26 \*\*\*\*  Warning: instruction length of 16 bytes exceeds the limit of 15
27 [       ]*8[    ]+78100445[     ]*
28 [       ]*8[    ]+00000000[     ]*
29 [       ]*8[    ]+44332211[     ]*
30 [       ]*9[    ]+
31 [       ]*10[   ]+0030 266766F2[        ]+xacquire lock add dword ptr es:\[eax\*2\], 0x11223344
32 \*\*\*\*  Warning: instruction length of 16 bytes exceeds the limit of 15
33 [       ]*10[   ]+F0810445[     ]*
34 [       ]*10[   ]+00000000[     ]*
35 [       ]*10[   ]+44332211[     ]*
36 [       ]*11[   ]+0040 266766F3[        ]+xrelease lock sub dword ptr es:\[eax\*2\], 0x11223344
37 \*\*\*\*  Warning: instruction length of 16 bytes exceeds the limit of 15
38 [       ]*11[   ]+F0812C45[     ]*
39 [       ]*11[   ]+00000000[     ]*
40 [       ]*11[   ]+44332211[     ]*
41 #pass