From: Arthur Huillet <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
---
arch/x86/use-def.c | 6 +++---
test/arch-x86/use-def-test_32.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/use-def.c b/arch/x86/use-def.c
index c48024a..626a507 100644
--- a/arch/x86/use-def.c
+++ b/arch/x86/use-def.c
@@ -111,9 +111,9 @@ static struct insn_info insn_infos[] = {
DECLARE_INFO(INSN_SBB_REG_REG, USE_SRC | USE_DST | DEF_DST),
DECLARE_INFO(INSN_SHL_REG_REG, USE_SRC | USE_DST | DEF_DST),
DECLARE_INFO(INSN_SHR_REG_REG, USE_SRC | USE_DST | DEF_DST),
- DECLARE_INFO(INSN_SUB_IMM_REG, USE_NONE | DEF_DST),
- DECLARE_INFO(INSN_SUB_MEMBASE_REG, USE_SRC | DEF_DST),
- DECLARE_INFO(INSN_SUB_REG_REG, USE_SRC | DEF_DST),
+ DECLARE_INFO(INSN_SUB_IMM_REG, USE_DST | DEF_DST),
+ DECLARE_INFO(INSN_SUB_MEMBASE_REG, USE_SRC | USE_DST | DEF_DST),
+ DECLARE_INFO(INSN_SUB_REG_REG, USE_SRC | USE_DST | DEF_DST),
DECLARE_INFO(INSN_TEST_MEMBASE_REG, USE_SRC | USE_DST | DEF_NONE),
DECLARE_INFO(INSN_XOR_MEMBASE_REG, USE_SRC | DEF_DST),
DECLARE_INFO(INSN_XOR_IMM_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 22cc898..28e6018 100644
--- a/test/arch-x86/use-def-test_32.c
+++ b/test/arch-x86/use-def-test_32.c
@@ -152,8 +152,8 @@ void test_membase_reg_uses_source_defines_target(void)
assert_uses_r0_defines_r1(membase_reg_insn(INSN_MOV_MEMBASE_REG, &r0,
0, &r1));
assert_uses_r0_defines_r1(membase_reg_insn(INSN_MUL_MEMBASE_EAX, &r0,
0, &r1));
assert_uses_r0_r1_defines_r1(membase_reg_insn(INSN_OR_MEMBASE_REG, &r0,
0, &r1));
- assert_uses_r0_defines_r1(membase_reg_insn(INSN_SUB_MEMBASE_REG, &r0,
0, &r1));
assert_uses_r0_r1_defines_r1(membase_reg_insn(INSN_SBB_MEMBASE_REG,
&r0, 0, &r1));
+ assert_uses_r0_r1_defines_r1(membase_reg_insn(INSN_SUB_MEMBASE_REG,
&r0, 0, &r1));
assert_uses_r0_defines_r1(membase_reg_insn(INSN_XOR_MEMBASE_REG, &r0,
0, &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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel