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" // Needed here to get TARGET_ARCH_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
7 | 7 |
8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
9 | 9 |
10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 | 44 |
45 bool FlowGraphCompiler::SupportsUnboxedMints() { | 45 bool FlowGraphCompiler::SupportsUnboxedMints() { |
46 // Support unboxed mints when SSE 4.1 is available. | 46 // Support unboxed mints when SSE 4.1 is available. |
47 return FLAG_unbox_mints && TargetCPUFeatures::sse4_1_supported(); | 47 return FLAG_unbox_mints && TargetCPUFeatures::sse4_1_supported(); |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 bool FlowGraphCompiler::SupportsUnboxedFloat32x4() { | 51 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
52 return FLAG_enable_simd_inline; | 52 return FLAG_enable_simd_inline; |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 bool FlowGraphCompiler::SupportsSinCos() { | 56 bool FlowGraphCompiler::SupportsSinCos() { |
57 return true; | 57 return true; |
58 } | 58 } |
59 | 59 |
60 | 60 |
61 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 61 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
(...skipping 1756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1818 __ movups(reg, Address(ESP, 0)); | 1818 __ movups(reg, Address(ESP, 0)); |
1819 __ addl(ESP, Immediate(kFpuRegisterSize)); | 1819 __ addl(ESP, Immediate(kFpuRegisterSize)); |
1820 } | 1820 } |
1821 | 1821 |
1822 | 1822 |
1823 #undef __ | 1823 #undef __ |
1824 | 1824 |
1825 } // namespace dart | 1825 } // namespace dart |
1826 | 1826 |
1827 #endif // defined TARGET_ARCH_IA32 | 1827 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |