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

Side by Side Diff: runtime/vm/assembler_ia32.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 | « no previous file | runtime/vm/assembler_ia32.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_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 void movsxw(Register dst, Register src); 351 void movsxw(Register dst, Register src);
352 void movsxw(Register dst, const Address& src); 352 void movsxw(Register dst, const Address& src);
353 void movw(Register dst, const Address& src); 353 void movw(Register dst, const Address& src);
354 void movw(const Address& dst, Register src); 354 void movw(const Address& dst, Register src);
355 355
356 void leal(Register dst, const Address& src); 356 void leal(Register dst, const Address& src);
357 357
358 void cmovs(Register dst, Register src); 358 void cmovs(Register dst, Register src);
359 void cmovns(Register dst, Register src); 359 void cmovns(Register dst, Register src);
360 360
361 void rep_movsb();
362
361 void movss(XmmRegister dst, const Address& src); 363 void movss(XmmRegister dst, const Address& src);
362 void movss(const Address& dst, XmmRegister src); 364 void movss(const Address& dst, XmmRegister src);
363 void movss(XmmRegister dst, XmmRegister src); 365 void movss(XmmRegister dst, XmmRegister src);
364 366
365 void movd(XmmRegister dst, Register src); 367 void movd(XmmRegister dst, Register src);
366 void movd(Register dst, XmmRegister src); 368 void movd(Register dst, XmmRegister src);
367 369
368 void movq(const Address& dst, XmmRegister src); 370 void movq(const Address& dst, XmmRegister src);
369 void movq(XmmRegister dst, const Address& src); 371 void movq(XmmRegister dst, const Address& src);
370 372
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 } 832 }
831 833
832 834
833 inline void Assembler::EmitOperandSizeOverride() { 835 inline void Assembler::EmitOperandSizeOverride() {
834 EmitUint8(0x66); 836 EmitUint8(0x66);
835 } 837 }
836 838
837 } // namespace dart 839 } // namespace dart
838 840
839 #endif // VM_ASSEMBLER_IA32_H_ 841 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698