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

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

Issue 12263010: Optimize stores to ExternalUint8Array and ExternalUint8ClampedArray in the optimizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 void AddImmediate(Register reg, const Immediate& imm); 568 void AddImmediate(Register reg, const Immediate& imm);
569 569
570 void Drop(intptr_t stack_elements); 570 void Drop(intptr_t stack_elements);
571 571
572 void LoadObject(Register dst, const Object& object); 572 void LoadObject(Register dst, const Object& object);
573 void PushObject(const Object& object); 573 void PushObject(const Object& object);
574 void CompareObject(Register reg, const Object& object); 574 void CompareObject(Register reg, const Object& object);
575 void LoadDoubleConstant(XmmRegister dst, double value); 575 void LoadDoubleConstant(XmmRegister dst, double value);
576 576
577 void StoreIntoObject(Register object, // Object we are storing into. 577 void StoreIntoObject(Register object, // Object we are storing into.
578 const FieldAddress& dest, // Where we are storing into. 578 const Address& dest, // Where we are storing into.
579 Register value); // Value we are storing. 579 Register value); // Value we are storing.
580 580
581 void StoreIntoObjectNoBarrier(Register object, 581 void StoreIntoObjectNoBarrier(Register object,
582 const FieldAddress& dest, 582 const Address& dest,
583 Register value); 583 Register value);
584 void StoreIntoObjectNoBarrier(Register object, 584 void StoreIntoObjectNoBarrier(Register object,
585 const FieldAddress& dest, 585 const Address& dest,
586 const Object& value); 586 const Object& value);
587 587
588 void TraceStoreIntoObject(Register object, 588 void TraceStoreIntoObject(Register object,
589 const FieldAddress& dest, 589 const Address& dest,
590 Register value); 590 Register value);
591 591
592 void DoubleNegate(XmmRegister d); 592 void DoubleNegate(XmmRegister d);
593 void FloatNegate(XmmRegister f); 593 void FloatNegate(XmmRegister f);
594 594
595 void DoubleAbs(XmmRegister reg); 595 void DoubleAbs(XmmRegister reg);
596 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp); 596 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp);
597 597
598 void LockCmpxchgl(const Address& address, Register reg) { 598 void LockCmpxchgl(const Address& address, Register reg) {
599 lock(); 599 lock();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 } 733 }
734 734
735 735
736 inline void Assembler::EmitOperandSizeOverride() { 736 inline void Assembler::EmitOperandSizeOverride() {
737 EmitUint8(0x66); 737 EmitUint8(0x66);
738 } 738 }
739 739
740 } // namespace dart 740 } // namespace dart
741 741
742 #endif // VM_ASSEMBLER_IA32_H_ 742 #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