diff options
author | 2012-08-07 14:18:16 -0700 | |
---|---|---|
committer | 2012-08-07 16:24:08 -0700 | |
commit | 77ae36b35d47393335bf5399cab9c91ccf08e88f (patch) | |
tree | 736bfd865e7bfd7caf6c8bc282fa9d04d16232f7 /src/compiler/codegen/x86/Assemble.cc | |
parent | e37543ed52379bcf08f57ebb3510846294a7102c (diff) |
Fix and enable inlining of some intrinsics on x86.
Inlined min/max int, String isEmpty/length, and abs int/long.
Change-Id: I24aa1b403ee5c8437d63c58dbe1504494ce106ef
Diffstat (limited to 'src/compiler/codegen/x86/Assemble.cc')
-rw-r--r-- | src/compiler/codegen/x86/Assemble.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<<!2d+!3d],!4d" }, |