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

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

Issue 616873003: Use UnboxedInt32 and UnboxedUint32 representation for LoadIndexedInstr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 void abspd(XmmRegister dst); 471 void abspd(XmmRegister dst);
472 void minpd(XmmRegister dst, XmmRegister src); 472 void minpd(XmmRegister dst, XmmRegister src);
473 void maxpd(XmmRegister dst, XmmRegister src); 473 void maxpd(XmmRegister dst, XmmRegister src);
474 void sqrtpd(XmmRegister dst); 474 void sqrtpd(XmmRegister dst);
475 void cvtps2pd(XmmRegister dst, XmmRegister src); 475 void cvtps2pd(XmmRegister dst, XmmRegister src);
476 void cvtpd2ps(XmmRegister dst, XmmRegister src); 476 void cvtpd2ps(XmmRegister dst, XmmRegister src);
477 void shufpd(XmmRegister dst, XmmRegister src, const Immediate& mask); 477 void shufpd(XmmRegister dst, XmmRegister src, const Immediate& mask);
478 478
479 void comisd(XmmRegister a, XmmRegister b); 479 void comisd(XmmRegister a, XmmRegister b);
480 void cvtsi2sd(XmmRegister a, Register b); 480 void cvtsi2sd(XmmRegister a, Register b);
481 // Only looks at first 32-bits of b.
482 void cvtsi2sd32(XmmRegister a, Register b);
Vyacheslav Egorov (Google) 2014/10/09 19:08:58 I'd think that ideally this instructions would use
Cutch 2014/10/09 20:48:22 I had the same thought after Zach's suggestion. Do
481 void cvttsd2siq(Register dst, XmmRegister src); 483 void cvttsd2siq(Register dst, XmmRegister src);
482 484
483 void cvtss2sd(XmmRegister dst, XmmRegister src); 485 void cvtss2sd(XmmRegister dst, XmmRegister src);
484 void cvtsd2ss(XmmRegister dst, XmmRegister src); 486 void cvtsd2ss(XmmRegister dst, XmmRegister src);
485 487
486 void pxor(XmmRegister dst, XmmRegister src); 488 void pxor(XmmRegister dst, XmmRegister src);
487 489
488 enum RoundingMode { 490 enum RoundingMode {
489 kRoundToNearest = 0x0, 491 kRoundToNearest = 0x0,
490 kRoundDown = 0x1, 492 kRoundDown = 0x1,
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 } 1148 }
1147 1149
1148 1150
1149 inline void Assembler::EmitOperandSizeOverride() { 1151 inline void Assembler::EmitOperandSizeOverride() {
1150 EmitUint8(0x66); 1152 EmitUint8(0x66);
1151 } 1153 }
1152 1154
1153 } // namespace dart 1155 } // namespace dart
1154 1156
1155 #endif // VM_ASSEMBLER_X64_H_ 1157 #endif // VM_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698