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 2484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2495 last_pc_ = pc_; | 2495 last_pc_ = pc_; |
2496 EMIT(0x66); | 2496 EMIT(0x66); |
2497 EMIT(0x0F); | 2497 EMIT(0x0F); |
2498 EMIT(0x70); | 2498 EMIT(0x70); |
2499 emit_sse_operand(dst, src); | 2499 emit_sse_operand(dst, src); |
2500 EMIT(shuffle); | 2500 EMIT(shuffle); |
2501 } | 2501 } |
2502 | 2502 |
2503 | 2503 |
2504 void Assembler::pextrd(const Operand& dst, XMMRegister src, int8_t offset) { | 2504 void Assembler::pextrd(const Operand& dst, XMMRegister src, int8_t offset) { |
2505 ASSERT(CpuFeatures::IsEnabled(SSE2)); | 2505 ASSERT(CpuFeatures::IsEnabled(SSE4_1)); |
2506 EnsureSpace ensure_space(this); | 2506 EnsureSpace ensure_space(this); |
2507 last_pc_ = pc_; | 2507 last_pc_ = pc_; |
2508 EMIT(0x66); | 2508 EMIT(0x66); |
2509 EMIT(0x0F); | 2509 EMIT(0x0F); |
2510 EMIT(0x3A); | 2510 EMIT(0x3A); |
2511 EMIT(0x16); | 2511 EMIT(0x16); |
2512 emit_sse_operand(src, dst); | 2512 emit_sse_operand(src, dst); |
2513 EMIT(offset); | 2513 EMIT(offset); |
2514 } | 2514 } |
2515 | 2515 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2733 fprintf(coverage_log, "%s\n", file_line); | 2733 fprintf(coverage_log, "%s\n", file_line); |
2734 fflush(coverage_log); | 2734 fflush(coverage_log); |
2735 } | 2735 } |
2736 } | 2736 } |
2737 | 2737 |
2738 #endif | 2738 #endif |
2739 | 2739 |
2740 } } // namespace v8::internal | 2740 } } // namespace v8::internal |
2741 | 2741 |
2742 #endif // V8_TARGET_ARCH_IA32 | 2742 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |