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

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 619663002: [turbofan] support all shift operands on ia32 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/ia32/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) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 733
734 void or_(Register dst, int32_t imm32); 734 void or_(Register dst, int32_t imm32);
735 void or_(Register dst, Register src) { or_(dst, Operand(src)); } 735 void or_(Register dst, Register src) { or_(dst, Operand(src)); }
736 void or_(Register dst, const Operand& src); 736 void or_(Register dst, const Operand& src);
737 void or_(const Operand& dst, Register src); 737 void or_(const Operand& dst, Register src);
738 void or_(Register dst, const Immediate& imm) { or_(Operand(dst), imm); } 738 void or_(Register dst, const Immediate& imm) { or_(Operand(dst), imm); }
739 void or_(const Operand& dst, const Immediate& x); 739 void or_(const Operand& dst, const Immediate& x);
740 740
741 void rcl(Register dst, uint8_t imm8); 741 void rcl(Register dst, uint8_t imm8);
742 void rcr(Register dst, uint8_t imm8); 742 void rcr(Register dst, uint8_t imm8);
743 void ror(Register dst, uint8_t imm8); 743
744 void ror_cl(Register dst); 744 void ror(Register dst, uint8_t imm8) { ror(Operand(dst), imm8); }
745 void ror(const Operand& dst, uint8_t imm8);
746 void ror_cl(Register dst) { ror_cl(Operand(dst)); }
747 void ror_cl(const Operand& dst);
745 748
746 void sar(Register dst, uint8_t imm8) { sar(Operand(dst), imm8); } 749 void sar(Register dst, uint8_t imm8) { sar(Operand(dst), imm8); }
747 void sar(const Operand& dst, uint8_t imm8); 750 void sar(const Operand& dst, uint8_t imm8);
748 void sar_cl(Register dst) { sar_cl(Operand(dst)); } 751 void sar_cl(Register dst) { sar_cl(Operand(dst)); }
749 void sar_cl(const Operand& dst); 752 void sar_cl(const Operand& dst);
750 753
751 void sbb(Register dst, const Operand& src); 754 void sbb(Register dst, const Operand& src);
752 755
753 void shld(Register dst, Register src) { shld(dst, Operand(src)); } 756 void shld(Register dst, Register src) { shld(dst, Operand(src)); }
754 void shld(Register dst, const Operand& src); 757 void shld(Register dst, const Operand& src);
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 private: 1191 private:
1189 Assembler* assembler_; 1192 Assembler* assembler_;
1190 #ifdef DEBUG 1193 #ifdef DEBUG
1191 int space_before_; 1194 int space_before_;
1192 #endif 1195 #endif
1193 }; 1196 };
1194 1197
1195 } } // namespace v8::internal 1198 } } // namespace v8::internal
1196 1199
1197 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1200 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698