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

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

Issue 1412893006: X87: CTZ instruction implemented as optional operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/x87/assembler-x87.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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 void xor_(const Operand& dst, Register src); 764 void xor_(const Operand& dst, Register src);
765 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } 765 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); }
766 void xor_(const Operand& dst, const Immediate& x); 766 void xor_(const Operand& dst, const Immediate& x);
767 767
768 // Bit operations. 768 // Bit operations.
769 void bt(const Operand& dst, Register src); 769 void bt(const Operand& dst, Register src);
770 void bts(Register dst, Register src) { bts(Operand(dst), src); } 770 void bts(Register dst, Register src) { bts(Operand(dst), src); }
771 void bts(const Operand& dst, Register src); 771 void bts(const Operand& dst, Register src);
772 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } 772 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); }
773 void bsr(Register dst, const Operand& src); 773 void bsr(Register dst, const Operand& src);
774 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); }
775 void bsf(Register dst, const Operand& src);
774 776
775 // Miscellaneous 777 // Miscellaneous
776 void hlt(); 778 void hlt();
777 void int3(); 779 void int3();
778 void nop(); 780 void nop();
779 void ret(int imm16); 781 void ret(int imm16);
780 void ud2(); 782 void ud2();
781 783
782 // Label operations & relative jumps (PPUM Appendix D) 784 // Label operations & relative jumps (PPUM Appendix D)
783 // 785 //
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 Assembler* assembler_; 1074 Assembler* assembler_;
1073 #ifdef DEBUG 1075 #ifdef DEBUG
1074 int space_before_; 1076 int space_before_;
1075 #endif 1077 #endif
1076 }; 1078 };
1077 1079
1078 } // namespace internal 1080 } // namespace internal
1079 } // namespace v8 1081 } // namespace v8
1080 1082
1081 #endif // V8_X87_ASSEMBLER_X87_H_ 1083 #endif // V8_X87_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698