]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/i386/x86-64-lfence-ret-b.d
Don't handle lret/iret when -mlfence-before-ret=[or|not|shl|yes] since they are inval...
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-lfence-ret-b.d
CommitLineData
a09f656b 1#source: x86-64-lfence-ret.s
97b4a8f7 2#as: -mlfence-before-ret=not
a09f656b 3#objdump: -dw -Mintel64
97b4a8f7
L
4#name: x86-64 -mlfence-before-ret=not
5
6.*: +file format .*
7
8
9Disassembly of section .text:
10
110+ <_start>:
a09f656b 12 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
13 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
14 +[a-f0-9]+: 0f ae e8 lfence
15 +[a-f0-9]+: 66 c3 data16 retq
16 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
17 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
18 +[a-f0-9]+: 0f ae e8 lfence
19 +[a-f0-9]+: 66 c2 14 00 data16 retq \$0x14
97b4a8f7
L
20 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
21 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
22 +[a-f0-9]+: 0f ae e8 lfence
23 +[a-f0-9]+: c3 retq
24 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
25 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
26 +[a-f0-9]+: 0f ae e8 lfence
27 +[a-f0-9]+: c2 1e 00 retq \$0x1e
a09f656b 28 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
29 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
30 +[a-f0-9]+: 0f ae e8 lfence
31 +[a-f0-9]+: 66 48 c3 data16 rex.W retq
32 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
33 +[a-f0-9]+: 48 f7 14 24 notq \(%rsp\)
34 +[a-f0-9]+: 0f ae e8 lfence
35 +[a-f0-9]+: 66 48 c2 28 00 data16 rex.W retq \$0x28
97b4a8f7 36#pass