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

Unified Diff: src/IceAssemblerARM32.h

Issue 1540653003: Add VADD instruction to the ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits and show extracted DART code. Created 5 years 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
Index: src/IceAssemblerARM32.h
diff --git a/src/IceAssemblerARM32.h b/src/IceAssemblerARM32.h
index 46478b63957346769942f50146a5e0b734528523..6b7db9df32eab8c4056fc1978062e6affe33c69f 100644
--- a/src/IceAssemblerARM32.h
+++ b/src/IceAssemblerARM32.h
@@ -318,6 +318,12 @@ public:
// Implements uxtb/uxth depending on type of OpSrc0.
void uxt(const Operand *OpRd, const Operand *OpSrc0, CondARM32::Cond Cond);
+ void vaddd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
+ CondARM32::Cond Cond);
+
+ void vadds(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
+ CondARM32::Cond Cond);
+
void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs,
CondARM32::Cond Cond);
@@ -469,6 +475,14 @@ private:
// iiiiiiiiiiiiiiii=Imm16.
void emitMovwt(CondARM32::Cond Cond, bool IsMovw, const Operand *OpRd,
const Operand *OpSrc, const char *MovName);
+
+ // Emit VFP instruction with 3 D registers.
+ void emitVFPddd(CondARM32::Cond Cond, IValueT Opcode, IValueT Dd, IValueT Dn,
+ IValueT Dm, const char *InstName);
+
+ // Emit VFP instruction with 3 S registers.
+ void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
+ IValueT Sm, const char *InstName);
};
} // end of namespace ARM32

Powered by Google App Engine
This is Rietveld 408576698