summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/ilp32/x86-64-branch.d')
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-branch.d31
1 files changed, 31 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
new file mode 100644
index 0000000000..cb33840854
--- /dev/null
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
@@ -0,0 +1,31 @@
+#source: ../x86-64-branch.s
+#as: -J
+#objdump: -drw
+#name: x86-64 (ILP32) indirect branch
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ ]*[a-f0-9]+: ff d0 callq \*%rax
+[ ]*[a-f0-9]+: ff d0 callq \*%rax
+[ ]*[a-f0-9]+: 66 ff d0 callw \*%ax
+[ ]*[a-f0-9]+: 66 ff d0 callw \*%ax
+[ ]*[a-f0-9]+: 66 ff 10 callw \*\(%rax\)
+[ ]*[a-f0-9]+: ff e0 jmpq \*%rax
+[ ]*[a-f0-9]+: ff e0 jmpq \*%rax
+[ ]*[a-f0-9]+: 66 ff e0 jmpw \*%ax
+[ ]*[a-f0-9]+: 66 ff e0 jmpw \*%ax
+[ ]*[a-f0-9]+: 66 ff 20 jmpw \*\(%rax\)
+[ ]*[a-f0-9]+: ff d0 callq \*%rax
+[ ]*[a-f0-9]+: ff d0 callq \*%rax
+[ ]*[a-f0-9]+: 66 ff d0 callw \*%ax
+[ ]*[a-f0-9]+: 66 ff d0 callw \*%ax
+[ ]*[a-f0-9]+: 66 ff 10 callw \*\(%rax\)
+[ ]*[a-f0-9]+: ff e0 jmpq \*%rax
+[ ]*[a-f0-9]+: ff e0 jmpq \*%rax
+[ ]*[a-f0-9]+: 66 ff e0 jmpw \*%ax
+[ ]*[a-f0-9]+: 66 ff e0 jmpw \*%ax
+[ ]*[a-f0-9]+: 66 ff 20 jmpw \*\(%rax\)
+#pass
OpenPOWER on IntegriCloud