| 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_X64_H_ | 5 #ifndef VM_ASSEMBLER_X64_H_ |
| 6 #define VM_ASSEMBLER_X64_H_ | 6 #define VM_ASSEMBLER_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_x64.h directly; use assembler.h instead. | 9 #error Do not include assembler_x64.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 void DoubleAbs(XmmRegister reg); | 504 void DoubleAbs(XmmRegister reg); |
| 505 | 505 |
| 506 void LockCmpxchgl(const Address& address, Register reg) { | 506 void LockCmpxchgl(const Address& address, Register reg) { |
| 507 lock(); | 507 lock(); |
| 508 cmpxchgl(address, reg); | 508 cmpxchgl(address, reg); |
| 509 } | 509 } |
| 510 | 510 |
| 511 void EnterFrame(intptr_t frame_space); | 511 void EnterFrame(intptr_t frame_space); |
| 512 void LeaveFrame(); | 512 void LeaveFrame(); |
| 513 | 513 |
| 514 void CallRuntimeFromDart(const RuntimeEntry& entry); | 514 void CallRuntime(const RuntimeEntry& entry); |
| 515 void CallRuntimeFromStub(const RuntimeEntry& entry); | |
| 516 | 515 |
| 517 /* | 516 /* |
| 518 * Misc. functionality. | 517 * Misc. functionality. |
| 519 */ | 518 */ |
| 520 void SmiTag(Register reg) { | 519 void SmiTag(Register reg) { |
| 521 addq(reg, reg); | 520 addq(reg, reg); |
| 522 } | 521 } |
| 523 | 522 |
| 524 void SmiUntag(Register reg) { | 523 void SmiUntag(Register reg) { |
| 525 sarq(reg, Immediate(kSmiTagSize)); | 524 sarq(reg, Immediate(kSmiTagSize)); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 } | 611 } |
| 613 | 612 |
| 614 | 613 |
| 615 inline void Assembler::EmitOperandSizeOverride() { | 614 inline void Assembler::EmitOperandSizeOverride() { |
| 616 EmitUint8(0x66); | 615 EmitUint8(0x66); |
| 617 } | 616 } |
| 618 | 617 |
| 619 } // namespace dart | 618 } // namespace dart |
| 620 | 619 |
| 621 #endif // VM_ASSEMBLER_X64_H_ | 620 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |