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

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

Issue 269004: X64: Convert doubles to int32 inline (without calling runtime).
Patch Set: Created 11 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/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')
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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 } 672 }
673 673
674 void cmpq(const Operand& dst, Immediate src) { 674 void cmpq(const Operand& dst, Immediate src) {
675 immediate_arithmetic_op(0x7, dst, src); 675 immediate_arithmetic_op(0x7, dst, src);
676 } 676 }
677 677
678 void and_(Register dst, Register src) { 678 void and_(Register dst, Register src) {
679 arithmetic_op(0x23, dst, src); 679 arithmetic_op(0x23, dst, src);
680 } 680 }
681 681
682 void andl(Register dst, Register src) {
683 arithmetic_op_32(0x23, dst, src);
684 }
685
682 void and_(Register dst, const Operand& src) { 686 void and_(Register dst, const Operand& src) {
683 arithmetic_op(0x23, dst, src); 687 arithmetic_op(0x23, dst, src);
684 } 688 }
685 689
686 void and_(const Operand& dst, Register src) { 690 void and_(const Operand& dst, Register src) {
687 arithmetic_op(0x21, src, dst); 691 arithmetic_op(0x21, src, dst);
688 } 692 }
689 693
690 void and_(Register dst, Immediate src) { 694 void and_(Register dst, Immediate src) {
691 immediate_arithmetic_op(0x4, dst, src); 695 immediate_arithmetic_op(0x4, dst, src);
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 private: 1319 private:
1316 Assembler* assembler_; 1320 Assembler* assembler_;
1317 #ifdef DEBUG 1321 #ifdef DEBUG
1318 int space_before_; 1322 int space_before_;
1319 #endif 1323 #endif
1320 }; 1324 };
1321 1325
1322 } } // namespace v8::internal 1326 } } // namespace v8::internal
1323 1327
1324 #endif // V8_X64_ASSEMBLER_X64_H_ 1328 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698