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

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

Issue 130803013: IA32 and X64 assembler Float64x2 additions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 void movhlps(XmmRegister dst, XmmRegister src); 453 void movhlps(XmmRegister dst, XmmRegister src);
454 void movlhps(XmmRegister dst, XmmRegister src); 454 void movlhps(XmmRegister dst, XmmRegister src);
455 void unpcklps(XmmRegister dst, XmmRegister src); 455 void unpcklps(XmmRegister dst, XmmRegister src);
456 void unpckhps(XmmRegister dst, XmmRegister src); 456 void unpckhps(XmmRegister dst, XmmRegister src);
457 void unpcklpd(XmmRegister dst, XmmRegister src); 457 void unpcklpd(XmmRegister dst, XmmRegister src);
458 void unpckhpd(XmmRegister dst, XmmRegister src); 458 void unpckhpd(XmmRegister dst, XmmRegister src);
459 459
460 void set1ps(XmmRegister dst, Register tmp, const Immediate& imm); 460 void set1ps(XmmRegister dst, Register tmp, const Immediate& imm);
461 void shufps(XmmRegister dst, XmmRegister src, const Immediate& mask); 461 void shufps(XmmRegister dst, XmmRegister src, const Immediate& mask);
462 462
463 void addpd(XmmRegister dst, XmmRegister src);
464 void negatepd(XmmRegister dst);
465 void subpd(XmmRegister dst, XmmRegister src);
466 void mulpd(XmmRegister dst, XmmRegister src);
467 void divpd(XmmRegister dst, XmmRegister src);
468 void abspd(XmmRegister dst);
469 void minpd(XmmRegister dst, XmmRegister src);
470 void maxpd(XmmRegister dst, XmmRegister src);
471 void sqrtpd(XmmRegister dst);
472 void cvtps2pd(XmmRegister dst, XmmRegister src);
473 void cvtpd2ps(XmmRegister dst, XmmRegister src);
474
463 void comisd(XmmRegister a, XmmRegister b); 475 void comisd(XmmRegister a, XmmRegister b);
464 void cvtsi2sd(XmmRegister a, Register b); 476 void cvtsi2sd(XmmRegister a, Register b);
465 void cvttsd2siq(Register dst, XmmRegister src); 477 void cvttsd2siq(Register dst, XmmRegister src);
466 478
467 void cvtss2sd(XmmRegister dst, XmmRegister src); 479 void cvtss2sd(XmmRegister dst, XmmRegister src);
468 void cvtsd2ss(XmmRegister dst, XmmRegister src); 480 void cvtsd2ss(XmmRegister dst, XmmRegister src);
469 481
470 void pxor(XmmRegister dst, XmmRegister src); 482 void pxor(XmmRegister dst, XmmRegister src);
471 483
472 enum RoundingMode { 484 enum RoundingMode {
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 } 1070 }
1059 1071
1060 1072
1061 inline void Assembler::EmitOperandSizeOverride() { 1073 inline void Assembler::EmitOperandSizeOverride() {
1062 EmitUint8(0x66); 1074 EmitUint8(0x66);
1063 } 1075 }
1064 1076
1065 } // namespace dart 1077 } // namespace dart
1066 1078
1067 #endif // VM_ASSEMBLER_X64_H_ 1079 #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