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 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1950 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { | 1950 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { |
1951 ASSERT(CpuFeatures::IsEnabled(SSE2)); | 1951 ASSERT(CpuFeatures::IsEnabled(SSE2)); |
1952 EnsureSpace ensure_space(this); | 1952 EnsureSpace ensure_space(this); |
1953 EMIT(0x66); | 1953 EMIT(0x66); |
1954 EMIT(0x0F); | 1954 EMIT(0x0F); |
1955 EMIT(0x2E); | 1955 EMIT(0x2E); |
1956 emit_sse_operand(dst, src); | 1956 emit_sse_operand(dst, src); |
1957 } | 1957 } |
1958 | 1958 |
1959 | 1959 |
| 1960 void Assembler::roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode) { |
| 1961 ASSERT(CpuFeatures::IsEnabled(SSE4_1)); |
| 1962 EnsureSpace ensure_space(this); |
| 1963 EMIT(0x66); |
| 1964 EMIT(0x0F); |
| 1965 EMIT(0x3A); |
| 1966 EMIT(0x0B); |
| 1967 emit_sse_operand(dst, src); |
| 1968 // Mask precision exeption. |
| 1969 EMIT(static_cast<byte>(mode) | 0x8); |
| 1970 } |
| 1971 |
1960 void Assembler::movmskpd(Register dst, XMMRegister src) { | 1972 void Assembler::movmskpd(Register dst, XMMRegister src) { |
1961 ASSERT(CpuFeatures::IsEnabled(SSE2)); | 1973 ASSERT(CpuFeatures::IsEnabled(SSE2)); |
1962 EnsureSpace ensure_space(this); | 1974 EnsureSpace ensure_space(this); |
1963 EMIT(0x66); | 1975 EMIT(0x66); |
1964 EMIT(0x0F); | 1976 EMIT(0x0F); |
1965 EMIT(0x50); | 1977 EMIT(0x50); |
1966 emit_sse_operand(dst, src); | 1978 emit_sse_operand(dst, src); |
1967 } | 1979 } |
1968 | 1980 |
1969 | 1981 |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2485 fprintf(coverage_log, "%s\n", file_line); | 2497 fprintf(coverage_log, "%s\n", file_line); |
2486 fflush(coverage_log); | 2498 fflush(coverage_log); |
2487 } | 2499 } |
2488 } | 2500 } |
2489 | 2501 |
2490 #endif | 2502 #endif |
2491 | 2503 |
2492 } } // namespace v8::internal | 2504 } } // namespace v8::internal |
2493 | 2505 |
2494 #endif // V8_TARGET_ARCH_IA32 | 2506 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |