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

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

Issue 21307004: Implement some conditional moves instructions for ia32/x64. Use them in MinMax instruction implemen… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 void movq(const Address& dst, Register src); 376 void movq(const Address& dst, Register src);
377 void movq(const Address& dst, const Immediate& imm); 377 void movq(const Address& dst, const Immediate& imm);
378 378
379 void movsxd(Register dst, Register src); 379 void movsxd(Register dst, Register src);
380 void movsxd(Register dst, const Address& src); 380 void movsxd(Register dst, const Address& src);
381 381
382 void rep_movsb(); 382 void rep_movsb();
383 383
384 void leaq(Register dst, const Address& src); 384 void leaq(Register dst, const Address& src);
385 385
386 void cmovgeq(Register dst, Register src);
387 void cmovlessq(Register dst, Register src);
388
386 void movss(XmmRegister dst, const Address& src); 389 void movss(XmmRegister dst, const Address& src);
387 void movss(const Address& dst, XmmRegister src); 390 void movss(const Address& dst, XmmRegister src);
388 void movss(XmmRegister dst, XmmRegister src); 391 void movss(XmmRegister dst, XmmRegister src);
389 392
390 void movd(XmmRegister dst, Register src); 393 void movd(XmmRegister dst, Register src);
391 void movd(Register dst, XmmRegister src); 394 void movd(Register dst, XmmRegister src);
392 395
393 void addss(XmmRegister dst, XmmRegister src); 396 void addss(XmmRegister dst, XmmRegister src);
394 void subss(XmmRegister dst, XmmRegister src); 397 void subss(XmmRegister dst, XmmRegister src);
395 void mulss(XmmRegister dst, XmmRegister src); 398 void mulss(XmmRegister dst, XmmRegister src);
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 } 932 }
930 933
931 934
932 inline void Assembler::EmitOperandSizeOverride() { 935 inline void Assembler::EmitOperandSizeOverride() {
933 EmitUint8(0x66); 936 EmitUint8(0x66);
934 } 937 }
935 938
936 } // namespace dart 939 } // namespace dart
937 940
938 #endif // VM_ASSEMBLER_X64_H_ 941 #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