Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: src/IceInstARM32.cpp

Issue 1640933002: ARM32 vector xor (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebasing Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstARM32.cpp
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp
index aa6f00f7ca3efdae6be9aa60bb0f2759c1c31143..8eca8cf010b7ddafb46fd34b31bc90e9faeecc4f 100644
--- a/src/IceInstARM32.cpp
+++ b/src/IceInstARM32.cpp
@@ -647,6 +647,11 @@ template <> void InstARM32Vdiv::emitIAS(const Cfg *Func) const {
template <> void InstARM32Veor::emitIAS(const Cfg *Func) const {
auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
const Variable *Dest = getDest();
+ if (isVectorType(Dest->getType())) {
+ // TODO(kschimpf): Add support for this case
+ emitUsingTextFixup(Func);
+ return;
+ }
assert(Dest->getType() == IceType_f64);
Asm->veord(Dest, getSrc(0), getSrc(1));
assert(!Asm->needsTextFixup());
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698