OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |