1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 if (current_cpu == "mipsel") {
7 # MIPS arch variant. Possible values are:
11 mips_arch_variant = "r1"
13 # MIPS DSP ASE revision. Possible values are:
19 # MIPS floating-point ABI. Possible values are:
20 # "hard": sets the GCC -mhard-float option.
21 # "soft": sets the GCC -msoft-float option.
22 mips_float_abi = "hard"
24 # MIPS32 floating-point register width. Possible values are:
25 # "fp32": sets the GCC -mfp32 option.
26 # "fp64": sets the GCC -mfp64 option.
27 # "fpxx": sets the GCC -mfpxx option.
28 mips_fpu_mode = "fp32"
30 } else if (current_cpu == "mips64el") {
31 # MIPS arch variant. Possible values are:
36 mips_arch_variant = "r6"
40 mips_arch_variant = "r2"