diff options
| author | Shalini Salomi Bodapati <shalini.salomi.bodapati@intel.com> | 2018-10-26 15:03:53 +0530 |
|---|---|---|
| committer | Shalini Salomi Bodapati <shalini.salomi.bodapati@intel.com> | 2018-11-08 14:50:29 +0530 |
| commit | dd121f637509a50d6744a0ad596f5dc627e0c60a (patch) | |
| tree | 1e20c636cd40a5a87cae1cd0d0b55940c8111a20 /compiler/optimizing/code_generator_x86.h | |
| parent | fe59955fc41e277bf1c60378202ba785abb1e4a8 (diff) | |
| download | art-dd121f637509a50d6744a0ad596f5dc627e0c60a.tar.gz art-dd121f637509a50d6744a0ad596f5dc627e0c60a.tar.bz2 art-dd121f637509a50d6744a0ad596f5dc627e0c60a.zip | |
Emit bit manipulation instructions for x86 and x86_64
This patch performs instruction simplification to
generate instructions andn, blsmsk and blsr on
cpus that have avx2.
Test: test.py --host --64, test-art-host-gtest
Change-Id: Ie41a1b99ac2980f1e9f6a831a7d639bc3e248f0f
Signed-off-by: Shalini Salomi Bodapati <shalini.salomi.bodapati@intel.com>
Diffstat (limited to 'compiler/optimizing/code_generator_x86.h')
| -rw-r--r-- | compiler/optimizing/code_generator_x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator_x86.h b/compiler/optimizing/code_generator_x86.h index 93b0461975..1e49403402 100644 --- a/compiler/optimizing/code_generator_x86.h +++ b/compiler/optimizing/code_generator_x86.h @@ -159,6 +159,7 @@ class LocationsBuilderX86 : public HGraphVisitor { FOR_EACH_CONCRETE_INSTRUCTION_COMMON(DECLARE_VISIT_INSTRUCTION) FOR_EACH_CONCRETE_INSTRUCTION_X86(DECLARE_VISIT_INSTRUCTION) + FOR_EACH_CONCRETE_INSTRUCTION_X86_COMMON(DECLARE_VISIT_INSTRUCTION) #undef DECLARE_VISIT_INSTRUCTION @@ -190,6 +191,7 @@ class InstructionCodeGeneratorX86 : public InstructionCodeGenerator { FOR_EACH_CONCRETE_INSTRUCTION_COMMON(DECLARE_VISIT_INSTRUCTION) FOR_EACH_CONCRETE_INSTRUCTION_X86(DECLARE_VISIT_INSTRUCTION) + FOR_EACH_CONCRETE_INSTRUCTION_X86_COMMON(DECLARE_VISIT_INSTRUCTION) #undef DECLARE_VISIT_INSTRUCTION |
