Backed out changeset d8a111f0fb64 (bug 1115388)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 30 Dec 2014 15:26:56 +0100
changeset 247478 0d28603f938ad50ccd0a8c348ae9c01476d9aa90
parent 247477 8380f052db41109b92f364d1bd06963ff2b13c05
child 247479 bbb0b9dffd36659512f58881dfb5a629ee1248ce
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1115388
milestone37.0a1
backs outd8a111f0fb640baa50e3b485b364bfd9dcdebbdf
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset d8a111f0fb64 (bug 1115388)
js/src/jit/MIR.h
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -1317,17 +1317,16 @@ class MConstant : public MNullaryInstruc
 // Generic constructor of SIMD valuesX4.
 class MSimdValueX4 : public MQuaternaryInstruction
 {
   protected:
     MSimdValueX4(MIRType type, MDefinition *x, MDefinition *y, MDefinition *z, MDefinition *w)
       : MQuaternaryInstruction(x, y, z, w)
     {
         MOZ_ASSERT(IsSimdType(type));
-        MOZ_ASSERT(SimdTypeToLength(type) == 4);
         mozilla::DebugOnly<MIRType> scalarType = SimdTypeToScalarType(type);
         MOZ_ASSERT(scalarType == x->type());
         MOZ_ASSERT(scalarType == y->type());
         MOZ_ASSERT(scalarType == z->type());
         MOZ_ASSERT(scalarType == w->type());
 
         setMovable();
         setResultType(type);
@@ -1337,20 +1336,16 @@ class MSimdValueX4 : public MQuaternaryI
     INSTRUCTION_HEADER(SimdValueX4)
 
     static MSimdValueX4 *New(TempAllocator &alloc, MIRType type, MDefinition *x,
                              MDefinition *y, MDefinition *z, MDefinition *w)
     {
         return new(alloc) MSimdValueX4(type, x, y, z, w);
     }
 
-    bool canConsumeFloat32(MUse *use) const {
-        return SimdTypeToScalarType(type()) == MIRType_Float32;
-    }
-
     AliasSet getAliasSet() const {
         return AliasSet::None();
     }
 
     bool congruentTo(const MDefinition *ins) const {
         return congruentIfOperandsEqual(ins);
     }
 
@@ -1377,20 +1372,16 @@ class MSimdSplatX4 : public MUnaryInstru
   public:
     INSTRUCTION_HEADER(SimdSplatX4)
 
     static MSimdSplatX4 *New(TempAllocator &alloc, MIRType type, MDefinition *v)
     {
         return new(alloc) MSimdSplatX4(type, v);
     }
 
-    bool canConsumeFloat32(MUse *use) const {
-        return SimdTypeToScalarType(type()) == MIRType_Float32;
-    }
-
     AliasSet getAliasSet() const {
         return AliasSet::None();
     }
 
     bool congruentTo(const MDefinition *ins) const {
         return congruentIfOperandsEqual(ins);
     }
 
@@ -1562,20 +1553,16 @@ class MSimdInsertElement : public MBinar
     }
     MDefinition *value() {
         return getOperand(1);
     }
     SimdLane lane() const {
         return lane_;
     }
 
-    bool canConsumeFloat32(MUse *use) const {
-        return use == getUseFor(1) && SimdTypeToScalarType(type()) == MIRType_Float32;
-    }
-
     AliasSet getAliasSet() const {
         return AliasSet::None();
     }
 
     bool congruentTo(const MDefinition *ins) const {
         return binaryCongruentTo(ins) && lane_ == ins->toSimdInsertElement()->lane();
     }