Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 19346af04bf29fd205e87a109cac20f962e79a7b..40020429f431394e79a39803e3ee4754ec5ace08 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -478,7 +478,7 @@ void ConvertToDoubleStub::Generate(MacroAssembler* masm) { |
__ And(exponent, source_, Operand(HeapNumber::kSignMask)); |
// Subtract from 0 if source was negative. |
__ subu(at, zero_reg, source_); |
- __ movn(source_, at, exponent); |
+ __ Movn(source_, at, exponent); |
// We have -1, 0 or 1, which we treat specially. Register source_ contains |
// absolute value: it is either equal to 1 (special case of -1 and 1), |
@@ -490,7 +490,7 @@ void ConvertToDoubleStub::Generate(MacroAssembler* masm) { |
HeapNumber::kExponentBias << HeapNumber::kExponentShift; |
// Safe to use 'at' as dest reg here. |
__ Or(at, exponent, Operand(exponent_word_for_1)); |
- __ movn(exponent, at, source_); // Write exp when source not 0. |
+ __ Movn(exponent, at, source_); // Write exp when source not 0. |
// 1, 0 and -1 all have 0 for the second word. |
__ mov(mantissa, zero_reg); |
__ Ret(); |
@@ -498,7 +498,7 @@ void ConvertToDoubleStub::Generate(MacroAssembler* masm) { |
__ bind(¬_special); |
// Count leading zeros. |
// Gets the wrong answer for 0, but we already checked for that case above. |
- __ clz(zeros_, source_); |
+ __ Clz(zeros_, source_); |
// Compute exponent and or it into the exponent register. |
// We use mantissa as a scratch register here. |
__ li(mantissa, Operand(31 + HeapNumber::kExponentBias)); |
@@ -721,7 +721,7 @@ void FloatingPointHelper::ConvertIntToDouble(MacroAssembler* masm, |
// Get mantissa[51:20]. |
// Get the position of the first set bit. |
- __ clz(dst1, int_scratch); |
+ __ Clz(dst1, int_scratch); |
__ li(scratch2, 31); |
__ Subu(dst1, scratch2, dst1); |
@@ -1079,7 +1079,7 @@ void WriteInt32ToHeapNumberStub::Generate(MacroAssembler* masm) { |
__ or_(scratch_, scratch_, sign_); |
// Subtract from 0 if the value was negative. |
__ subu(at, zero_reg, the_int_); |
- __ movn(the_int_, at, sign_); |
+ __ Movn(the_int_, at, sign_); |
// We should be masking the implict first digit of the mantissa away here, |
// but it just ends up combining harmlessly with the last digit of the |
// exponent that happens to be 1. The sign bit is 0 so we shift 10 to get |
@@ -1750,15 +1750,15 @@ void CompareStub::Generate(MacroAssembler* masm) { |
// Check if LESS condition is satisfied. If true, move conditionally |
// result to v0. |
__ c(OLT, D, f12, f14); |
- __ movt(v0, t0); |
+ __ Movt(v0, t0); |
// Use previous check to store conditionally to v0 oposite condition |
// (GREATER). If rhs is equal to lhs, this will be corrected in next |
// check. |
- __ movf(v0, t1); |
+ __ Movf(v0, t1); |
// Check if EQUAL condition is satisfied. If true, move conditionally |
// result to v0. |
__ c(EQ, D, f12, f14); |
- __ movt(v0, t2); |
+ __ Movt(v0, t2); |
__ Ret(); |
@@ -1899,7 +1899,7 @@ void ToBooleanStub::Generate(MacroAssembler* masm) { |
__ lbu(at, FieldMemOperand(map, Map::kBitFieldOffset)); |
__ And(at, at, Operand(1 << Map::kIsUndetectable)); |
// Undetectable -> false. |
- __ movn(tos_, zero_reg, at); |
+ __ Movn(tos_, zero_reg, at); |
__ Ret(ne, at, Operand(zero_reg)); |
} |
} |
@@ -1955,7 +1955,7 @@ void ToBooleanStub::CheckOddball(MacroAssembler* masm, |
// The value of a root is never NULL, so we can avoid loading a non-null |
// value into tos_ when we want to return 'true'. |
if (!result) { |
- __ movz(tos_, zero_reg, at); |
+ __ Movz(tos_, zero_reg, at); |
} |
__ Ret(eq, at, Operand(zero_reg)); |
} |
@@ -5008,7 +5008,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
__ lw(t9, FieldMemOperand(regexp_data, JSRegExp::kDataAsciiCodeOffset)); |
__ sra(a3, a0, 2); // a3 is 1 for ASCII, 0 for UC16 (used below). |
__ lw(t1, FieldMemOperand(regexp_data, JSRegExp::kDataUC16CodeOffset)); |
- __ movz(t9, t1, a0); // If UC16 (a0 is 0), replace t9 w/kDataUC16CodeOffset. |
+ __ Movz(t9, t1, a0); // If UC16 (a0 is 0), replace t9 w/kDataUC16CodeOffset. |
// Check that the irregexp code has been generated for the actual string |
// encoding. If it has, the field contains a code object otherwise it contains |
@@ -6037,7 +6037,7 @@ void StringHelper::GenerateHashGetHash(MacroAssembler* masm, |
// if (hash == 0) hash = 27; |
__ ori(at, zero_reg, StringHasher::kZeroHash); |
- __ movz(hash, at, hash); |
+ __ Movz(hash, at, hash); |
} |
@@ -6327,7 +6327,7 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
__ Subu(scratch3, scratch1, Operand(scratch2)); |
Register length_delta = scratch3; |
__ slt(scratch4, scratch2, scratch1); |
- __ movn(scratch1, scratch2, scratch4); |
+ __ Movn(scratch1, scratch2, scratch4); |
Register min_length = scratch1; |
STATIC_ASSERT(kSmiTag == 0); |
__ Branch(&compare_lengths, eq, min_length, Operand(zero_reg)); |
@@ -6485,7 +6485,7 @@ void StringAddStub::Generate(MacroAssembler* masm) { |
__ lw(a2, FieldMemOperand(a0, String::kLengthOffset)); |
__ lw(a3, FieldMemOperand(a1, String::kLengthOffset)); |
__ mov(v0, a0); // Assume we'll return first string (from a0). |
- __ movz(v0, a1, a2); // If first is empty, return second (from a1). |
+ __ Movz(v0, a1, a2); // If first is empty, return second (from a1). |
__ slt(t4, zero_reg, a2); // if (a2 > 0) t4 = 1. |
__ slt(t5, zero_reg, a3); // if (a3 > 0) t5 = 1. |
__ and_(t4, t4, t5); // Branch if both strings were non-empty. |