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

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

Issue 385563004: Uses a conditional move for usage counter increment instead of a branch (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 void movq(const Address& dst, Register src); 373 void movq(const Address& dst, Register src);
374 void movq(const Address& dst, const Immediate& imm); 374 void movq(const Address& dst, const Immediate& imm);
375 375
376 void movsxd(Register dst, Register src); 376 void movsxd(Register dst, Register src);
377 void movsxd(Register dst, const Address& src); 377 void movsxd(Register dst, const Address& src);
378 378
379 void rep_movsb(); 379 void rep_movsb();
380 380
381 void leaq(Register dst, const Address& src); 381 void leaq(Register dst, const Address& src);
382 382
383 void cmovnoq(Register dst, Register src);
383 void cmoveq(Register dst, Register src); 384 void cmoveq(Register dst, Register src);
384 void cmovgeq(Register dst, Register src); 385 void cmovgeq(Register dst, Register src);
385 void cmovlessq(Register dst, Register src); 386 void cmovlessq(Register dst, Register src);
386 387
387 void movss(XmmRegister dst, const Address& src); 388 void movss(XmmRegister dst, const Address& src);
388 void movss(const Address& dst, XmmRegister src); 389 void movss(const Address& dst, XmmRegister src);
389 void movss(XmmRegister dst, XmmRegister src); 390 void movss(XmmRegister dst, XmmRegister src);
390 391
391 void movd(XmmRegister dst, Register src); 392 void movd(XmmRegister dst, Register src);
392 void movd(Register dst, XmmRegister src); 393 void movd(Register dst, XmmRegister src);
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 } 1078 }
1078 1079
1079 1080
1080 inline void Assembler::EmitOperandSizeOverride() { 1081 inline void Assembler::EmitOperandSizeOverride() {
1081 EmitUint8(0x66); 1082 EmitUint8(0x66);
1082 } 1083 }
1083 1084
1084 } // namespace dart 1085 } // namespace dart
1085 1086
1086 #endif // VM_ASSEMBLER_X64_H_ 1087 #endif // VM_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698