From: Arthur Huillet <arthur.huil...@free.fr>

Signed-off-by: Vegard Nossum <vegard.nos...@gmail.com>
---
 arch/x86/use-def.c              |    4 ++--
 test/arch-x86/use-def-test_32.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/use-def.c b/arch/x86/use-def.c
index 17376a7..68a65af 100644
--- a/arch/x86/use-def.c
+++ b/arch/x86/use-def.c
@@ -104,8 +104,8 @@ static struct insn_info insn_infos[] = {
        DECLARE_INFO(INSN_POP_REG, USE_NONE | DEF_SRC),
        DECLARE_INFO(INSN_POP_MEMLOCAL, USE_SRC | DEF_NONE),
        DECLARE_INFO(INSN_RET, USE_NONE | DEF_NONE),
-       DECLARE_INFO(INSN_SAR_IMM_REG, DEF_DST),
-       DECLARE_INFO(INSN_SAR_REG_REG, USE_SRC | DEF_DST),
+       DECLARE_INFO(INSN_SAR_IMM_REG, USE_DST | DEF_DST),
+       DECLARE_INFO(INSN_SAR_REG_REG, USE_SRC | USE_DST | DEF_DST),
        DECLARE_INFO(INSN_SBB_IMM_REG, USE_NONE | DEF_DST),
        DECLARE_INFO(INSN_SBB_MEMBASE_REG, USE_SRC | DEF_DST),
        DECLARE_INFO(INSN_SBB_REG_REG, USE_SRC | DEF_DST),
diff --git a/test/arch-x86/use-def-test_32.c b/test/arch-x86/use-def-test_32.c
index c0ce116..1eb81bc 100644
--- a/test/arch-x86/use-def-test_32.c
+++ b/test/arch-x86/use-def-test_32.c
@@ -203,7 +203,7 @@ void test_push_reg_uses_operand(void)
 void test_reg_reg_uses_source_defines_target(void)
 {
        assert_uses_r0_defines_r1(reg_reg_insn(INSN_MOV_REG_REG, &r0, &r1));
-       assert_uses_r0_defines_r1(reg_reg_insn(INSN_SAR_REG_REG, &r0, &r1));
+       assert_uses_r0_r1_defines_r1(reg_reg_insn(INSN_SAR_REG_REG, &r0, &r1));
        assert_uses_r0_defines_r1(reg_reg_insn(INSN_SHL_REG_REG, &r0, &r1));
        assert_uses_r0_defines_r1(reg_reg_insn(INSN_SHR_REG_REG, &r0, &r1));
 }
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to