From: Chao-ying Fu Date: Thu, 24 Jul 2014 19:08:28 +0000 (-0700) Subject: x86_64: Fix Test32RM X-Git-Tag: android-x86-7.1-r1~889^2~3424^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cf8184164650d7686b9f685850463f5976bc3251;p=android-x86%2Fart.git x86_64: Fix Test32RM This patch fixes Test32RM use flags and the format. Change-Id: I486cb7f27e65caeefccbd3bbcc38257ddca033c8 Signed-off-by: Chao-ying Fu --- diff --git a/compiler/dex/quick/x86/assemble_x86.cc b/compiler/dex/quick/x86/assemble_x86.cc index efd9079ff..a08abea76 100644 --- a/compiler/dex/quick/x86/assemble_x86.cc +++ b/compiler/dex/quick/x86/assemble_x86.cc @@ -286,7 +286,7 @@ ENCODING_MAP(Cmp, IS_LOAD, 0, 0, { kX86Test32RR, kRegReg, IS_BINARY_OP | REG_USE01 | SETS_CCODES, { 0, 0, 0x85, 0, 0, 0, 0, 0, false }, "Test32RR", "!0r,!1r" }, { kX86Test64RR, kRegReg, IS_BINARY_OP | REG_USE01 | SETS_CCODES, { REX_W, 0, 0x85, 0, 0, 0, 0, 0, false }, "Test64RR", "!0r,!1r" }, - { kX86Test32RM, kRegMem, IS_LOAD | IS_TERTIARY_OP | REG_USE0 | SETS_CCODES, { 0, 0, 0x85, 0, 0, 0, 0, 0, false }, "Test32RM", "!0r,[!1r+!1d]" }, + { kX86Test32RM, kRegMem, IS_LOAD | IS_TERTIARY_OP | REG_USE01 | SETS_CCODES, { 0, 0, 0x85, 0, 0, 0, 0, 0, false }, "Test32RM", "!0r,[!1r+!2d]" }, #define UNARY_ENCODING_MAP(opname, modrm, is_store, sets_ccodes, \ reg, reg_kind, reg_flags, \