| 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 2720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2731 EnsureSpace ensure_space(this); | 2731 EnsureSpace ensure_space(this); |
| 2732 last_pc_ = pc_; | 2732 last_pc_ = pc_; |
| 2733 emit(0xF2); | 2733 emit(0xF2); |
| 2734 emit_optional_rex_32(dst, src); | 2734 emit_optional_rex_32(dst, src); |
| 2735 emit(0x0F); | 2735 emit(0x0F); |
| 2736 emit(0x51); | 2736 emit(0x51); |
| 2737 emit_sse_operand(dst, src); | 2737 emit_sse_operand(dst, src); |
| 2738 } | 2738 } |
| 2739 | 2739 |
| 2740 | 2740 |
| 2741 void Assembler::comisd(XMMRegister dst, XMMRegister src) { | |
| 2742 EnsureSpace ensure_space(this); | |
| 2743 last_pc_ = pc_; | |
| 2744 emit(0x66); | |
| 2745 emit_optional_rex_32(dst, src); | |
| 2746 emit(0x0f); | |
| 2747 emit(0x2f); | |
| 2748 emit_sse_operand(dst, src); | |
| 2749 } | |
| 2750 | |
| 2751 | |
| 2752 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { | 2741 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) { |
| 2753 EnsureSpace ensure_space(this); | 2742 EnsureSpace ensure_space(this); |
| 2754 last_pc_ = pc_; | 2743 last_pc_ = pc_; |
| 2755 emit(0x66); | 2744 emit(0x66); |
| 2756 emit_optional_rex_32(dst, src); | 2745 emit_optional_rex_32(dst, src); |
| 2757 emit(0x0f); | 2746 emit(0x0f); |
| 2758 emit(0x2e); | 2747 emit(0x2e); |
| 2759 emit_sse_operand(dst, src); | 2748 emit_sse_operand(dst, src); |
| 2760 } | 2749 } |
| 2761 | 2750 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2866 // specially coded on x64 means that it is a relative 32 bit address, as used | 2855 // specially coded on x64 means that it is a relative 32 bit address, as used |
| 2867 // by branch instructions. | 2856 // by branch instructions. |
| 2868 return (1 << rmode_) & kApplyMask; | 2857 return (1 << rmode_) & kApplyMask; |
| 2869 } | 2858 } |
| 2870 | 2859 |
| 2871 | 2860 |
| 2872 | 2861 |
| 2873 } } // namespace v8::internal | 2862 } } // namespace v8::internal |
| 2874 | 2863 |
| 2875 #endif // V8_TARGET_ARCH_X64 | 2864 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |