Browse Source
2006-05-09 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run x86-64-gidt. * gas/i386/x86-64-gidt.d: New file. * gas/i386/x86-64-gidt.s: Likewise. opcodes/ 2006-05-09 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (grps): Update sgdt/sidt for 64bit.cr-0x5f1
6 changed files with 45 additions and 2 deletions
@ -0,0 +1,17 @@ |
|||
#objdump: -dw |
|||
#name: 64bit load/store global/interrupt description table register. |
|||
|
|||
.*: +file format .* |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+000 <foo>: |
|||
0: 0f 01 08 [ ]*sidt \(%rax\) |
|||
3: 0f 01 18 [ ]*sgdt \(%rax\) |
|||
6: 0f 01 00 [ ]*lidt \(%rax\) |
|||
9: 0f 01 10 [ ]*lgdt \(%rax\) |
|||
c: 0f 01 08 [ ]*sidt \(%rax\) |
|||
f: 0f 01 18 [ ]*sgdt \(%rax\) |
|||
12: 0f 01 00 [ ]*lidt \(%rax\) |
|||
15: 0f 01 10 [ ]*lgdt \(%rax\) |
|||
... |
|||
@ -0,0 +1,14 @@ |
|||
# Instructions to load/store global/interrupt description table |
|||
# register. |
|||
|
|||
.text |
|||
foo: |
|||
sidt (%rax) |
|||
lidt (%rax) |
|||
sgdt (%rax) |
|||
lgdt (%rax) |
|||
sidtq (%rax) |
|||
lidtq (%rax) |
|||
sgdtq (%rax) |
|||
lgdtq (%rax) |
|||
.p2align 4,0 |
|||
Loading…
Reference in new issue