]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
rm unused function
authorJulian Seward <jseward@acm.org>
Wed, 30 Mar 2005 18:26:52 +0000 (18:26 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 30 Mar 2005 18:26:52 +0000 (18:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3482

coregrind/amd64/dispatch.S

index ef31330239a41dde5e6cbc54b0ff976fb59f34ab..2fcbb165b74fc69805bd7a20b04c705fb578532a 100644 (file)
 #include "core_asm.h"
 #include "amd64_private_asm.h"
 
-/*------------------------------------------------------------*/
-/*--- The dispatch loop.                                   ---*/
-/*------------------------------------------------------------*/
-
-.globl switchback
-switchback:
-       /* %rdi -> guest state */
-       /* %rsi is rflags */
-       movq    0(%rdi), %rax
-       movq    8(%rdi), %rcx
-       movq    16(%rdi), %rdx
-       movq    24(%rdi), %rbx
-       movq    32(%rdi), %rsp
-       movq    40(%rdi), %rbp
-       movq    64(%rdi), %r8
-       movq    72(%rdi), %r9
-       movq    80(%rdi), %r10
-       movq    88(%rdi), %r11
-       movq    96(%rdi), %r12
-       movq    104(%rdi), %r13
-       movq    112(%rdi), %r14
-       movq    120(%rdi), %r15
-       /* now we need to deal with rsi rdi rflags rip */
-
-       pushq   168(%rdi) /* %RIP -> stack */
 
-       pushq   %rsi
-       popfq
-
-       movq    48(%rdi), %rsi
-       movq    56(%rdi), %rdi
-
-       ret
-       
 /*------------------------------------------------------------*/
 /*--- The dispatch loop.                                   ---*/
 /*------------------------------------------------------------*/