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

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

Issue 10536067: Generate code for store buffer updates in open-coded object field stores. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: adjust filter conditions Created 8 years, 6 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') | runtime/vm/assembler_ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 static const intptr_t kCallExternalLabelSize = 5; 296 static const intptr_t kCallExternalLabelSize = 5;
297 297
298 void pushl(Register reg); 298 void pushl(Register reg);
299 void pushl(const Address& address); 299 void pushl(const Address& address);
300 void pushl(const Immediate& imm); 300 void pushl(const Immediate& imm);
301 301
302 void popl(Register reg); 302 void popl(Register reg);
303 void popl(const Address& address); 303 void popl(const Address& address);
304 304
305 void pushal();
306 void popal();
307
305 void movl(Register dst, const Immediate& src); 308 void movl(Register dst, const Immediate& src);
306 void movl(Register dst, Register src); 309 void movl(Register dst, Register src);
307 310
308 void movl(Register dst, const Address& src); 311 void movl(Register dst, const Address& src);
309 void movl(const Address& dst, Register src); 312 void movl(const Address& dst, Register src);
310 void movl(const Address& dst, const Immediate& imm); 313 void movl(const Address& dst, const Immediate& imm);
311 314
312 void movzxb(Register dst, ByteRegister src); 315 void movzxb(Register dst, ByteRegister src);
313 void movzxb(Register dst, const Address& src); 316 void movzxb(Register dst, const Address& src);
314 void movsxb(Register dst, ByteRegister src); 317 void movsxb(Register dst, ByteRegister src);
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 void Drop(intptr_t stack_elements); 516 void Drop(intptr_t stack_elements);
514 517
515 void LoadObject(Register dst, const Object& object); 518 void LoadObject(Register dst, const Object& object);
516 void PushObject(const Object& object); 519 void PushObject(const Object& object);
517 void CompareObject(Register reg, const Object& object); 520 void CompareObject(Register reg, const Object& object);
518 void LoadDoubleConstant(XmmRegister dst, double value); 521 void LoadDoubleConstant(XmmRegister dst, double value);
519 522
520 void StoreIntoObject(Register object, // Object we are storing into. 523 void StoreIntoObject(Register object, // Object we are storing into.
521 const FieldAddress& dest, // Where we are storing into. 524 const FieldAddress& dest, // Where we are storing into.
522 Register value); // Value we are storing. 525 Register value); // Value we are storing.
526 void StoreNullIntoObject(Register object,
527 const FieldAddress& dest);
523 528
524 void DoubleNegate(XmmRegister d); 529 void DoubleNegate(XmmRegister d);
525 void FloatNegate(XmmRegister f); 530 void FloatNegate(XmmRegister f);
526 531
527 void DoubleAbs(XmmRegister reg); 532 void DoubleAbs(XmmRegister reg);
528 533
529 void LockCmpxchgl(const Address& address, Register reg) { 534 void LockCmpxchgl(const Address& address, Register reg) {
530 lock(); 535 lock();
531 cmpxchgl(address, reg); 536 cmpxchgl(address, reg);
532 } 537 }
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 659 }
655 660
656 661
657 inline void Assembler::EmitOperandSizeOverride() { 662 inline void Assembler::EmitOperandSizeOverride() {
658 EmitUint8(0x66); 663 EmitUint8(0x66);
659 } 664 }
660 665
661 } // namespace dart 666 } // namespace dart
662 667
663 #endif // VM_ASSEMBLER_IA32_H_ 668 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/assembler_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698