OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2539 emit(0x5E); | 2539 emit(0x5E); |
2540 emit_sse_operand(dst, src); | 2540 emit_sse_operand(dst, src); |
2541 } | 2541 } |
2542 | 2542 |
2543 | 2543 |
2544 void Assembler::xorpd(XMMRegister dst, XMMRegister src) { | 2544 void Assembler::xorpd(XMMRegister dst, XMMRegister src) { |
2545 EnsureSpace ensure_space(this); | 2545 EnsureSpace ensure_space(this); |
2546 last_pc_ = pc_; | 2546 last_pc_ = pc_; |
2547 emit(0x66); | 2547 emit(0x66); |
2548 emit_optional_rex_32(dst, src); | 2548 emit_optional_rex_32(dst, src); |
2549 emit(0x0f); | 2549 emit(0x0F); |
2550 emit(0x57); | 2550 emit(0x57); |
2551 emit_sse_operand(dst, src); | 2551 emit_sse_operand(dst, src); |
2552 } | 2552 } |
2553 | 2553 |
2554 | 2554 |
| 2555 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { |
| 2556 EnsureSpace ensure_space(this); |
| 2557 last_pc_ = pc_; |
| 2558 emit(0xF2); |
| 2559 emit_optional_rex_32(dst, src); |
| 2560 emit(0x0F); |
| 2561 emit(0x51); |
| 2562 emit_sse_operand(dst, src); |
| 2563 } |
| 2564 |
| 2565 |
2555 void Assembler::comisd(XMMRegister dst, XMMRegister src) { | 2566 void Assembler::comisd(XMMRegister dst, XMMRegister src) { |
2556 EnsureSpace ensure_space(this); | 2567 EnsureSpace ensure_space(this); |
2557 last_pc_ = pc_; | 2568 last_pc_ = pc_; |
2558 emit(0x66); | 2569 emit(0x66); |
2559 emit_optional_rex_32(dst, src); | 2570 emit_optional_rex_32(dst, src); |
2560 emit(0x0f); | 2571 emit(0x0f); |
2561 emit(0x2f); | 2572 emit(0x2f); |
2562 emit_sse_operand(dst, src); | 2573 emit_sse_operand(dst, src); |
2563 } | 2574 } |
2564 | 2575 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 written_position_ = current_position_; | 2661 written_position_ = current_position_; |
2651 } | 2662 } |
2652 } | 2663 } |
2653 | 2664 |
2654 | 2665 |
2655 const int RelocInfo::kApplyMask = RelocInfo::kCodeTargetMask | | 2666 const int RelocInfo::kApplyMask = RelocInfo::kCodeTargetMask | |
2656 1 << RelocInfo::INTERNAL_REFERENCE | | 2667 1 << RelocInfo::INTERNAL_REFERENCE | |
2657 1 << RelocInfo::JS_RETURN; | 2668 1 << RelocInfo::JS_RETURN; |
2658 | 2669 |
2659 } } // namespace v8::internal | 2670 } } // namespace v8::internal |
OLD | NEW |