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

Side by Side Diff: src/x87/macro-assembler-x87.h

Issue 640523002: X87: [turbofan] IA: Uint32ToFloat64 supports mem operand. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 2 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 | « no previous file | src/x87/macro-assembler-x87.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 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 } 450 }
451 451
452 // Modifies the register even if it does not contain a Smi! 452 // Modifies the register even if it does not contain a Smi!
453 void SmiUntag(Register reg, Label* is_smi) { 453 void SmiUntag(Register reg, Label* is_smi) {
454 STATIC_ASSERT(kSmiTagSize == 1); 454 STATIC_ASSERT(kSmiTagSize == 1);
455 sar(reg, kSmiTagSize); 455 sar(reg, kSmiTagSize);
456 STATIC_ASSERT(kSmiTag == 0); 456 STATIC_ASSERT(kSmiTag == 0);
457 j(not_carry, is_smi); 457 j(not_carry, is_smi);
458 } 458 }
459 459
460 void LoadUint32NoSSE2(Register src); 460 void LoadUint32NoSSE2(Register src) {
461 LoadUint32NoSSE2(Operand(src));
462 }
463 void LoadUint32NoSSE2(const Operand& src);
461 464
462 // Jump the register contains a smi. 465 // Jump the register contains a smi.
463 inline void JumpIfSmi(Register value, 466 inline void JumpIfSmi(Register value,
464 Label* smi_label, 467 Label* smi_label,
465 Label::Distance distance = Label::kFar) { 468 Label::Distance distance = Label::kFar) {
466 test(value, Immediate(kSmiTagMask)); 469 test(value, Immediate(kSmiTagMask));
467 j(zero, smi_label, distance); 470 j(zero, smi_label, distance);
468 } 471 }
469 // Jump if the operand is a smi. 472 // Jump if the operand is a smi.
470 inline void JumpIfSmi(Operand value, 473 inline void JumpIfSmi(Operand value,
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 } \ 1074 } \
1072 masm-> 1075 masm->
1073 #else 1076 #else
1074 #define ACCESS_MASM(masm) masm-> 1077 #define ACCESS_MASM(masm) masm->
1075 #endif 1078 #endif
1076 1079
1077 1080
1078 } } // namespace v8::internal 1081 } } // namespace v8::internal
1079 1082
1080 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1083 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698