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

Side by Side Diff: src/mips/ic-mips.cc

Issue 23534011: MIPS: VFP cleanup now that VFP2 is the baseline. (Closed) Base URL: git@github.com:paul99/v8m-rb.git@master
Patch Set: Created 7 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 __ LoadRoot(at, Heap::kFixedDoubleArrayMapRootIndex); 1231 __ LoadRoot(at, Heap::kFixedDoubleArrayMapRootIndex);
1232 __ Branch(slow, ne, elements_map, Operand(at)); 1232 __ Branch(slow, ne, elements_map, Operand(at));
1233 } 1233 }
1234 __ bind(&fast_double_without_map_check); 1234 __ bind(&fast_double_without_map_check);
1235 __ StoreNumberToDoubleElements(value, 1235 __ StoreNumberToDoubleElements(value,
1236 key, 1236 key,
1237 elements, // Overwritten. 1237 elements, // Overwritten.
1238 a3, // Scratch regs... 1238 a3, // Scratch regs...
1239 t0, 1239 t0,
1240 t1, 1240 t1,
1241 t2,
1242 &transition_double_elements); 1241 &transition_double_elements);
1243 if (increment_length == kIncrementLength) { 1242 if (increment_length == kIncrementLength) {
1244 // Add 1 to receiver->length. 1243 // Add 1 to receiver->length.
1245 __ Addu(scratch_value, key, Operand(Smi::FromInt(1))); 1244 __ Addu(scratch_value, key, Operand(Smi::FromInt(1)));
1246 __ sw(scratch_value, FieldMemOperand(receiver, JSArray::kLengthOffset)); 1245 __ sw(scratch_value, FieldMemOperand(receiver, JSArray::kLengthOffset));
1247 } 1246 }
1248 __ Ret(); 1247 __ Ret();
1249 1248
1250 __ bind(&transition_smi_elements); 1249 __ bind(&transition_smi_elements);
1251 // Transition the array appropriately depending on the value type. 1250 // Transition the array appropriately depending on the value type.
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 } else { 1659 } else {
1661 ASSERT(Assembler::IsBne(branch_instr)); 1660 ASSERT(Assembler::IsBne(branch_instr));
1662 patcher.ChangeBranchCondition(eq); 1661 patcher.ChangeBranchCondition(eq);
1663 } 1662 }
1664 } 1663 }
1665 1664
1666 1665
1667 } } // namespace v8::internal 1666 } } // namespace v8::internal
1668 1667
1669 #endif // V8_TARGET_ARCH_MIPS 1668 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698