From 77ae36b35d47393335bf5399cab9c91ccf08e88f Mon Sep 17 00:00:00 2001 From: jeffhao Date: Tue, 7 Aug 2012 14:18:16 -0700 Subject: Fix and enable inlining of some intrinsics on x86. Inlined min/max int, String isEmpty/length, and abs int/long. Change-Id: I24aa1b403ee5c8437d63c58dbe1504494ce106ef --- src/compiler/codegen/x86/Assemble.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/codegen/x86/Assemble.cc') diff --git a/src/compiler/codegen/x86/Assemble.cc b/src/compiler/codegen/x86/Assemble.cc index 0c5d3cf481..2da370d530 100644 --- a/src/compiler/codegen/x86/Assemble.cc +++ b/src/compiler/codegen/x86/Assemble.cc @@ -209,6 +209,8 @@ ENCODING_MAP(Cmp, IS_LOAD, 0, 0, SHIFT_ENCODING_MAP(Sar, 0x7), #undef SHIFT_ENCODING_MAP + { kX86Cmc, kNullary, NO_OPERAND, { 0, 0, 0xF5, 0, 0, 0, 0, 0}, "Cmc", "" }, + { kX86Test8RI, kRegImm, IS_BINARY_OP | REG_USE0 | SETS_CCODES, { 0, 0, 0xF6, 0, 0, 0, 0, 1}, "Test8RI", "!0r,!1d" }, { kX86Test8MI, kMemImm, IS_LOAD | IS_TERTIARY_OP | REG_USE0 | SETS_CCODES, { 0, 0, 0xF6, 0, 0, 0, 0, 1}, "Test8MI", "[!0r+!1d],!2d" }, { kX86Test8AI, kArrayImm, IS_LOAD | IS_QUIN_OP | REG_USE01 | SETS_CCODES, { 0, 0, 0xF6, 0, 0, 0, 0, 1}, "Test8AI", "[!0r+!1r<