x86: Add tests for -n option of x86 assembler
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / mpx-add-bnd-prefix.s
CommitLineData
7e8b059b
L
1# Check -madd-bnd-prefix option
2 .text
3
4 call foo
5 call *(%eax)
6 je foo
7 jmp foo
8 jmp *(%ebx)
9 ret
10foo:
11 # Use of REPNE prefix - we shouldn't get any error
12 repne ret
13 # BND prefix already exists - we shouldn't get any error here
14 bnd ret
15 bnd call foo
16 # Following instructions can't have BND prefix even if
17 # -madd-bnd-prefix is specified
18 add %eax, %ebx
19 loop foo
This page took 0.208938 seconds and 4 git commands to generate.