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

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

Issue 645493002: [ia32] Better code generation for materialization of float/double constants. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 void movss(XMMRegister dst, const Operand& src); 1017 void movss(XMMRegister dst, const Operand& src);
1018 void movss(const Operand& dst, XMMRegister src); 1018 void movss(const Operand& dst, XMMRegister src);
1019 void movss(XMMRegister dst, XMMRegister src) { movss(dst, Operand(src)); } 1019 void movss(XMMRegister dst, XMMRegister src) { movss(dst, Operand(src)); }
1020 void extractps(Register dst, XMMRegister src, byte imm8); 1020 void extractps(Register dst, XMMRegister src, byte imm8);
1021 1021
1022 void pand(XMMRegister dst, XMMRegister src); 1022 void pand(XMMRegister dst, XMMRegister src);
1023 void pxor(XMMRegister dst, XMMRegister src); 1023 void pxor(XMMRegister dst, XMMRegister src);
1024 void por(XMMRegister dst, XMMRegister src); 1024 void por(XMMRegister dst, XMMRegister src);
1025 void ptest(XMMRegister dst, XMMRegister src); 1025 void ptest(XMMRegister dst, XMMRegister src);
1026 1026
1027 void pslld(XMMRegister reg, int8_t shift);
1028 void psrld(XMMRegister reg, int8_t shift);
1027 void psllq(XMMRegister reg, int8_t shift); 1029 void psllq(XMMRegister reg, int8_t shift);
1028 void psllq(XMMRegister dst, XMMRegister src); 1030 void psllq(XMMRegister dst, XMMRegister src);
1029 void psrlq(XMMRegister reg, int8_t shift); 1031 void psrlq(XMMRegister reg, int8_t shift);
1030 void psrlq(XMMRegister dst, XMMRegister src); 1032 void psrlq(XMMRegister dst, XMMRegister src);
1031 void pshufd(XMMRegister dst, XMMRegister src, uint8_t shuffle); 1033 void pshufd(XMMRegister dst, XMMRegister src, uint8_t shuffle);
1032 void pextrd(Register dst, XMMRegister src, int8_t offset) { 1034 void pextrd(Register dst, XMMRegister src, int8_t offset) {
1033 pextrd(Operand(dst), src, offset); 1035 pextrd(Operand(dst), src, offset);
1034 } 1036 }
1035 void pextrd(const Operand& dst, XMMRegister src, int8_t offset); 1037 void pextrd(const Operand& dst, XMMRegister src, int8_t offset);
1036 void pinsrd(XMMRegister dst, Register src, int8_t offset) { 1038 void pinsrd(XMMRegister dst, Register src, int8_t offset) {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 private: 1193 private:
1192 Assembler* assembler_; 1194 Assembler* assembler_;
1193 #ifdef DEBUG 1195 #ifdef DEBUG
1194 int space_before_; 1196 int space_before_;
1195 #endif 1197 #endif
1196 }; 1198 };
1197 1199
1198 } } // namespace v8::internal 1200 } } // namespace v8::internal
1199 1201
1200 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1202 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/code-generator-ia32.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698