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

Unified Diff: src/compiler/mips/instruction-selector-mips.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/mips/instruction-selector-mips.cc
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc
index a3cbfad548f29a3c934b0cac954386d5f3ac2f37..7528ac5cbb7de13bda024ec732e293bf098f5a84 100644
--- a/src/compiler/mips/instruction-selector-mips.cc
+++ b/src/compiler/mips/instruction-selector-mips.cc
@@ -1891,6 +1891,74 @@ void InstructionSelector::VisitAtomicCompareExchange(Node* node) {
UNIMPLEMENTED();
}
+void InstructionSelector::VisitFloat32x4Abs(Node* node) {
+ VisitRR(this, kMipsFloat32x4Abs, node);
+}
+
+void InstructionSelector::VisitFloat32x4Neg(Node* node) {
+ VisitRR(this, kMipsFloat32x4Neg, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipApprox(Node* node) {
+ VisitRR(this, kMipsFloat32x4RecipApprox, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipRefine(Node* node) {
+ VisitRRR(this, kMipsFloat32x4RecipRefine, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipSqrtApprox(Node* node) {
+ VisitRR(this, kMipsFloat32x4RecipSqrtApprox, node);
+}
+
+void InstructionSelector::VisitFloat32x4RecipSqrtRefine(Node* node) {
+ VisitRRR(this, kMipsFloat32x4RecipSqrtRefine, node);
+}
+
+void InstructionSelector::VisitFloat32x4Add(Node* node) {
+ VisitRRR(this, kMipsFloat32x4Add, node);
+}
+
+void InstructionSelector::VisitFloat32x4Sub(Node* node) {
+ VisitRRR(this, kMipsFloat32x4Sub, node);
+}
+
+void InstructionSelector::VisitFloat32x4Mul(Node* node) {
+ VisitRRR(this, kMipsFloat32x4Mul, node);
+}
+
+void InstructionSelector::VisitFloat32x4Max(Node* node) {
+ VisitRRR(this, kMipsFloat32x4Max, node);
+}
+
+void InstructionSelector::VisitFloat32x4Min(Node* node) {
+ VisitRRR(this, kMipsFloat32x4Min, node);
+}
+
+void InstructionSelector::VisitFloat32x4Equal(Node* node) {
+ VisitRRR(this, kMipsFloat32xEqual, node);
+}
+
+void InstructionSelector::VisitFloat32x4NotEqual(Node* node) {
+ VisitRRR(this, kMipsFloat32x4NotEqual, node);
+}
+
+void InstructionSelector::VisitFloat32x4LessThan(Node* node) {
+ VisitRRR(this, kMipsFloat32xLessThan, node);
+}
+
+void InstructionSelector::VisitFloat32x4LessThanOrEqual(Node* node) {
+ VisitRRR(this, kMipsFloat32xLessThanOrEqual, node);
+}
+
+void InstructionSelector::VisitInt32x4FromFloat32x4(Node* node) {
+ VisitRR(this, kMipsInt32x4FromFloat32x4, node);
+}
+
+void InstructionSelector::VisitUint32x4FromFloat32x4(Node* node) {
+ VisitRR(this, kMipsUint32x4FromFloat32x4, node);
+}
+
// static
MachineOperatorBuilder::Flags
InstructionSelector::SupportedMachineOperatorFlags() {

Powered by Google App Engine
This is Rietveld 408576698