| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_ASSEMBLER_IA32_H_ | 5 #ifndef VM_ASSEMBLER_IA32_H_ |
| 6 #define VM_ASSEMBLER_IA32_H_ | 6 #define VM_ASSEMBLER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. | 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 void andpd(XmmRegister dst, XmmRegister src); | 393 void andpd(XmmRegister dst, XmmRegister src); |
| 394 | 394 |
| 395 void orpd(XmmRegister dst, XmmRegister src); | 395 void orpd(XmmRegister dst, XmmRegister src); |
| 396 | 396 |
| 397 void pextrd(Register dst, XmmRegister src, const Immediate& imm); | 397 void pextrd(Register dst, XmmRegister src, const Immediate& imm); |
| 398 void pmovsxdq(XmmRegister dst, XmmRegister src); | 398 void pmovsxdq(XmmRegister dst, XmmRegister src); |
| 399 void pcmpeqq(XmmRegister dst, XmmRegister src); | 399 void pcmpeqq(XmmRegister dst, XmmRegister src); |
| 400 | 400 |
| 401 void pxor(XmmRegister dst, XmmRegister src); | 401 void pxor(XmmRegister dst, XmmRegister src); |
| 402 | 402 |
| 403 enum RoundingMode { |
| 404 kRoundToNearest = 0x0, |
| 405 kRoundDown = 0x1, |
| 406 kRoundUp = 0x2, |
| 407 kRoundToZero = 0x3 |
| 408 }; |
| 409 void roundsd(XmmRegister dst, XmmRegister src, RoundingMode mode); |
| 410 |
| 403 void flds(const Address& src); | 411 void flds(const Address& src); |
| 404 void fstps(const Address& dst); | 412 void fstps(const Address& dst); |
| 405 | 413 |
| 406 void fldl(const Address& src); | 414 void fldl(const Address& src); |
| 407 void fstpl(const Address& dst); | 415 void fstpl(const Address& dst); |
| 408 | 416 |
| 409 void fnstcw(const Address& dst); | 417 void fnstcw(const Address& dst); |
| 410 void fldcw(const Address& src); | 418 void fldcw(const Address& src); |
| 411 | 419 |
| 412 void fistpl(const Address& dst); | 420 void fistpl(const Address& dst); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 const Object& value); | 563 const Object& value); |
| 556 | 564 |
| 557 void TraceStoreIntoObject(Register object, | 565 void TraceStoreIntoObject(Register object, |
| 558 const FieldAddress& dest, | 566 const FieldAddress& dest, |
| 559 Register value); | 567 Register value); |
| 560 | 568 |
| 561 void DoubleNegate(XmmRegister d); | 569 void DoubleNegate(XmmRegister d); |
| 562 void FloatNegate(XmmRegister f); | 570 void FloatNegate(XmmRegister f); |
| 563 | 571 |
| 564 void DoubleAbs(XmmRegister reg); | 572 void DoubleAbs(XmmRegister reg); |
| 573 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp); |
| 565 | 574 |
| 566 void LockCmpxchgl(const Address& address, Register reg) { | 575 void LockCmpxchgl(const Address& address, Register reg) { |
| 567 lock(); | 576 lock(); |
| 568 cmpxchgl(address, reg); | 577 cmpxchgl(address, reg); |
| 569 } | 578 } |
| 570 | 579 |
| 571 void EnterFrame(intptr_t frame_space); | 580 void EnterFrame(intptr_t frame_space); |
| 572 void LeaveFrame(); | 581 void LeaveFrame(); |
| 573 void ReserveAlignedFrameSpace(intptr_t frame_space); | 582 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 574 | 583 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 } | 710 } |
| 702 | 711 |
| 703 | 712 |
| 704 inline void Assembler::EmitOperandSizeOverride() { | 713 inline void Assembler::EmitOperandSizeOverride() { |
| 705 EmitUint8(0x66); | 714 EmitUint8(0x66); |
| 706 } | 715 } |
| 707 | 716 |
| 708 } // namespace dart | 717 } // namespace dart |
| 709 | 718 |
| 710 #endif // VM_ASSEMBLER_IA32_H_ | 719 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |