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

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

Issue 1405453003: CTZ instruction implemented as optional operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a bug when bmi1=false 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 | « src/compiler/x87/instruction-selector-x87.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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 void xor_(const Operand& dst, Register src); 772 void xor_(const Operand& dst, Register src);
773 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); } 773 void xor_(Register dst, const Immediate& imm) { xor_(Operand(dst), imm); }
774 void xor_(const Operand& dst, const Immediate& x); 774 void xor_(const Operand& dst, const Immediate& x);
775 775
776 // Bit operations. 776 // Bit operations.
777 void bt(const Operand& dst, Register src); 777 void bt(const Operand& dst, Register src);
778 void bts(Register dst, Register src) { bts(Operand(dst), src); } 778 void bts(Register dst, Register src) { bts(Operand(dst), src); }
779 void bts(const Operand& dst, Register src); 779 void bts(const Operand& dst, Register src);
780 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); } 780 void bsr(Register dst, Register src) { bsr(dst, Operand(src)); }
781 void bsr(Register dst, const Operand& src); 781 void bsr(Register dst, const Operand& src);
782 void bsf(Register dst, Register src) { bsf(dst, Operand(src)); }
783 void bsf(Register dst, const Operand& src);
782 784
783 // Miscellaneous 785 // Miscellaneous
784 void hlt(); 786 void hlt();
785 void int3(); 787 void int3();
786 void nop(); 788 void nop();
787 void ret(int imm16); 789 void ret(int imm16);
788 void ud2(); 790 void ud2();
789 791
790 // Label operations & relative jumps (PPUM Appendix D) 792 // Label operations & relative jumps (PPUM Appendix D)
791 // 793 //
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 Assembler* assembler_; 1566 Assembler* assembler_;
1565 #ifdef DEBUG 1567 #ifdef DEBUG
1566 int space_before_; 1568 int space_before_;
1567 #endif 1569 #endif
1568 }; 1570 };
1569 1571
1570 } // namespace internal 1572 } // namespace internal
1571 } // namespace v8 1573 } // namespace v8
1572 1574
1573 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1575 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698