diff options
author | Mark Mendell <mark.p.mendell@intel.com> | 2014-04-29 16:55:20 -0400 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2014-05-16 11:04:27 -0700 |
commit | d65c51a556e6649db4e18bd083c8fec37607a442 (patch) | |
tree | 97fcb17ae74a587c6ef756dda6f4b03db5e9950f /compiler/dex/quick/x86/utility_x86.cc | |
parent | 1e97c4a4ab9f17d1394b952882d59d894b1e3c74 (diff) | |
download | art-d65c51a556e6649db4e18bd083c8fec37607a442.zip art-d65c51a556e6649db4e18bd083c8fec37607a442.tar.gz art-d65c51a556e6649db4e18bd083c8fec37607a442.tar.bz2 |
ART: Add support for constant vector literals
Add in some vector instructions. Implement the ConstVector
instruction, which takes 4 words of data and loads it into
an XMM register.
Initially, only the ConstVector MIR opcode is implemented. Others will
be added after this one goes in.
Change-Id: I5c79bc8b7de9030ef1c213fc8b227debc47f6337
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Diffstat (limited to 'compiler/dex/quick/x86/utility_x86.cc')
-rw-r--r-- | compiler/dex/quick/x86/utility_x86.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/dex/quick/x86/utility_x86.cc b/compiler/dex/quick/x86/utility_x86.cc index fb85318..e9592a6 100644 --- a/compiler/dex/quick/x86/utility_x86.cc +++ b/compiler/dex/quick/x86/utility_x86.cc @@ -866,6 +866,9 @@ void X86Mir2Lir::AnalyzeExtendedMIR(int opcode, BasicBlock * bb, MIR *mir) { case kMirOpFusedCmpgDouble: AnalyzeFPInstruction(opcode, bb, mir); break; + case kMirOpConstVector: + store_method_addr_ = true; + break; default: // Ignore the rest. break; |