OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2800 void Assembler::addsd(XMMRegister dst, XMMRegister src) { | 2800 void Assembler::addsd(XMMRegister dst, XMMRegister src) { |
2801 EnsureSpace ensure_space(this); | 2801 EnsureSpace ensure_space(this); |
2802 emit(0xF2); | 2802 emit(0xF2); |
2803 emit_optional_rex_32(dst, src); | 2803 emit_optional_rex_32(dst, src); |
2804 emit(0x0F); | 2804 emit(0x0F); |
2805 emit(0x58); | 2805 emit(0x58); |
2806 emit_sse_operand(dst, src); | 2806 emit_sse_operand(dst, src); |
2807 } | 2807 } |
2808 | 2808 |
2809 | 2809 |
| 2810 void Assembler::addsd(XMMRegister dst, const Operand& src) { |
| 2811 EnsureSpace ensure_space(this); |
| 2812 emit(0xF2); |
| 2813 emit_optional_rex_32(dst, src); |
| 2814 emit(0x0F); |
| 2815 emit(0x58); |
| 2816 emit_sse_operand(dst, src); |
| 2817 } |
| 2818 |
| 2819 |
2810 void Assembler::mulsd(XMMRegister dst, XMMRegister src) { | 2820 void Assembler::mulsd(XMMRegister dst, XMMRegister src) { |
2811 EnsureSpace ensure_space(this); | 2821 EnsureSpace ensure_space(this); |
2812 emit(0xF2); | 2822 emit(0xF2); |
2813 emit_optional_rex_32(dst, src); | 2823 emit_optional_rex_32(dst, src); |
2814 emit(0x0F); | 2824 emit(0x0F); |
2815 emit(0x59); | 2825 emit(0x59); |
2816 emit_sse_operand(dst, src); | 2826 emit_sse_operand(dst, src); |
2817 } | 2827 } |
2818 | 2828 |
2819 | 2829 |
| 2830 void Assembler::mulsd(XMMRegister dst, const Operand& src) { |
| 2831 EnsureSpace ensure_space(this); |
| 2832 emit(0xF2); |
| 2833 emit_optional_rex_32(dst, src); |
| 2834 emit(0x0F); |
| 2835 emit(0x59); |
| 2836 emit_sse_operand(dst, src); |
| 2837 } |
| 2838 |
| 2839 |
2820 void Assembler::subsd(XMMRegister dst, XMMRegister src) { | 2840 void Assembler::subsd(XMMRegister dst, XMMRegister src) { |
2821 EnsureSpace ensure_space(this); | 2841 EnsureSpace ensure_space(this); |
2822 emit(0xF2); | 2842 emit(0xF2); |
2823 emit_optional_rex_32(dst, src); | 2843 emit_optional_rex_32(dst, src); |
2824 emit(0x0F); | 2844 emit(0x0F); |
2825 emit(0x5C); | 2845 emit(0x5C); |
2826 emit_sse_operand(dst, src); | 2846 emit_sse_operand(dst, src); |
2827 } | 2847 } |
2828 | 2848 |
2829 | 2849 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3011 bool RelocInfo::IsCodedSpecially() { | 3031 bool RelocInfo::IsCodedSpecially() { |
3012 // The deserializer needs to know whether a pointer is specially coded. Being | 3032 // The deserializer needs to know whether a pointer is specially coded. Being |
3013 // specially coded on x64 means that it is a relative 32 bit address, as used | 3033 // specially coded on x64 means that it is a relative 32 bit address, as used |
3014 // by branch instructions. | 3034 // by branch instructions. |
3015 return (1 << rmode_) & kApplyMask; | 3035 return (1 << rmode_) & kApplyMask; |
3016 } | 3036 } |
3017 | 3037 |
3018 } } // namespace v8::internal | 3038 } } // namespace v8::internal |
3019 | 3039 |
3020 #endif // V8_TARGET_ARCH_X64 | 3040 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |