OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # These are primarily relevant in current_cpu == "arm" contexts, where | 5 # These are primarily relevant in current_cpu == "arm" contexts, where |
6 # ARM code is being compiled. But they can also be relevant in the | 6 # ARM code is being compiled. But they can also be relevant in the |
7 # host toolchain context when target_cpu == "arm", where a host-side | 7 # host toolchain context when target_cpu == "arm", where a host-side |
8 # build tool being built will change its behavior depending on the | 8 # build tool being built will change its behavior depending on the |
9 # details of the target configuration. | 9 # details of the target configuration. |
10 if (target_cpu == "arm" || current_cpu == "arm") { | 10 if (target_cpu == "arm" || current_cpu == "arm") { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 if (arm_use_neon) { | 83 if (arm_use_neon) { |
84 arm_fpu = "neon" | 84 arm_fpu = "neon" |
85 } else { | 85 } else { |
86 arm_fpu = "vfpv3-d16" | 86 arm_fpu = "vfpv3-d16" |
87 } | 87 } |
88 } | 88 } |
89 } else if (current_cpu == "arm64" || target_cpu == "arm64") { | 89 } else if (current_cpu == "arm64" || target_cpu == "arm64") { |
90 # arm64 supports only "hard". | 90 # arm64 supports only "hard". |
91 arm_float_abi = "hard" | 91 arm_float_abi = "hard" |
92 arm_use_neon = true | 92 arm_use_neon = true |
93 arm_fpu = "cortex-a57+simd+crypto+fp+crc" | |
94 } | 93 } |
OLD | NEW |