x86-64: bndmk, bndldx, and bndstx don't allow RIP-relative addressing
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / notrack.s
CommitLineData
04ef582a
L
1# Check 32bit NOTRACK prefix
2
3 .allow_index_reg
4 .text
5_start:
6 notrack call *%eax
7 notrack call *%ax
8 notrack jmp *%eax
9 notrack jmp *%ax
10
9fef80d6
L
11 notrack call *(%eax)
12 notrack callw *(%eax)
13 notrack jmp *(%eax)
14 notrack jmpw *(%eax)
15
4e9ac44a
L
16 notrack bnd call *%eax
17 notrack bnd call *%ax
18 notrack bnd jmp *%eax
19 notrack bnd jmp *%ax
20
21 notrack bnd call *(%eax)
22 notrack bnd callw *(%eax)
23 notrack bnd jmp *(%eax)
24 notrack bnd jmpw *(%eax)
25
04ef582a
L
26 bnd notrack call *%eax
27 bnd notrack call *%ax
9fef80d6
L
28 bnd notrack call *(%eax)
29 bnd notrack callw *(%eax)
9fef80d6 30
04ef582a
L
31 .intel_syntax noprefix
32 notrack call eax
33 notrack call ax
34 notrack jmp eax
35 notrack jmp ax
36
9fef80d6
L
37 notrack call DWORD PTR [eax]
38 notrack call WORD PTR [eax]
39 notrack jmp DWORD PTR [eax]
40 notrack jmp WORD PTR [eax]
41
4e9ac44a
L
42 notrack bnd call eax
43 notrack bnd call ax
44 notrack bnd jmp eax
45 notrack bnd jmp ax
46
47 notrack bnd call DWORD PTR [eax]
48 notrack bnd call WORD PTR [eax]
49 notrack bnd jmp DWORD PTR [eax]
50 notrack bnd jmp WORD PTR [eax]
51
04ef582a
L
52 bnd notrack call eax
53 bnd notrack call ax
9fef80d6
L
54 bnd notrack call DWORD PTR [eax]
55 bnd notrack call WORD PTR [eax]
9fef80d6 56
4e9ac44a 57 # bnd notrack call *%eax
04ef582a 58 .byte 0xf2
4e9ac44a 59 .byte 0x3e
04ef582a
L
60 .byte 0xff
61 .byte 0xd0
62
4e9ac44a 63 # notrack callw *%ax
04ef582a 64 .byte 0x66
4e9ac44a 65 .byte 0x3e
04ef582a
L
66 .byte 0xff
67 .byte 0xd0
This page took 0.094892 seconds and 4 git commands to generate.