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

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

Issue 14122002: Use rep_movsb for copying one-byte strings in substring intrinsic. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « runtime/vm/assembler_ia32_test.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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 void movq(Register dst, const Immediate& imm); 364 void movq(Register dst, const Immediate& imm);
365 void movq(Register dst, Register src); 365 void movq(Register dst, Register src);
366 void movq(Register dst, const Address& src); 366 void movq(Register dst, const Address& src);
367 void movq(const Address& dst, Register src); 367 void movq(const Address& dst, Register src);
368 void movq(const Address& dst, const Immediate& imm); 368 void movq(const Address& dst, const Immediate& imm);
369 369
370 void movsxd(Register dst, Register src); 370 void movsxd(Register dst, Register src);
371 void movsxd(Register dst, const Address& src); 371 void movsxd(Register dst, const Address& src);
372 372
373 void rep_movsb();
374
373 void leaq(Register dst, const Address& src); 375 void leaq(Register dst, const Address& src);
374 376
375 void movss(XmmRegister dst, const Address& src); 377 void movss(XmmRegister dst, const Address& src);
376 void movss(const Address& dst, XmmRegister src); 378 void movss(const Address& dst, XmmRegister src);
377 void movss(XmmRegister dst, XmmRegister src); 379 void movss(XmmRegister dst, XmmRegister src);
378 380
379 void movd(XmmRegister dst, Register src); 381 void movd(XmmRegister dst, Register src);
380 void movd(Register dst, XmmRegister src); 382 void movd(Register dst, XmmRegister src);
381 383
382 void addss(XmmRegister dst, XmmRegister src); 384 void addss(XmmRegister dst, XmmRegister src);
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 } 909 }
908 910
909 911
910 inline void Assembler::EmitOperandSizeOverride() { 912 inline void Assembler::EmitOperandSizeOverride() {
911 EmitUint8(0x66); 913 EmitUint8(0x66);
912 } 914 }
913 915
914 } // namespace dart 916 } // namespace dart
915 917
916 #endif // VM_ASSEMBLER_X64_H_ 918 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32_test.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698