OLD | NEW |
1 // Copyright (c) 2012, 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" | 5 #include "vm/globals.h" |
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/heap.h" | 9 #include "vm/heap.h" |
10 #include "vm/memory_region.h" | 10 #include "vm/memory_region.h" |
11 #include "vm/runtime_entry.h" | 11 #include "vm/runtime_entry.h" |
(...skipping 2165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2177 return cpu_reg_names[reg]; | 2177 return cpu_reg_names[reg]; |
2178 } | 2178 } |
2179 | 2179 |
2180 | 2180 |
2181 static const char* xmm_reg_names[kNumberOfXmmRegisters] = { | 2181 static const char* xmm_reg_names[kNumberOfXmmRegisters] = { |
2182 "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", | 2182 "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", |
2183 "xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15" | 2183 "xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15" |
2184 }; | 2184 }; |
2185 | 2185 |
2186 | 2186 |
2187 const char* Assembler::XmmRegisterName(XmmRegister reg) { | 2187 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
2188 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); | 2188 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); |
2189 return xmm_reg_names[reg]; | 2189 return xmm_reg_names[reg]; |
2190 } | 2190 } |
2191 | 2191 |
2192 | 2192 |
2193 } // namespace dart | 2193 } // namespace dart |
2194 | 2194 |
2195 #endif // defined TARGET_ARCH_X64 | 2195 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |