| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 | 493 |
| 494 void CompareImmediate(Register reg, const Immediate& imm, Register pp); | 494 void CompareImmediate(Register reg, const Immediate& imm, Register pp); |
| 495 void CompareImmediate(const Address& address, const Immediate& imm, | 495 void CompareImmediate(const Address& address, const Immediate& imm, |
| 496 Register pp); | 496 Register pp); |
| 497 | 497 |
| 498 void testl(Register reg1, Register reg2); | 498 void testl(Register reg1, Register reg2); |
| 499 void testl(Register reg, const Immediate& imm); | 499 void testl(Register reg, const Immediate& imm); |
| 500 | 500 |
| 501 void testq(Register reg1, Register reg2); | 501 void testq(Register reg1, Register reg2); |
| 502 void testq(Register reg, const Immediate& imm); | 502 void testq(Register reg, const Immediate& imm); |
| 503 void TestImmediate(Register dst, const Immediate& imm, Register pp); |
| 503 | 504 |
| 504 void andl(Register dst, Register src); | 505 void andl(Register dst, Register src); |
| 505 void andl(Register dst, const Immediate& imm); | 506 void andl(Register dst, const Immediate& imm); |
| 506 | 507 |
| 507 void orl(Register dst, Register src); | 508 void orl(Register dst, Register src); |
| 508 void orl(Register dst, const Immediate& imm); | 509 void orl(Register dst, const Immediate& imm); |
| 509 | 510 |
| 510 void xorl(Register dst, Register src); | 511 void xorl(Register dst, Register src); |
| 511 | 512 |
| 512 void andq(Register dst, Register src); | 513 void andq(Register dst, Register src); |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 } | 1049 } |
| 1049 | 1050 |
| 1050 | 1051 |
| 1051 inline void Assembler::EmitOperandSizeOverride() { | 1052 inline void Assembler::EmitOperandSizeOverride() { |
| 1052 EmitUint8(0x66); | 1053 EmitUint8(0x66); |
| 1053 } | 1054 } |
| 1054 | 1055 |
| 1055 } // namespace dart | 1056 } // namespace dart |
| 1056 | 1057 |
| 1057 #endif // VM_ASSEMBLER_X64_H_ | 1058 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |