Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi>
---
 arch/x86/emit-code.c                |   11 -----------
 arch/x86/include/arch/instruction.h |    1 -
 arch/x86/instruction.c              |    1 -
 arch/x86/lir-printer.c              |    7 -------
 4 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c
index 9bff01a..708ccb0 100644
--- a/arch/x86/emit-code.c
+++ b/arch/x86/emit-code.c
@@ -848,16 +848,6 @@ static void emit_mov_imm_thread_local_membase(struct 
buffer *buf,
        emit_mov_imm_membase(buf, src, dest);
 }
 
-static void emit_mov_ip_thread_local_membase(struct buffer *buf,
-                                            struct operand *dest)
-{
-       unsigned long addr
-               = (unsigned long)buffer_current(buf);
-
-       emit(buf, 0x65); /* GS segment override prefix */
-       __emit_mov_imm_membase(buf, addr, mach_reg(&dest->base_reg), 
dest->disp);
-}
-
 static void emit_mov_memdisp_reg(struct buffer *buf,
                                 struct operand *src,
                                 struct operand *dest)
@@ -1801,7 +1791,6 @@ struct emitter emitters[] = {
        DECL_EMITTER(INSN_MOV_IMM_MEMLOCAL, emit_mov_imm_memlocal, 
TWO_OPERANDS),
        DECL_EMITTER(INSN_MOV_IMM_REG, emit_mov_imm_reg, TWO_OPERANDS),
        DECL_EMITTER(INSN_MOV_IMM_THREAD_LOCAL_MEMBASE, 
emit_mov_imm_thread_local_membase, TWO_OPERANDS),
-       DECL_EMITTER(INSN_MOV_IP_THREAD_LOCAL_MEMBASE, 
emit_mov_ip_thread_local_membase, SINGLE_OPERAND),
        DECL_EMITTER(INSN_MOV_MEMLOCAL_REG, emit_mov_memlocal_reg, 
TWO_OPERANDS),
        DECL_EMITTER(INSN_MOV_MEMLOCAL_XMM, emit_mov_memlocal_xmm, 
TWO_OPERANDS),
        DECL_EMITTER(INSN_MOV_64_MEMLOCAL_XMM, emit_mov_64_memlocal_xmm, 
TWO_OPERANDS),
diff --git a/arch/x86/include/arch/instruction.h 
b/arch/x86/include/arch/instruction.h
index 49e7df8..6789726 100644
--- a/arch/x86/include/arch/instruction.h
+++ b/arch/x86/include/arch/instruction.h
@@ -118,7 +118,6 @@ enum insn_type {
        INSN_MOV_IMM_REG,
        INSN_MOV_IMM_THREAD_LOCAL_MEMBASE,
        INSN_MOV_IP_REG,
-       INSN_MOV_IP_THREAD_LOCAL_MEMBASE,
        INSN_MOV_MEMLOCAL_REG,
        INSN_MOV_MEMLOCAL_XMM,
        INSN_MOV_64_MEMLOCAL_XMM,
diff --git a/arch/x86/instruction.c b/arch/x86/instruction.c
index 0ddde96..3b55928 100644
--- a/arch/x86/instruction.c
+++ b/arch/x86/instruction.c
@@ -655,7 +655,6 @@ static unsigned long insn_flags[] = {
        [INSN_MOV_IMM_REG]                      = DEF_DST,
        [INSN_MOV_IMM_THREAD_LOCAL_MEMBASE]     = USE_DST | DEF_NONE,
        [INSN_MOV_IP_REG]                       = DEF_DST,
-       [INSN_MOV_IP_THREAD_LOCAL_MEMBASE]      = USE_NONE | DEF_NONE,
        [INSN_MOV_MEMBASE_REG]                  = USE_SRC | DEF_DST,
        [INSN_MOV_MEMBASE_XMM]                  = USE_SRC | DEF_DST,
        [INSN_MOV_MEMDISP_REG]                  = USE_NONE | DEF_DST,
diff --git a/arch/x86/lir-printer.c b/arch/x86/lir-printer.c
index 42a6869..f60907c 100644
--- a/arch/x86/lir-printer.c
+++ b/arch/x86/lir-printer.c
@@ -674,12 +674,6 @@ static int print_mov_imm_tlmembase(struct string *str, 
struct insn *insn)
        return print_imm_tlmembase(str, insn);
 }
 
-static int print_mov_ip_tlmembase(struct string *str, struct insn *insn)
-{
-       print_func_name(str);
-       return print_tlmembase(str, &insn->operands[0]);
-}
-
 static int print_mov_reg_tlmembase(struct string *str, struct insn *insn)
 {
        print_func_name(str);
@@ -1034,7 +1028,6 @@ static print_insn_fn insn_printers[] = {
        [INSN_MOV_IMM_MEMLOCAL] = print_mov_imm_memlocal,
        [INSN_MOV_IMM_REG] = print_mov_imm_reg,
        [INSN_MOV_IMM_THREAD_LOCAL_MEMBASE] = print_mov_imm_tlmembase,
-       [INSN_MOV_IP_THREAD_LOCAL_MEMBASE] = print_mov_ip_tlmembase,
        [INSN_MOV_MEMLOCAL_REG] = print_mov_memlocal_reg,
        [INSN_MOV_MEMLOCAL_XMM] = print_mov_memlocal_xmm,
        [INSN_MOV_64_MEMLOCAL_XMM] = print_mov_64_memlocal_xmm,
-- 
1.6.0.4


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to