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

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

Issue 1774010: Port inline version of Math.sqrt and Math.pow from ia32 to x64. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-ia32.cc ('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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 void cvtqsi2sd(XMMRegister dst, Register src); 1094 void cvtqsi2sd(XMMRegister dst, Register src);
1095 1095
1096 void cvtss2sd(XMMRegister dst, XMMRegister src); 1096 void cvtss2sd(XMMRegister dst, XMMRegister src);
1097 1097
1098 void addsd(XMMRegister dst, XMMRegister src); 1098 void addsd(XMMRegister dst, XMMRegister src);
1099 void subsd(XMMRegister dst, XMMRegister src); 1099 void subsd(XMMRegister dst, XMMRegister src);
1100 void mulsd(XMMRegister dst, XMMRegister src); 1100 void mulsd(XMMRegister dst, XMMRegister src);
1101 void divsd(XMMRegister dst, XMMRegister src); 1101 void divsd(XMMRegister dst, XMMRegister src);
1102 1102
1103 void xorpd(XMMRegister dst, XMMRegister src); 1103 void xorpd(XMMRegister dst, XMMRegister src);
1104 void sqrtsd(XMMRegister dst, XMMRegister src);
1104 1105
1105 void comisd(XMMRegister dst, XMMRegister src); 1106 void comisd(XMMRegister dst, XMMRegister src);
1106 void ucomisd(XMMRegister dst, XMMRegister src); 1107 void ucomisd(XMMRegister dst, XMMRegister src);
1107 1108
1108 // The first argument is the reg field, the second argument is the r/m field. 1109 // The first argument is the reg field, the second argument is the r/m field.
1109 void emit_sse_operand(XMMRegister dst, XMMRegister src); 1110 void emit_sse_operand(XMMRegister dst, XMMRegister src);
1110 void emit_sse_operand(XMMRegister reg, const Operand& adr); 1111 void emit_sse_operand(XMMRegister reg, const Operand& adr);
1111 void emit_sse_operand(XMMRegister dst, Register src); 1112 void emit_sse_operand(XMMRegister dst, Register src);
1112 1113
1113 // Use either movsd or movlpd. 1114 // Use either movsd or movlpd.
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1381 private: 1382 private:
1382 Assembler* assembler_; 1383 Assembler* assembler_;
1383 #ifdef DEBUG 1384 #ifdef DEBUG
1384 int space_before_; 1385 int space_before_;
1385 #endif 1386 #endif
1386 }; 1387 };
1387 1388
1388 } } // namespace v8::internal 1389 } } // namespace v8::internal
1389 1390
1390 #endif // V8_X64_ASSEMBLER_X64_H_ 1391 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698