]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/i386/notrack.s
x86: CET v2.0: Update NOTRACK prefix
[thirdparty/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
04ef582a
L
16 bnd notrack call *%eax
17 bnd notrack call *%ax
18 bnd notrack jmp *%eax
19 bnd notrack jmp *%ax
20
9fef80d6
L
21 bnd notrack call *(%eax)
22 bnd notrack callw *(%eax)
23 bnd notrack jmp *(%eax)
24 bnd notrack jmpw *(%eax)
25
04ef582a
L
26 .intel_syntax noprefix
27 notrack call eax
28 notrack call ax
29 notrack jmp eax
30 notrack jmp ax
31
9fef80d6
L
32 notrack call DWORD PTR [eax]
33 notrack call WORD PTR [eax]
34 notrack jmp DWORD PTR [eax]
35 notrack jmp WORD PTR [eax]
36
04ef582a
L
37 bnd notrack call eax
38 bnd notrack call ax
39 bnd notrack jmp eax
40 bnd notrack jmp ax
41
9fef80d6
L
42 bnd notrack call DWORD PTR [eax]
43 bnd notrack call WORD PTR [eax]
44 bnd notrack jmp DWORD PTR [eax]
45 bnd notrack jmp WORD PTR [eax]
46
47 # ds bnd call *%eax
04ef582a
L
48 .byte 0x3e
49 .byte 0xf2
50 .byte 0xff
51 .byte 0xd0
52
9fef80d6 53 # ds callw *%ax
04ef582a
L
54 .byte 0x3e
55 .byte 0x66
56 .byte 0xff
57 .byte 0xd0