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

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

Issue 387733002: Specialize mint shift code on ia32 for a constant shift amount. (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 | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/intermediate_language_ia32.cc » ('J')
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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 579
580 void shll(Register reg, const Immediate& imm); 580 void shll(Register reg, const Immediate& imm);
581 void shll(Register operand, Register shifter); 581 void shll(Register operand, Register shifter);
582 void shll(const Address& operand, Register shifter); 582 void shll(const Address& operand, Register shifter);
583 void shrl(Register reg, const Immediate& imm); 583 void shrl(Register reg, const Immediate& imm);
584 void shrl(Register operand, Register shifter); 584 void shrl(Register operand, Register shifter);
585 void sarl(Register reg, const Immediate& imm); 585 void sarl(Register reg, const Immediate& imm);
586 void sarl(Register operand, Register shifter); 586 void sarl(Register operand, Register shifter);
587 void sarl(const Address& address, Register shifter); 587 void sarl(const Address& address, Register shifter);
588 void shld(Register dst, Register src); 588 void shld(Register dst, Register src);
589 void shld(Register dst, Register src, const Immediate& imm);
589 void shld(const Address& operand, Register src); 590 void shld(const Address& operand, Register src);
590 void shrd(Register dst, Register src); 591 void shrd(Register dst, Register src);
592 void shrd(Register dst, Register src, const Immediate& imm);
591 void shrd(const Address& dst, Register src); 593 void shrd(const Address& dst, Register src);
592 594
593 void negl(Register reg); 595 void negl(Register reg);
594 void notl(Register reg); 596 void notl(Register reg);
595 597
596 void bsrl(Register dst, Register src); 598 void bsrl(Register dst, Register src);
597 599
598 void enter(const Immediate& imm); 600 void enter(const Immediate& imm);
599 void leave(); 601 void leave();
600 602
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 } 901 }
900 902
901 903
902 inline void Assembler::EmitOperandSizeOverride() { 904 inline void Assembler::EmitOperandSizeOverride() {
903 EmitUint8(0x66); 905 EmitUint8(0x66);
904 } 906 }
905 907
906 } // namespace dart 908 } // namespace dart
907 909
908 #endif // VM_ASSEMBLER_IA32_H_ 910 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32.cc » ('j') | runtime/vm/intermediate_language_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698