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

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

Issue 700053003: Set the FPU precision control to double-precision. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 1 month 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/x87/lithium-codegen-x87.cc ('k') | 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 // The contents of the scratch register will be overwritten. 418 // The contents of the scratch register will be overwritten.
419 void IsInstanceJSObjectType(Register map, Register scratch, Label* fail); 419 void IsInstanceJSObjectType(Register map, Register scratch, Label* fail);
420 420
421 // FCmp is similar to integer cmp, but requires unsigned 421 // FCmp is similar to integer cmp, but requires unsigned
422 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 422 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
423 void FCmp(); 423 void FCmp();
424 void FXamMinusZero(); 424 void FXamMinusZero();
425 void FXamSign(); 425 void FXamSign();
426 void X87CheckIA(); 426 void X87CheckIA();
427 void X87SetRC(int rc); 427 void X87SetRC(int rc);
428 void X87SetFPUCW(int cw);
428 429
429 void ClampUint8(Register reg); 430 void ClampUint8(Register reg);
430 void ClampTOSToUint8(Register result_reg); 431 void ClampTOSToUint8(Register result_reg);
431 432
432 void SlowTruncateToI(Register result_reg, Register input_reg, 433 void SlowTruncateToI(Register result_reg, Register input_reg,
433 int offset = HeapNumber::kValueOffset - kHeapObjectTag); 434 int offset = HeapNumber::kValueOffset - kHeapObjectTag);
434 435
435 void TruncateHeapNumberToI(Register result_reg, Register input_reg); 436 void TruncateHeapNumberToI(Register result_reg, Register input_reg);
436 void TruncateX87TOSToI(Register result_reg); 437 void TruncateX87TOSToI(Register result_reg);
437 438
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 } \ 1076 } \
1076 masm-> 1077 masm->
1077 #else 1078 #else
1078 #define ACCESS_MASM(masm) masm-> 1079 #define ACCESS_MASM(masm) masm->
1079 #endif 1080 #endif
1080 1081
1081 1082
1082 } } // namespace v8::internal 1083 } } // namespace v8::internal
1083 1084
1084 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1085 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698