Handle indirect branches for AMD64 and Intel64
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-branch.d
index fee2099b74d2f3211c5ba8168e894fc286ce101e..773ce71344318b08fa6ca31b0e75212fdf0b53b7 100644 (file)
@@ -1,6 +1,6 @@
 #as: -J
-#objdump: -dw
-#name: x86-64 indirect branch
+#objdump: -dw -Mintel64
+#name: x86-64 branch
 
 .*: +file format .*
 
@@ -9,26 +9,29 @@ 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]+:    66 ff d0                data16 callq \*%rax
+[      ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
+[      ]*[a-f0-9]+:    66 ff 10                data16 callq \*\(%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]+:    66 ff e0                data16 jmpq \*%rax
+[      ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
+[      ]*[a-f0-9]+:    66 ff 20                data16 jmpq \*\(%rax\)
 [      ]*[a-f0-9]+:    e8 (00|5b) 00 (00|10) 00        callq  (0x1f|10007a <.text\+0x10007a>)
 [      ]*[a-f0-9]+:    e9 (00|60) 00 (00|10) 00        jmpq   (0x24|100084 <.text\+0x100084>)
+[      ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 callq (0x2a|2a <.text\+0x2a>)
+[      ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmpq (0x30|30 <.text\+0x30>)
+[      ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb (0x37|37 <.text\+0x37>)
 [      ]*[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]+:    66 ff d0                data16 callq \*%rax
+[      ]*[a-f0-9]+:    66 ff d0                data16 callq \*%rax
+[      ]*[a-f0-9]+:    66 ff 10                data16 callq \*\(%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]+:    e8 (00|7f) 00 (00|10) 00        callq  (0x43|1000c2 <.text\+0x1000c2>)
-[      ]*[a-f0-9]+:    e9 (00|84) 00 (00|10) 00        jmpq   (0x48|1000cc <.text\+0x1000cc>)
+[      ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
+[      ]*[a-f0-9]+:    66 ff e0                data16 jmpq \*%rax
+[      ]*[a-f0-9]+:    66 ff 20                data16 jmpq \*\(%rax\)
+[      ]*[a-f0-9]+:    e8 (00|92) 00 (00|10) 00        callq  (0x56|1000e8 <.text\+0x1000e8>)
+[      ]*[a-f0-9]+:    e9 (00|97) 00 (00|10) 00        jmpq   (0x5b|1000f2 <.text\+0x1000f2>)
 #pass
This page took 0.027657 seconds and 4 git commands to generate.