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

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

Issue 11664007: Added (dis-)assembler support for movmskps on ia32 and x64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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/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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 void Assembler::movmskpd(Register dst, XMMRegister src) { 2123 void Assembler::movmskpd(Register dst, XMMRegister src) {
2124 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2124 ASSERT(CpuFeatures::IsEnabled(SSE2));
2125 EnsureSpace ensure_space(this); 2125 EnsureSpace ensure_space(this);
2126 EMIT(0x66); 2126 EMIT(0x66);
2127 EMIT(0x0F); 2127 EMIT(0x0F);
2128 EMIT(0x50); 2128 EMIT(0x50);
2129 emit_sse_operand(dst, src); 2129 emit_sse_operand(dst, src);
2130 } 2130 }
2131 2131
2132 2132
2133 void Assembler::movmskps(Register dst, XMMRegister src) {
2134 ASSERT(CpuFeatures::IsEnabled(SSE2));
2135 EnsureSpace ensure_space(this);
2136 EMIT(0x0F);
2137 EMIT(0x50);
2138 emit_sse_operand(dst, src);
2139 }
2140
2141
2133 void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) { 2142 void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) {
2134 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2143 ASSERT(CpuFeatures::IsEnabled(SSE2));
2135 EnsureSpace ensure_space(this); 2144 EnsureSpace ensure_space(this);
2136 EMIT(0x66); 2145 EMIT(0x66);
2137 EMIT(0x0F); 2146 EMIT(0x0F);
2138 EMIT(0x76); 2147 EMIT(0x76);
2139 emit_sse_operand(dst, src); 2148 emit_sse_operand(dst, src);
2140 } 2149 }
2141 2150
2142 2151
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 fprintf(coverage_log, "%s\n", file_line); 2681 fprintf(coverage_log, "%s\n", file_line);
2673 fflush(coverage_log); 2682 fflush(coverage_log);
2674 } 2683 }
2675 } 2684 }
2676 2685
2677 #endif 2686 #endif
2678 2687
2679 } } // namespace v8::internal 2688 } } // namespace v8::internal
2680 2689
2681 #endif // V8_TARGET_ARCH_IA32 2690 #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