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/compiler/mips64/instruction-selector-mips64.cc

Issue 2778203002: MIPS[64]: Support for some SIMD operations (4) (Closed)
Patch Set: Created 3 years, 9 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
Index: src/compiler/mips64/instruction-selector-mips64.cc
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc
index e8f8c53273ea42a1e391d21053edf7bd2a53361d..cd35caf09f4ab35c813fc9e58fd0e9361293f8d9 100644
--- a/src/compiler/mips64/instruction-selector-mips64.cc
+++ b/src/compiler/mips64/instruction-selector-mips64.cc
@@ -2642,6 +2642,74 @@ void InstructionSelector::VisitAtomicCompareExchange(Node* node) {
UNIMPLEMENTED();
}
+void InstructionSelector::VisitFloat32x4Abs(Node* node) {
+ VisitRR(this, kMips64Float32x4Abs, node);
+}
+
+void InstructionSelector::VisitFloat32x4Neg(Node* node) {
+ VisitRR(this, kMips64Float32x4Neg, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipApprox(Node* node) {
+ VisitRR(this, kMips64Float32x4RecipApprox, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipRefine(Node* node) {
+ VisitRRR(this, kMips64Float32x4RecipRefine, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipSqrtApprox(Node* node) {
+ VisitRR(this, kMips64Float32x4RecipSqrtApprox, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipSqrtRefine(Node* node) {
+ VisitRRR(this, kMips64Float32x4RecipSqrtRefine, node);
+}
+
+void InstructionSelector::VisitFloat32x4Add(Node* node) {
+ VisitRRR(this, kMips64Float32x4Add, node);
+}
+
+void InstructionSelector::VisitFloat32x4Sub(Node* node) {
+ VisitRRR(this, kMips64Float32x4Sub, node);
+}
+
+void InstructionSelector::VisitFloat32x4Mul(Node* node) {
+ VisitRRR(this, kMips64Float32x4Mul, node);
+}
+
+void InstructionSelector::VisitFloat32x4Max(Node* node) {
+ VisitRRR(this, kMips64Float32x4Max, node);
+}
+
+void InstructionSelector::VisitFloat32x4Min(Node* node) {
+ VisitRRR(this, kMips64Float32x4Min, node);
+}
+
+void InstructionSelector::VisitFloat32x4Equal(Node* node) {
+ VisitRRR(this, kMips64Float32xEqual, node);
+}
+
+void InstructionSelector::VisitFloat32x4NotEqual(Node* node) {
+ VisitRRR(this, kMips64Float32x4NotEqual, node);
+}
+
+void InstructionSelector::VisitFloat32x4LessThan(Node* node) {
+ VisitRRR(this, kMips64Float32xLessThan, node);
+}
+
+void InstructionSelector::VisitFloat32x4LessThanOrEqual(Node* node) {
+ VisitRRR(this, kMips64Float32xLessThanOrEqual, node);
+}
+
+void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) {
+ VisitRR(this, kMips64Int32x4FromFloat32x4, node);
+}
+
+void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) {
+ VisitRR(this, kMips64Uint32x4FromFloat32x4, node);
+}
+
// static
MachineOperatorBuilder::Flags
InstructionSelector::SupportedMachineOperatorFlags() {

Powered by Google App Engine
This is Rietveld 408576698