summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/mpx-inval-1.l
blob: 41de5a0df9aca6edae7d7db327e27bc2674ae033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.*: Assembler messages:
.*:6: Error: expecting valid branch instruction after `bnd'
.*:7: Error: expecting valid branch instruction after `bnd'
.*:8: Error: expecting valid branch instruction after `bnd'
.*:8: Warning: skipping prefixes on this instruction
.*:9: Error: expecting valid branch instruction after `bnd'
.*:9: Warning: skipping prefixes on this instruction
.*:10: Error: expecting valid branch instruction after `bnd'
.*:11: Error: expecting valid branch instruction after `bnd'
.*:14: Error: expecting valid branch instruction after `bnd'
.*:15: Error: expecting valid branch instruction after `bnd'
.*:16: Error: expecting valid branch instruction after `bnd'
.*:17: Error: expecting valid branch instruction after `bnd'
.*:18: Error: expecting valid branch instruction after `bnd'
.*:19: Error: expecting valid branch instruction after `bnd'
GAS LISTING .*


[ 	]*1[ 	]+\# MPX instructions
[ 	]*2[ 	]+\.allow_index_reg
[ 	]*3[ 	]+\.text
[ 	]*4[ 	]+\.extern xxx
[ 	]*5[ 	]+foo:
[ 	]*6[ 	]+\?\?\?\? F201C3   		bnd add %eax, %ebx  		\# Bad
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*7[ 	]+\?\?\?\? 66F2AB   		bnd stosw \(%edi\)    		\# Bad
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*8[ 	]+\?\?\?\? 9A000000 		bnd lcall \$0x1234,\$xxx
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
\*\*\*\*  Warning:skipping prefixes on this instruction
[ 	]*8[ 	]+003412
[ 	]*9[ 	]+\?\?\?\? EA000000 		bnd ljmp \$0x1234,\$xxx
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
\*\*\*\*  Warning:skipping prefixes on this instruction
[ 	]*9[ 	]+003412
[ 	]*10[ 	]+\?\?\?\? F2E200   		bnd loop foo
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*11[ 	]+\?\?\?\? 67F2E300 		bnd jcxz foo
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*12[ 	]+
[ 	]*13[ 	]+\.intel_syntax noprefix
[ 	]*14[ 	]+\?\?\?\? F201C3   		bnd add ebx, eax		\# Bad
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*15[ 	]+\?\?\?\? 66F2AB   		bnd stos WORD PTR\[edi]		\# Bad
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*16[ 	]+\?\?\?\? 9A000000 		bnd lcall 0x1234,xxx
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*16[ 	]+003412
[ 	]*17[ 	]+\?\?\?\? EA000000 		bnd ljmp 0x1234,xxx
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*17[ 	]+003412
[ 	]*18[ 	]+\?\?\?\? F2E200   		bnd loop foo
\*\*\*\*  Error:expecting valid branch instruction after `bnd'
[ 	]*19[ 	]+\?\?\?\? 67F2E300 		bnd jcxz foo
\*\*\*\*  Error:expecting valid branch instruction after `bnd'