Skip to content

Commit

Permalink
Patch supports Intel(R) AVX/AVX2 MOV Instruction
Browse files Browse the repository at this point in the history
This patch enhances the existing ART-Compiler
to generate Intel(R) AVX/AVX2 MOV Instructions for
doing SIMD Operations on Intel(R) Architecture CPUs.
It also provides the framework for AVX/AVX2 Instruction
encoding and dissassembly

BUG: 127881558
Test: run-test gtest
Change-Id: I9386aecc134941a2d907f9ec6b2d5522ec5ff8b5
  • Loading branch information
jaishankintel authored and Nicolas Geoffray committed Apr 25, 2019
1 parent d32f8aa commit 20d1c94
Show file tree
Hide file tree
Showing 9 changed files with 1,646 additions and 276 deletions.
1 change: 1 addition & 0 deletions compiler/optimizing/code_generator_x86.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8236,6 +8236,7 @@ class JumpTableRIPFixup : public RIPFixup {
void CodeGeneratorX86::Finalize(CodeAllocator* allocator) {
// Generate the constant area if needed.
X86Assembler* assembler = GetAssembler();

if (!assembler->IsConstantAreaEmpty() || !fixups_to_jump_tables_.empty()) {
// Align to 4 byte boundary to reduce cache misses, as the data is 4 and 8
// byte values.
Expand Down
Loading

0 comments on commit 20d1c94

Please sign in to comment.