| 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 void incl(const Address& address); | 450 void incl(const Address& address); |
| 451 void decl(const Address& address); | 451 void decl(const Address& address); |
| 452 | 452 |
| 453 void incq(Register reg); | 453 void incq(Register reg); |
| 454 void incq(const Address& address); | 454 void incq(const Address& address); |
| 455 void decq(Register reg); | 455 void decq(Register reg); |
| 456 void decq(const Address& address); | 456 void decq(const Address& address); |
| 457 | 457 |
| 458 void negl(Register reg); | 458 void negl(Register reg); |
| 459 void negq(Register reg); | 459 void negq(Register reg); |
| 460 void notq(Register reg); |
| 460 | 461 |
| 461 void enter(const Immediate& imm); | 462 void enter(const Immediate& imm); |
| 462 void leave(); | 463 void leave(); |
| 463 void ret(); | 464 void ret(); |
| 464 | 465 |
| 466 void xorpd(XmmRegister dst, const Address& src); |
| 467 |
| 465 // 'size' indicates size in bytes and must be in the range 1..8. | 468 // 'size' indicates size in bytes and must be in the range 1..8. |
| 466 void nop(int size = 1); | 469 void nop(int size = 1); |
| 467 void int3(); | 470 void int3(); |
| 468 void hlt(); | 471 void hlt(); |
| 469 | 472 |
| 470 void j(Condition condition, Label* label, bool near = kFarJump); | 473 void j(Condition condition, Label* label, bool near = kFarJump); |
| 471 void j(Condition condition, const ExternalLabel* label); | 474 void j(Condition condition, const ExternalLabel* label); |
| 472 | 475 |
| 473 void jmp(Register reg); | 476 void jmp(Register reg); |
| 474 void jmp(Label* label, bool near = kFarJump); | 477 void jmp(Label* label, bool near = kFarJump); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 } | 650 } |
| 648 | 651 |
| 649 | 652 |
| 650 inline void Assembler::EmitOperandSizeOverride() { | 653 inline void Assembler::EmitOperandSizeOverride() { |
| 651 EmitUint8(0x66); | 654 EmitUint8(0x66); |
| 652 } | 655 } |
| 653 | 656 |
| 654 } // namespace dart | 657 } // namespace dart |
| 655 | 658 |
| 656 #endif // VM_ASSEMBLER_X64_H_ | 659 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |