summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/mpx-add-bnd-prefix.d
blob: 1e925efc252bd7df8a1ccf77539df0e232cdabeb (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
#as: -madd-bnd-prefix
#objdump: -drw
#name: Check -madd-bnd-prefix

.*: +file format .*


Disassembly of section .text:

0+ <foo-0x14>:
[ 	]*[a-f0-9]+:	f2 e8 0e 00 00 00    	bnd call 14 <foo>
[ 	]*[a-f0-9]+:	f2 ff 10             	bnd call \*\(%eax\)
[ 	]*[a-f0-9]+:	f2 74 08             	bnd je 14 <foo>
[ 	]*[a-f0-9]+:	f2 eb 05             	bnd jmp 14 <foo>
[ 	]*[a-f0-9]+:	f2 ff 23             	bnd jmp \*\(%ebx\)
[ 	]*[a-f0-9]+:	f2 c3                	bnd ret 

0+14 <foo>:
[ 	]*[a-f0-9]+:	f2 c3                	bnd ret 
[ 	]*[a-f0-9]+:	f2 c3                	bnd ret 
[ 	]*[a-f0-9]+:	f2 e8 f6 ff ff ff    	bnd call 14 <foo>
[ 	]*[a-f0-9]+:	01 c3                	add    %eax,%ebx
[ 	]*[a-f0-9]+:	e2 f2                	loop   14 <foo>
#pass