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

Side by Side Diff: src/mips/macro-assembler-mips.cc

Issue 531033003: MIPS: Minor-key-ify four stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 // Call stub on end of buffer. 388 // Call stub on end of buffer.
389 // Check for end of buffer. 389 // Check for end of buffer.
390 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit)); 390 And(t8, scratch, Operand(StoreBuffer::kStoreBufferOverflowBit));
391 if (and_then == kFallThroughAtEnd) { 391 if (and_then == kFallThroughAtEnd) {
392 Branch(&done, eq, t8, Operand(zero_reg)); 392 Branch(&done, eq, t8, Operand(zero_reg));
393 } else { 393 } else {
394 DCHECK(and_then == kReturnAtEnd); 394 DCHECK(and_then == kReturnAtEnd);
395 Ret(eq, t8, Operand(zero_reg)); 395 Ret(eq, t8, Operand(zero_reg));
396 } 396 }
397 push(ra); 397 push(ra);
398 StoreBufferOverflowStub store_buffer_overflow = 398 StoreBufferOverflowStub store_buffer_overflow(isolate(), fp_mode);
399 StoreBufferOverflowStub(isolate(), fp_mode);
400 CallStub(&store_buffer_overflow); 399 CallStub(&store_buffer_overflow);
401 pop(ra); 400 pop(ra);
402 bind(&done); 401 bind(&done);
403 if (and_then == kReturnAtEnd) { 402 if (and_then == kReturnAtEnd) {
404 Ret(); 403 Ret();
405 } 404 }
406 } 405 }
407 406
408 407
409 // ----------------------------------------------------------------------------- 408 // -----------------------------------------------------------------------------
(...skipping 5707 matching lines...) Expand 10 before | Expand all | Expand 10 after
6117 } 6116 }
6118 if (ms.shift() > 0) sra(result, result, ms.shift()); 6117 if (ms.shift() > 0) sra(result, result, ms.shift());
6119 srl(at, dividend, 31); 6118 srl(at, dividend, 31);
6120 Addu(result, result, Operand(at)); 6119 Addu(result, result, Operand(at));
6121 } 6120 }
6122 6121
6123 6122
6124 } } // namespace v8::internal 6123 } } // namespace v8::internal
6125 6124
6126 #endif // V8_TARGET_ARCH_MIPS 6125 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698