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

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

Issue 591393002: Made the detailed reason for deopts mandatory on ia32. Unified and improved things. (Closed) Base URL: https://v8.googlecode.com/svn/branches/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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 XMMRegister scratch_reg, 456 XMMRegister scratch_reg,
457 Register result_reg); 457 Register result_reg);
458 458
459 void SlowTruncateToI(Register result_reg, Register input_reg, 459 void SlowTruncateToI(Register result_reg, Register input_reg,
460 int offset = HeapNumber::kValueOffset - kHeapObjectTag); 460 int offset = HeapNumber::kValueOffset - kHeapObjectTag);
461 461
462 void TruncateHeapNumberToI(Register result_reg, Register input_reg); 462 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
463 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg); 463 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg);
464 464
465 void DoubleToI(Register result_reg, XMMRegister input_reg, 465 void DoubleToI(Register result_reg, XMMRegister input_reg,
466 XMMRegister scratch, MinusZeroMode minus_zero_mode, 466 XMMRegister scratch, MinusZeroMode minus_zero_mode,
467 Label* conversion_failed, Label::Distance dst = Label::kFar); 467 Label* lost_precision, Label* is_nan, Label* minus_zero,
468 Label::Distance dst = Label::kFar);
468 469
469 // Smi tagging support. 470 // Smi tagging support.
470 void SmiTag(Register reg) { 471 void SmiTag(Register reg) {
471 STATIC_ASSERT(kSmiTag == 0); 472 STATIC_ASSERT(kSmiTag == 0);
472 STATIC_ASSERT(kSmiTagSize == 1); 473 STATIC_ASSERT(kSmiTagSize == 1);
473 add(reg, reg); 474 add(reg, reg);
474 } 475 }
475 void SmiUntag(Register reg) { 476 void SmiUntag(Register reg) {
476 sar(reg, kSmiTagSize); 477 sar(reg, kSmiTagSize);
477 } 478 }
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 } \ 1103 } \
1103 masm-> 1104 masm->
1104 #else 1105 #else
1105 #define ACCESS_MASM(masm) masm-> 1106 #define ACCESS_MASM(masm) masm->
1106 #endif 1107 #endif
1107 1108
1108 1109
1109 } } // namespace v8::internal 1110 } } // namespace v8::internal
1110 1111
1111 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1112 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698