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

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

Issue 172133003: Harmony: optimize Math.clz32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 6 years, 10 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/objects.h ('k') | src/x64/assembler-x64.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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 immediate_arithmetic_op(0x6, dst, src); 1187 immediate_arithmetic_op(0x6, dst, src);
1188 } 1188 }
1189 1189
1190 void xor_(const Operand& dst, Immediate src) { 1190 void xor_(const Operand& dst, Immediate src) {
1191 immediate_arithmetic_op(0x6, dst, src); 1191 immediate_arithmetic_op(0x6, dst, src);
1192 } 1192 }
1193 1193
1194 // Bit operations. 1194 // Bit operations.
1195 void bt(const Operand& dst, Register src); 1195 void bt(const Operand& dst, Register src);
1196 void bts(const Operand& dst, Register src); 1196 void bts(const Operand& dst, Register src);
1197 void bsrl(Register dst, Register src);
1197 1198
1198 // Miscellaneous 1199 // Miscellaneous
1199 void clc(); 1200 void clc();
1200 void cld(); 1201 void cld();
1201 void cpuid(); 1202 void cpuid();
1202 void hlt(); 1203 void hlt();
1203 void int3(); 1204 void int3();
1204 void nop(); 1205 void nop();
1205 void ret(int imm16); 1206 void ret(int imm16);
1206 void setcc(Condition cc, Register reg); 1207 void setcc(Condition cc, Register reg);
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1732 private: 1733 private:
1733 Assembler* assembler_; 1734 Assembler* assembler_;
1734 #ifdef DEBUG 1735 #ifdef DEBUG
1735 int space_before_; 1736 int space_before_;
1736 #endif 1737 #endif
1737 }; 1738 };
1738 1739
1739 } } // namespace v8::internal 1740 } } // namespace v8::internal
1740 1741
1741 #endif // V8_X64_ASSEMBLER_X64_H_ 1742 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698