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.cc

Issue 2831009: Remove the comisd instruction from the ia32 and x64 assemblers. We... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 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/assembler-ia32.h ('k') | src/ia32/codegen-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 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2147 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { 2147 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) {
2148 EnsureSpace ensure_space(this); 2148 EnsureSpace ensure_space(this);
2149 last_pc_ = pc_; 2149 last_pc_ = pc_;
2150 EMIT(0xF2); 2150 EMIT(0xF2);
2151 EMIT(0x0F); 2151 EMIT(0x0F);
2152 EMIT(0x51); 2152 EMIT(0x51);
2153 emit_sse_operand(dst, src); 2153 emit_sse_operand(dst, src);
2154 } 2154 }
2155 2155
2156 2156
2157 void Assembler::comisd(XMMRegister dst, XMMRegister src) {
2158 ASSERT(CpuFeatures::IsEnabled(SSE2));
2159 EnsureSpace ensure_space(this);
2160 last_pc_ = pc_;
2161 EMIT(0x66);
2162 EMIT(0x0F);
2163 EMIT(0x2F);
2164 emit_sse_operand(dst, src);
2165 }
2166
2167
2168 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { 2157 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) {
2169 ASSERT(CpuFeatures::IsEnabled(SSE2)); 2158 ASSERT(CpuFeatures::IsEnabled(SSE2));
2170 EnsureSpace ensure_space(this); 2159 EnsureSpace ensure_space(this);
2171 last_pc_ = pc_; 2160 last_pc_ = pc_;
2172 EMIT(0x66); 2161 EMIT(0x66);
2173 EMIT(0x0F); 2162 EMIT(0x0F);
2174 EMIT(0x2E); 2163 EMIT(0x2E);
2175 emit_sse_operand(dst, src); 2164 emit_sse_operand(dst, src);
2176 } 2165 }
2177 2166
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
2598 fprintf(coverage_log, "%s\n", file_line); 2587 fprintf(coverage_log, "%s\n", file_line);
2599 fflush(coverage_log); 2588 fflush(coverage_log);
2600 } 2589 }
2601 } 2590 }
2602 2591
2603 #endif 2592 #endif
2604 2593
2605 } } // namespace v8::internal 2594 } } // namespace v8::internal
2606 2595
2607 #endif // V8_TARGET_ARCH_IA32 2596 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698