i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / mpx-inval-1.l
CommitLineData
7e8b059b
L
1.*: Assembler messages:
2.*:6: Error: expecting valid branch instruction after `bnd'
3.*:7: Error: expecting valid branch instruction after `bnd'
4.*:8: Error: expecting valid branch instruction after `bnd'
5.*:8: Warning: skipping prefixes on this instruction
6.*:9: Error: expecting valid branch instruction after `bnd'
7.*:9: Warning: skipping prefixes on this instruction
8.*:10: Error: expecting valid branch instruction after `bnd'
9.*:11: Error: expecting valid branch instruction after `bnd'
10.*:14: Error: expecting valid branch instruction after `bnd'
11.*:15: Error: expecting valid branch instruction after `bnd'
12.*:16: Error: expecting valid branch instruction after `bnd'
13.*:17: Error: expecting valid branch instruction after `bnd'
14.*:18: Error: expecting valid branch instruction after `bnd'
15.*:19: Error: expecting valid branch instruction after `bnd'
16GAS LISTING .*
17
18
19[ ]*1[ ]+\# MPX instructions
20[ ]*2[ ]+\.allow_index_reg
21[ ]*3[ ]+\.text
22[ ]*4[ ]+\.extern xxx
23[ ]*5[ ]+foo:
24[ ]*6[ ]+\?\?\?\? F201C3 bnd add %eax, %ebx \# Bad
b52855e7 25.* Error: expecting valid branch instruction after `bnd'
7e8b059b 26[ ]*7[ ]+\?\?\?\? 66F2AB bnd stosw \(%edi\) \# Bad
b52855e7 27.* Error: expecting valid branch instruction after `bnd'
7e8b059b 28[ ]*8[ ]+\?\?\?\? 9A000000 bnd lcall \$0x1234,\$xxx
b52855e7
AM
29.* Error: expecting valid branch instruction after `bnd'
30.* Warning: skipping prefixes on this instruction
7e8b059b
L
31[ ]*8[ ]+003412
32[ ]*9[ ]+\?\?\?\? EA000000 bnd ljmp \$0x1234,\$xxx
b52855e7
AM
33.* Error: expecting valid branch instruction after `bnd'
34.* Warning: skipping prefixes on this instruction
7e8b059b 35[ ]*9[ ]+003412
85024cd8 36[ ]*10[ ]+\?\?\?\? F2E2E9 bnd loop foo
b52855e7 37.* Error: expecting valid branch instruction after `bnd'
85024cd8 38[ ]*11[ ]+\?\?\?\? 67F2E3E5 bnd jcxz foo
b52855e7 39.* Error: expecting valid branch instruction after `bnd'
7e8b059b
L
40[ ]*12[ ]+
41[ ]*13[ ]+\.intel_syntax noprefix
42[ ]*14[ ]+\?\?\?\? F201C3 bnd add ebx, eax \# Bad
b52855e7 43.* Error: expecting valid branch instruction after `bnd'
7e8b059b 44[ ]*15[ ]+\?\?\?\? 66F2AB bnd stos WORD PTR\[edi] \# Bad
b52855e7 45.* Error: expecting valid branch instruction after `bnd'
7e8b059b 46[ ]*16[ ]+\?\?\?\? 9A000000 bnd lcall 0x1234,xxx
b52855e7 47.* Error: expecting valid branch instruction after `bnd'
7e8b059b
L
48[ ]*16[ ]+003412
49[ ]*17[ ]+\?\?\?\? EA000000 bnd ljmp 0x1234,xxx
b52855e7 50.* Error: expecting valid branch instruction after `bnd'
7e8b059b 51[ ]*17[ ]+003412
85024cd8 52[ ]*18[ ]+\?\?\?\? F2E2CE bnd loop foo
b52855e7 53.* Error: expecting valid branch instruction after `bnd'
85024cd8 54[ ]*19[ ]+\?\?\?\? 67F2E3CA bnd jcxz foo
b52855e7 55.* Error: expecting valid branch instruction after `bnd'
85024cd8 56#pass
This page took 0.431173 seconds and 4 git commands to generate.