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

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

Issue 12545067: On x64 use 32bit idiv when possible instead of 64bit one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rename movsxl to movsxd Created 7 years, 9 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
« no previous file with comments | « no previous file | 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 void movsxw(Register dst, const Address& src); 358 void movsxw(Register dst, const Address& src);
359 void movw(Register dst, const Address& src); 359 void movw(Register dst, const Address& src);
360 void movw(const Address& dst, Register src); 360 void movw(const Address& dst, Register src);
361 361
362 void movq(Register dst, const Immediate& imm); 362 void movq(Register dst, const Immediate& imm);
363 void movq(Register dst, Register src); 363 void movq(Register dst, Register src);
364 void movq(Register dst, const Address& src); 364 void movq(Register dst, const Address& src);
365 void movq(const Address& dst, Register src); 365 void movq(const Address& dst, Register src);
366 void movq(const Address& dst, const Immediate& imm); 366 void movq(const Address& dst, const Immediate& imm);
367 367
368 void movsxl(Register dst, const Address& src); 368 void movsxd(Register dst, Register src);
369 void movsxd(Register dst, const Address& src);
369 370
370 void leaq(Register dst, const Address& src); 371 void leaq(Register dst, const Address& src);
371 372
372 void movss(XmmRegister dst, const Address& src); 373 void movss(XmmRegister dst, const Address& src);
373 void movss(const Address& dst, XmmRegister src); 374 void movss(const Address& dst, XmmRegister src);
374 void movss(XmmRegister dst, XmmRegister src); 375 void movss(XmmRegister dst, XmmRegister src);
375 376
376 void movd(XmmRegister dst, Register src); 377 void movd(XmmRegister dst, Register src);
377 void movd(Register dst, XmmRegister src); 378 void movd(Register dst, XmmRegister src);
378 379
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 } 905 }
905 906
906 907
907 inline void Assembler::EmitOperandSizeOverride() { 908 inline void Assembler::EmitOperandSizeOverride() {
908 EmitUint8(0x66); 909 EmitUint8(0x66);
909 } 910 }
910 911
911 } // namespace dart 912 } // namespace dart
912 913
913 #endif // VM_ASSEMBLER_X64_H_ 914 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698