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

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

Issue 23645003: Esoteric bit operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/lib/integers.dart ('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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 void sarl(Register operand, Register shifter); 588 void sarl(Register operand, Register shifter);
589 void sarl(const Address& address, Register shifter); 589 void sarl(const Address& address, Register shifter);
590 void shld(Register dst, Register src); 590 void shld(Register dst, Register src);
591 void shld(const Address& operand, Register src); 591 void shld(const Address& operand, Register src);
592 void shrd(Register dst, Register src); 592 void shrd(Register dst, Register src);
593 void shrd(const Address& dst, Register src); 593 void shrd(const Address& dst, Register src);
594 594
595 void negl(Register reg); 595 void negl(Register reg);
596 void notl(Register reg); 596 void notl(Register reg);
597 597
598 void bsrl(Register dst, Register src);
599
598 void enter(const Immediate& imm); 600 void enter(const Immediate& imm);
599 void leave(); 601 void leave();
600 602
601 void ret(); 603 void ret();
602 void ret(const Immediate& imm); 604 void ret(const Immediate& imm);
603 605
604 // 'size' indicates size in bytes and must be in the range 1..8. 606 // 'size' indicates size in bytes and must be in the range 1..8.
605 void nop(int size = 1); 607 void nop(int size = 1);
606 void int3(); 608 void int3();
607 void hlt(); 609 void hlt();
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 } 859 }
858 860
859 861
860 inline void Assembler::EmitOperandSizeOverride() { 862 inline void Assembler::EmitOperandSizeOverride() {
861 EmitUint8(0x66); 863 EmitUint8(0x66);
862 } 864 }
863 865
864 } // namespace dart 866 } // namespace dart
865 867
866 #endif // VM_ASSEMBLER_IA32_H_ 868 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/lib/integers.dart ('k') | runtime/vm/assembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698