summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/mpx-inval-1.s
blob: 74de4f77eebf5bb00bb5aed584964e7b04dd242c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# MPX instructions
	.allow_index_reg
	.text
	.extern xxx
foo:
	bnd add %eax, %ebx  		# Bad
	bnd stosw (%edi)    		# Bad
	bnd lcall $0x1234,$xxx
	bnd ljmp $0x1234,$xxx
	bnd loop foo
	bnd jcxz foo

.intel_syntax noprefix
	bnd add ebx, eax		# Bad
	bnd stos WORD PTR[edi]		# Bad
	bnd lcall 0x1234,xxx
	bnd ljmp 0x1234,xxx
	bnd loop foo
	bnd jcxz foo