i386: Also check R12-R15 registers when optimizing testq to testb
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / mpx-add-bnd-prefix.s
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
10 foo:
11 # Use of REP/REPE prefix - converted to BND with warning
12 rep ret
13 repe ret
14 # Use of REPNE prefix - we shouldn't get any error
15 repne ret
16 # BND prefix already exists - we shouldn't get any error here
17 bnd ret
18 bnd call foo
19 # Following instructions can't have BND prefix even if
20 # -madd-bnd-prefix is specified
21 add %eax, %ebx
22 loop foo
This page took 0.049115 seconds and 4 git commands to generate.