| 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 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2547   EnsureSpace ensure_space(this); |  2547   EnsureSpace ensure_space(this); | 
|  2548   emit(0xF3); |  2548   emit(0xF3); | 
|  2549   emit_rex_64(dst, src); |  2549   emit_rex_64(dst, src); | 
|  2550   emit(0x0F); |  2550   emit(0x0F); | 
|  2551   emit(0x6F); |  2551   emit(0x6F); | 
|  2552   emit_sse_operand(dst, src); |  2552   emit_sse_operand(dst, src); | 
|  2553 } |  2553 } | 
|  2554  |  2554  | 
|  2555  |  2555  | 
|  2556 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { |  2556 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { | 
|  2557   ASSERT(CpuFeatures::IsSupported(SSE4_1)); |  2557   ASSERT(IsEnabled(SSE4_1)); | 
|  2558   ASSERT(is_uint8(imm8)); |  2558   ASSERT(is_uint8(imm8)); | 
|  2559   EnsureSpace ensure_space(this); |  2559   EnsureSpace ensure_space(this); | 
|  2560   emit(0x66); |  2560   emit(0x66); | 
|  2561   emit_optional_rex_32(dst, src); |  2561   emit_optional_rex_32(src, dst); | 
|  2562   emit(0x0F); |  2562   emit(0x0F); | 
|  2563   emit(0x3A); |  2563   emit(0x3A); | 
|  2564   emit(0x17); |  2564   emit(0x17); | 
|  2565   emit_sse_operand(dst, src); |  2565   emit_sse_operand(src, dst); | 
|  2566   emit(imm8); |  2566   emit(imm8); | 
|  2567 } |  2567 } | 
|  2568  |  2568  | 
|  2569  |  2569  | 
|  2570 void Assembler::movsd(const Operand& dst, XMMRegister src) { |  2570 void Assembler::movsd(const Operand& dst, XMMRegister src) { | 
|  2571   EnsureSpace ensure_space(this); |  2571   EnsureSpace ensure_space(this); | 
|  2572   emit(0xF2);  // double |  2572   emit(0xF2);  // double | 
|  2573   emit_optional_rex_32(src, dst); |  2573   emit_optional_rex_32(src, dst); | 
|  2574   emit(0x0F); |  2574   emit(0x0F); | 
|  2575   emit(0x11);  // store |  2575   emit(0x11);  // store | 
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3051 bool RelocInfo::IsCodedSpecially() { |  3051 bool RelocInfo::IsCodedSpecially() { | 
|  3052   // The deserializer needs to know whether a pointer is specially coded.  Being |  3052   // The deserializer needs to know whether a pointer is specially coded.  Being | 
|  3053   // specially coded on x64 means that it is a relative 32 bit address, as used |  3053   // specially coded on x64 means that it is a relative 32 bit address, as used | 
|  3054   // by branch instructions. |  3054   // by branch instructions. | 
|  3055   return (1 << rmode_) & kApplyMask; |  3055   return (1 << rmode_) & kApplyMask; | 
|  3056 } |  3056 } | 
|  3057  |  3057  | 
|  3058 } }  // namespace v8::internal |  3058 } }  // namespace v8::internal | 
|  3059  |  3059  | 
|  3060 #endif  // V8_TARGET_ARCH_X64 |  3060 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW |