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

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

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Svens comment. Created 5 years, 9 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 | « src/ia32/assembler-ia32.h ('k') | src/ia32/disasm-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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 2199 matching lines...) Expand 10 before | Expand all | Expand 10 after
2210 2210
2211 void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) { 2211 void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) {
2212 EnsureSpace ensure_space(this); 2212 EnsureSpace ensure_space(this);
2213 EMIT(0x66); 2213 EMIT(0x66);
2214 EMIT(0x0F); 2214 EMIT(0x0F);
2215 EMIT(0x76); 2215 EMIT(0x76);
2216 emit_sse_operand(dst, src); 2216 emit_sse_operand(dst, src);
2217 } 2217 }
2218 2218
2219 2219
2220 void Assembler::punpckldq(XMMRegister dst, XMMRegister src) {
2221 EnsureSpace ensure_space(this);
2222 EMIT(0x66);
2223 EMIT(0x0F);
2224 EMIT(0x62);
2225 emit_sse_operand(dst, src);
2226 }
2227
2228
2229 void Assembler::punpckhdq(XMMRegister dst, XMMRegister src) {
2230 EnsureSpace ensure_space(this);
2231 EMIT(0x66);
2232 EMIT(0x0F);
2233 EMIT(0x6A);
2234 emit_sse_operand(dst, src);
2235 }
2236
2237
2220 void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) { 2238 void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) {
2221 EnsureSpace ensure_space(this); 2239 EnsureSpace ensure_space(this);
2222 EMIT(0xF2); 2240 EMIT(0xF2);
2223 EMIT(0x0F); 2241 EMIT(0x0F);
2224 EMIT(0xC2); 2242 EMIT(0xC2);
2225 emit_sse_operand(dst, src); 2243 emit_sse_operand(dst, src);
2226 EMIT(1); // LT == 1 2244 EMIT(1); // LT == 1
2227 } 2245 }
2228 2246
2229 2247
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 fprintf(coverage_log, "%s\n", file_line); 2823 fprintf(coverage_log, "%s\n", file_line);
2806 fflush(coverage_log); 2824 fflush(coverage_log);
2807 } 2825 }
2808 } 2826 }
2809 2827
2810 #endif 2828 #endif
2811 2829
2812 } } // namespace v8::internal 2830 } } // namespace v8::internal
2813 2831
2814 #endif // V8_TARGET_ARCH_IA32 2832 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698