| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 void decq(const Address& address); | 457 void decq(const Address& address); |
| 458 | 458 |
| 459 void negl(Register reg); | 459 void negl(Register reg); |
| 460 void negq(Register reg); | 460 void negq(Register reg); |
| 461 void notq(Register reg); | 461 void notq(Register reg); |
| 462 | 462 |
| 463 void enter(const Immediate& imm); | 463 void enter(const Immediate& imm); |
| 464 void leave(); | 464 void leave(); |
| 465 void ret(); | 465 void ret(); |
| 466 | 466 |
| 467 void sqrtsd(XmmRegister dst, XmmRegister src); |
| 468 |
| 467 void xorpd(XmmRegister dst, const Address& src); | 469 void xorpd(XmmRegister dst, const Address& src); |
| 468 | 470 |
| 469 // 'size' indicates size in bytes and must be in the range 1..8. | 471 // 'size' indicates size in bytes and must be in the range 1..8. |
| 470 void nop(int size = 1); | 472 void nop(int size = 1); |
| 471 void int3(); | 473 void int3(); |
| 472 void hlt(); | 474 void hlt(); |
| 473 | 475 |
| 474 void j(Condition condition, Label* label, bool near = kFarJump); | 476 void j(Condition condition, Label* label, bool near = kFarJump); |
| 475 void j(Condition condition, const ExternalLabel* label); | 477 void j(Condition condition, const ExternalLabel* label); |
| 476 | 478 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 } | 659 } |
| 658 | 660 |
| 659 | 661 |
| 660 inline void Assembler::EmitOperandSizeOverride() { | 662 inline void Assembler::EmitOperandSizeOverride() { |
| 661 EmitUint8(0x66); | 663 EmitUint8(0x66); |
| 662 } | 664 } |
| 663 | 665 |
| 664 } // namespace dart | 666 } // namespace dart |
| 665 | 667 |
| 666 #endif // VM_ASSEMBLER_X64_H_ | 668 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |