Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Side by Side Diff: runtime/vm/assembler_x64.h

Issue 1176703002: Make guard_cid and nullable_cid half words. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 void movb(Register dst, const Address& src); 390 void movb(Register dst, const Address& src);
391 void movb(const Address& dst, Register src); 391 void movb(const Address& dst, Register src);
392 void movb(const Address& dst, const Immediate& imm); 392 void movb(const Address& dst, const Immediate& imm);
393 393
394 void movzxw(Register dst, Register src); 394 void movzxw(Register dst, Register src);
395 void movzxw(Register dst, const Address& src); 395 void movzxw(Register dst, const Address& src);
396 void movsxw(Register dst, Register src); 396 void movsxw(Register dst, Register src);
397 void movsxw(Register dst, const Address& src); 397 void movsxw(Register dst, const Address& src);
398 void movw(Register dst, const Address& src); 398 void movw(Register dst, const Address& src);
399 void movw(const Address& dst, Register src); 399 void movw(const Address& dst, Register src);
400 void movw(const Address& dst, const Immediate& imm);
400 401
401 void movq(Register dst, const Immediate& imm); 402 void movq(Register dst, const Immediate& imm);
402 void movq(Register dst, Register src); 403 void movq(Register dst, Register src);
403 void movq(Register dst, const Address& src); 404 void movq(Register dst, const Address& src);
404 void movq(const Address& dst, Register src); 405 void movq(const Address& dst, Register src);
405 void movq(const Address& dst, const Immediate& imm); 406 void movq(const Address& dst, const Immediate& imm);
406 407
407 void movsxd(Register dst, Register src); 408 void movsxd(Register dst, Register src);
408 void movsxd(Register dst, const Address& src); 409 void movsxd(Register dst, const Address& src);
409 410
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 kRoundUp = 0x2, 506 kRoundUp = 0x2,
506 kRoundToZero = 0x3 507 kRoundToZero = 0x3
507 }; 508 };
508 void roundsd(XmmRegister dst, XmmRegister src, RoundingMode mode); 509 void roundsd(XmmRegister dst, XmmRegister src, RoundingMode mode);
509 510
510 void xchgl(Register dst, Register src); 511 void xchgl(Register dst, Register src);
511 void xchgq(Register dst, Register src); 512 void xchgq(Register dst, Register src);
512 513
513 void cmpb(const Address& address, const Immediate& imm); 514 void cmpb(const Address& address, const Immediate& imm);
514 515
516 void cmpw(Register reg, const Address& address);
517 void cmpw(const Address& address, const Immediate& imm);
518
515 void cmpl(Register reg, const Immediate& imm); 519 void cmpl(Register reg, const Immediate& imm);
516 void cmpl(Register reg0, Register reg1); 520 void cmpl(Register reg0, Register reg1);
517 void cmpl(Register reg, const Address& address); 521 void cmpl(Register reg, const Address& address);
518 void cmpl(const Address& address, const Immediate& imm); 522 void cmpl(const Address& address, const Immediate& imm);
519 523
520 void cmpq(Register reg, const Immediate& imm); 524 void cmpq(Register reg, const Immediate& imm);
521 void cmpq(const Address& address, Register reg); 525 void cmpq(const Address& address, Register reg);
522 void cmpq(const Address& address, const Immediate& imm); 526 void cmpq(const Address& address, const Immediate& imm);
523 void cmpq(Register reg0, Register reg1); 527 void cmpq(Register reg0, Register reg1);
524 void cmpq(Register reg, const Address& address); 528 void cmpq(Register reg, const Address& address);
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 } 1199 }
1196 1200
1197 1201
1198 inline void Assembler::EmitOperandSizeOverride() { 1202 inline void Assembler::EmitOperandSizeOverride() {
1199 EmitUint8(0x66); 1203 EmitUint8(0x66);
1200 } 1204 }
1201 1205
1202 } // namespace dart 1206 } // namespace dart
1203 1207
1204 #endif // VM_ASSEMBLER_X64_H_ 1208 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698