| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" // NOLINT | 5 #include "vm/globals.h" // NOLINT |
| 6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/cpu.h" | 9 #include "vm/cpu.h" |
| 10 #include "vm/heap.h" | 10 #include "vm/heap.h" |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 } | 1336 } |
| 1337 | 1337 |
| 1338 | 1338 |
| 1339 void Assembler::fstpl(const Address& dst) { | 1339 void Assembler::fstpl(const Address& dst) { |
| 1340 AssemblerBuffer::EnsureCapacity ensured(&buffer_); | 1340 AssemblerBuffer::EnsureCapacity ensured(&buffer_); |
| 1341 EmitUint8(0xDD); | 1341 EmitUint8(0xDD); |
| 1342 EmitOperand(3, dst); | 1342 EmitOperand(3, dst); |
| 1343 } | 1343 } |
| 1344 | 1344 |
| 1345 | 1345 |
| 1346 void Assembler::fildl(const Address& src) { | |
| 1347 AssemblerBuffer::EnsureCapacity ensured(&buffer_); | |
| 1348 EmitUint8(0xDF); | |
| 1349 EmitOperand(5, src); | |
| 1350 } | |
| 1351 | |
| 1352 | |
| 1353 void Assembler::fincstp() { | 1346 void Assembler::fincstp() { |
| 1354 AssemblerBuffer::EnsureCapacity ensured(&buffer_); | 1347 AssemblerBuffer::EnsureCapacity ensured(&buffer_); |
| 1355 EmitUint8(0xD9); | 1348 EmitUint8(0xD9); |
| 1356 EmitUint8(0xF7); | 1349 EmitUint8(0xF7); |
| 1357 } | 1350 } |
| 1358 | 1351 |
| 1359 | 1352 |
| 1360 void Assembler::ffree(intptr_t value) { | 1353 void Assembler::ffree(intptr_t value) { |
| 1361 ASSERT(value < 7); | 1354 ASSERT(value < 7); |
| 1362 AssemblerBuffer::EnsureCapacity ensured(&buffer_); | 1355 AssemblerBuffer::EnsureCapacity ensured(&buffer_); |
| (...skipping 2607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3970 | 3963 |
| 3971 | 3964 |
| 3972 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3965 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 3973 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); | 3966 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); |
| 3974 return xmm_reg_names[reg]; | 3967 return xmm_reg_names[reg]; |
| 3975 } | 3968 } |
| 3976 | 3969 |
| 3977 } // namespace dart | 3970 } // namespace dart |
| 3978 | 3971 |
| 3979 #endif // defined TARGET_ARCH_X64 | 3972 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |