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 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2344 ASSERT(IsEnabled(SSE2)); | 2344 ASSERT(IsEnabled(SSE2)); |
2345 EnsureSpace ensure_space(this); | 2345 EnsureSpace ensure_space(this); |
2346 EMIT(0x66); | 2346 EMIT(0x66); |
2347 EMIT(0x0F); | 2347 EMIT(0x0F); |
2348 EMIT(0x7E); | 2348 EMIT(0x7E); |
2349 emit_sse_operand(src, dst); | 2349 emit_sse_operand(src, dst); |
2350 } | 2350 } |
2351 | 2351 |
2352 | 2352 |
2353 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { | 2353 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { |
2354 ASSERT(CpuFeatures::IsSupported(SSE4_1)); | 2354 ASSERT(IsEnabled(SSE4_1)); |
2355 ASSERT(is_uint8(imm8)); | 2355 ASSERT(is_uint8(imm8)); |
2356 EnsureSpace ensure_space(this); | 2356 EnsureSpace ensure_space(this); |
2357 EMIT(0x66); | 2357 EMIT(0x66); |
2358 EMIT(0x0F); | 2358 EMIT(0x0F); |
2359 EMIT(0x3A); | 2359 EMIT(0x3A); |
2360 EMIT(0x17); | 2360 EMIT(0x17); |
2361 emit_sse_operand(dst, src); | 2361 emit_sse_operand(dst, src); |
2362 EMIT(imm8); | 2362 EMIT(imm8); |
2363 } | 2363 } |
2364 | 2364 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2695 fprintf(coverage_log, "%s\n", file_line); | 2695 fprintf(coverage_log, "%s\n", file_line); |
2696 fflush(coverage_log); | 2696 fflush(coverage_log); |
2697 } | 2697 } |
2698 } | 2698 } |
2699 | 2699 |
2700 #endif | 2700 #endif |
2701 | 2701 |
2702 } } // namespace v8::internal | 2702 } } // namespace v8::internal |
2703 | 2703 |
2704 #endif // V8_TARGET_ARCH_IA32 | 2704 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |