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

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

Issue 1992011: Make X64 double-to-int32 conversion use the 64-bit version of cvttsd2si. (Closed)
Patch Set: Created 10 years, 7 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
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 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 void movq(XMMRegister dst, Register src); 1085 void movq(XMMRegister dst, Register src);
1086 void movq(Register dst, XMMRegister src); 1086 void movq(Register dst, XMMRegister src);
1087 void extractps(Register dst, XMMRegister src, byte imm8); 1087 void extractps(Register dst, XMMRegister src, byte imm8);
1088 1088
1089 void movsd(const Operand& dst, XMMRegister src); 1089 void movsd(const Operand& dst, XMMRegister src);
1090 void movsd(XMMRegister dst, XMMRegister src); 1090 void movsd(XMMRegister dst, XMMRegister src);
1091 void movsd(XMMRegister dst, const Operand& src); 1091 void movsd(XMMRegister dst, const Operand& src);
1092 1092
1093 void cvttss2si(Register dst, const Operand& src); 1093 void cvttss2si(Register dst, const Operand& src);
1094 void cvttsd2si(Register dst, const Operand& src); 1094 void cvttsd2si(Register dst, const Operand& src);
1095 void cvttsd2siq(Register dst, XMMRegister src);
1095 1096
1096 void cvtlsi2sd(XMMRegister dst, const Operand& src); 1097 void cvtlsi2sd(XMMRegister dst, const Operand& src);
1097 void cvtlsi2sd(XMMRegister dst, Register src); 1098 void cvtlsi2sd(XMMRegister dst, Register src);
1098 void cvtqsi2sd(XMMRegister dst, const Operand& src); 1099 void cvtqsi2sd(XMMRegister dst, const Operand& src);
1099 void cvtqsi2sd(XMMRegister dst, Register src); 1100 void cvtqsi2sd(XMMRegister dst, Register src);
1100 1101
1101 void cvtss2sd(XMMRegister dst, XMMRegister src); 1102 void cvtss2sd(XMMRegister dst, XMMRegister src);
1102 1103
1103 void addsd(XMMRegister dst, XMMRegister src); 1104 void addsd(XMMRegister dst, XMMRegister src);
1104 void subsd(XMMRegister dst, XMMRegister src); 1105 void subsd(XMMRegister dst, XMMRegister src);
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1393 private: 1394 private:
1394 Assembler* assembler_; 1395 Assembler* assembler_;
1395 #ifdef DEBUG 1396 #ifdef DEBUG
1396 int space_before_; 1397 int space_before_;
1397 #endif 1398 #endif
1398 }; 1399 };
1399 1400
1400 } } // namespace v8::internal 1401 } } // namespace v8::internal
1401 1402
1402 #endif // V8_X64_ASSEMBLER_X64_H_ 1403 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698