OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |