| 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 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1959 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { | 1959 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { |
| 1960 ASSERT(CpuFeatures::IsEnabled(SSE2)); | 1960 ASSERT(CpuFeatures::IsEnabled(SSE2)); |
| 1961 EnsureSpace ensure_space(this); | 1961 EnsureSpace ensure_space(this); |
| 1962 EMIT(0x66); | 1962 EMIT(0x66); |
| 1963 EMIT(0x0F); | 1963 EMIT(0x0F); |
| 1964 EMIT(0x2E); | 1964 EMIT(0x2E); |
| 1965 emit_sse_operand(dst, src); | 1965 emit_sse_operand(dst, src); |
| 1966 } | 1966 } |
| 1967 | 1967 |
| 1968 | 1968 |
| 1969 void Assembler::roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode) { |
| 1970 ASSERT(CpuFeatures::IsEnabled(SSE4_1)); |
| 1971 EnsureSpace ensure_space(this); |
| 1972 EMIT(0x66); |
| 1973 EMIT(0x0F); |
| 1974 EMIT(0x3A); |
| 1975 EMIT(0x0B); |
| 1976 emit_sse_operand(dst, src); |
| 1977 // Mask precision exeption. |
| 1978 EMIT(static_cast<byte>(mode) | 0x8); |
| 1979 } |
| 1980 |
| 1969 void Assembler::movmskpd(Register dst, XMMRegister src) { | 1981 void Assembler::movmskpd(Register dst, XMMRegister src) { |
| 1970 ASSERT(CpuFeatures::IsEnabled(SSE2)); | 1982 ASSERT(CpuFeatures::IsEnabled(SSE2)); |
| 1971 EnsureSpace ensure_space(this); | 1983 EnsureSpace ensure_space(this); |
| 1972 EMIT(0x66); | 1984 EMIT(0x66); |
| 1973 EMIT(0x0F); | 1985 EMIT(0x0F); |
| 1974 EMIT(0x50); | 1986 EMIT(0x50); |
| 1975 emit_sse_operand(dst, src); | 1987 emit_sse_operand(dst, src); |
| 1976 } | 1988 } |
| 1977 | 1989 |
| 1978 | 1990 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2494 fprintf(coverage_log, "%s\n", file_line); | 2506 fprintf(coverage_log, "%s\n", file_line); |
| 2495 fflush(coverage_log); | 2507 fflush(coverage_log); |
| 2496 } | 2508 } |
| 2497 } | 2509 } |
| 2498 | 2510 |
| 2499 #endif | 2511 #endif |
| 2500 | 2512 |
| 2501 } } // namespace v8::internal | 2513 } } // namespace v8::internal |
| 2502 | 2514 |
| 2503 #endif // V8_TARGET_ARCH_IA32 | 2515 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |