Index: dart/runtime/vm/intermediate_language_mips.cc |
=================================================================== |
--- dart/runtime/vm/intermediate_language_mips.cc (revision 29808) |
+++ dart/runtime/vm/intermediate_language_mips.cc (working copy) |
@@ -1039,8 +1039,8 @@ |
return CompileType::FromCid(kDoubleCid); |
case kTypedDataFloat32x4ArrayCid: |
return CompileType::FromCid(kFloat32x4Cid); |
- case kTypedDataUint32x4ArrayCid: |
- return CompileType::FromCid(kUint32x4Cid); |
+ case kTypedDataInt32x4ArrayCid: |
+ return CompileType::FromCid(kInt32x4Cid); |
case kTypedDataInt8ArrayCid: |
case kTypedDataUint8ArrayCid: |
@@ -1090,8 +1090,8 @@ |
case kTypedDataFloat32ArrayCid: |
case kTypedDataFloat64ArrayCid: |
return kUnboxedDouble; |
- case kTypedDataUint32x4ArrayCid: |
- return kUnboxedUint32x4; |
+ case kTypedDataInt32x4ArrayCid: |
+ return kUnboxedInt32x4; |
case kTypedDataFloat32x4ArrayCid: |
return kUnboxedFloat32x4; |
default: |
@@ -1113,7 +1113,7 @@ |
locs->set_in(1, Location::WritableRegister()); |
if ((representation() == kUnboxedDouble) || |
(representation() == kUnboxedFloat32x4) || |
- (representation() == kUnboxedUint32x4)) { |
+ (representation() == kUnboxedInt32x4)) { |
locs->set_out(Location::RequiresFpuRegister()); |
} else { |
locs->set_out(Location::RequiresRegister()); |
@@ -1173,7 +1173,7 @@ |
if ((representation() == kUnboxedDouble) || |
(representation() == kUnboxedMint) || |
(representation() == kUnboxedFloat32x4) || |
- (representation() == kUnboxedUint32x4)) { |
+ (representation() == kUnboxedInt32x4)) { |
DRegister result = locs()->out().fpu_reg(); |
switch (class_id()) { |
case kTypedDataInt32ArrayCid: |
@@ -1191,7 +1191,7 @@ |
__ LoadDFromOffset(result, index.reg(), |
FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag); |
break; |
- case kTypedDataUint32x4ArrayCid: |
+ case kTypedDataInt32x4ArrayCid: |
case kTypedDataFloat32x4ArrayCid: |
UNIMPLEMENTED(); |
break; |
@@ -1275,8 +1275,8 @@ |
return kUnboxedDouble; |
case kTypedDataFloat32x4ArrayCid: |
return kUnboxedFloat32x4; |
- case kTypedDataUint32x4ArrayCid: |
- return kUnboxedUint32x4; |
+ case kTypedDataInt32x4ArrayCid: |
+ return kUnboxedInt32x4; |
default: |
UNIMPLEMENTED(); |
return kTagged; |
@@ -1318,7 +1318,7 @@ |
locs->AddTemp(Location::RequiresFpuRegister()); |
// Fall through. |
case kTypedDataFloat64ArrayCid: // TODO(srdjan): Support Float64 constants. |
- case kTypedDataUint32x4ArrayCid: |
+ case kTypedDataInt32x4ArrayCid: |
case kTypedDataFloat32x4ArrayCid: |
locs->set_in(2, Location::RequiresFpuRegister()); |
break; |
@@ -1458,7 +1458,7 @@ |
__ StoreDToOffset(locs()->in(2).fpu_reg(), index.reg(), |
FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag); |
break; |
- case kTypedDataUint32x4ArrayCid: |
+ case kTypedDataInt32x4ArrayCid: |
case kTypedDataFloat32x4ArrayCid: |
UNIMPLEMENTED(); |
break; |
@@ -1586,7 +1586,7 @@ |
__ BranchSignedLess(CMPRES1, 0, &skip_length_check); |
__ BranchEqual(value_cid_reg, kNullCid, &no_fixed_length); |
// Check for typed data array. |
- __ BranchSignedGreater(value_cid_reg, kTypedDataUint32x4ArrayCid, |
+ __ BranchSignedGreater(value_cid_reg, kTypedDataInt32x4ArrayCid, |
&no_fixed_length); |
__ BranchSignedLess(value_cid_reg, kTypedDataInt8ArrayCid, |
&check_array); |
@@ -1662,7 +1662,7 @@ |
Label check_array, length_set, no_fixed_length; |
__ BranchEqual(value_cid_reg, kNullCid, &no_fixed_length); |
// Check for typed data array. |
- __ BranchSignedGreater(value_cid_reg, kTypedDataUint32x4ArrayCid, |
+ __ BranchSignedGreater(value_cid_reg, kTypedDataInt32x4ArrayCid, |
&no_fixed_length); |
__ BranchSignedLess(value_cid_reg, kTypedDataInt8ArrayCid, |
&check_array); |
@@ -2910,24 +2910,24 @@ |
} |
-LocationSummary* BoxUint32x4Instr::MakeLocationSummary() const { |
+LocationSummary* BoxInt32x4Instr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void BoxUint32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void BoxInt32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* UnboxUint32x4Instr::MakeLocationSummary() const { |
+LocationSummary* UnboxInt32x4Instr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void UnboxUint32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void UnboxInt32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
@@ -3102,35 +3102,35 @@ |
} |
-LocationSummary* Float32x4ToUint32x4Instr::MakeLocationSummary() const { |
+LocationSummary* Float32x4ToInt32x4Instr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Float32x4ToUint32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Float32x4ToInt32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* Uint32x4BoolConstructorInstr::MakeLocationSummary() const { |
+LocationSummary* Int32x4BoolConstructorInstr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Uint32x4BoolConstructorInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Int32x4BoolConstructorInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* Uint32x4GetFlagInstr::MakeLocationSummary() const { |
+LocationSummary* Int32x4GetFlagInstr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Uint32x4GetFlagInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Int32x4GetFlagInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
@@ -3146,46 +3146,46 @@ |
} |
-LocationSummary* Uint32x4SelectInstr::MakeLocationSummary() const { |
+LocationSummary* Int32x4SelectInstr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Uint32x4SelectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Int32x4SelectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* Uint32x4SetFlagInstr::MakeLocationSummary() const { |
+LocationSummary* Int32x4SetFlagInstr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Uint32x4SetFlagInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Int32x4SetFlagInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* Uint32x4ToFloat32x4Instr::MakeLocationSummary() const { |
+LocationSummary* Int32x4ToFloat32x4Instr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void Uint32x4ToFloat32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void Int32x4ToFloat32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |
-LocationSummary* BinaryUint32x4OpInstr::MakeLocationSummary() const { |
+LocationSummary* BinaryInt32x4OpInstr::MakeLocationSummary() const { |
UNIMPLEMENTED(); |
return NULL; |
} |
-void BinaryUint32x4OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
+void BinaryInt32x4OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
UNIMPLEMENTED(); |
} |