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

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

Issue 408373002: Adds intrinsics for Float64Array [] and []=. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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_arm64.cc ('k') | 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 690
691 void LoadClassById(Register result, Register class_id); 691 void LoadClassById(Register result, Register class_id);
692 692
693 void LoadClass(Register result, Register object, Register scratch); 693 void LoadClass(Register result, Register object, Register scratch);
694 694
695 void CompareClassId(Register object, intptr_t class_id, Register scratch); 695 void CompareClassId(Register object, intptr_t class_id, Register scratch);
696 696
697 void LoadTaggedClassIdMayBeSmi(Register result, 697 void LoadTaggedClassIdMayBeSmi(Register result,
698 Register object); 698 Register object);
699 699
700 static Address ElementAddressForIntIndex(bool is_external,
701 intptr_t cid,
702 intptr_t index_scale,
703 Register array,
704 intptr_t index);
705
706 static Address ElementAddressForRegIndex(bool is_external,
707 intptr_t cid,
708 intptr_t index_scale,
709 Register array,
710 Register index);
711
700 /* 712 /*
701 * Misc. functionality 713 * Misc. functionality
702 */ 714 */
703 void SmiTag(Register reg) { 715 void SmiTag(Register reg) {
704 addl(reg, reg); 716 addl(reg, reg);
705 } 717 }
706 718
707 void SmiUntag(Register reg) { 719 void SmiUntag(Register reg) {
708 sarl(reg, Immediate(kSmiTagSize)); 720 sarl(reg, Immediate(kSmiTagSize));
709 } 721 }
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 } 916 }
905 917
906 918
907 inline void Assembler::EmitOperandSizeOverride() { 919 inline void Assembler::EmitOperandSizeOverride() {
908 EmitUint8(0x66); 920 EmitUint8(0x66);
909 } 921 }
910 922
911 } // namespace dart 923 } // namespace dart
912 924
913 #endif // VM_ASSEMBLER_IA32_H_ 925 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698