Lines Matching refs:file_mips_opts
280 static struct mips_set_options file_mips_opts = variable
3510 if (! bfd_set_arch_mach (stdoutput, bfd_arch_mips, file_mips_opts.arch)) in md_begin()
3786 if (file_mips_opts.soft_float) in check_fpabi()
3788 else if (file_mips_opts.single_float) in check_fpabi()
3790 if (file_mips_opts.gp == 64 && file_mips_opts.fp == 32) in check_fpabi()
3792 else if (file_mips_opts.gp == 32 && file_mips_opts.fp == 64) in check_fpabi()
3799 else if (file_mips_opts.soft_float) in check_fpabi()
3801 else if (file_mips_opts.single_float) in check_fpabi()
3803 else if (file_mips_opts.fp != 0) in check_fpabi()
3811 else if (file_mips_opts.soft_float) in check_fpabi()
3813 else if (file_mips_opts.single_float) in check_fpabi()
3815 else if (file_mips_opts.fp != 64) in check_fpabi()
3817 else if (fpabi == Val_GNU_MIPS_ABI_FP_64 && !file_mips_opts.oddspreg) in check_fpabi()
3819 else if (fpabi == Val_GNU_MIPS_ABI_FP_64A && file_mips_opts.oddspreg) in check_fpabi()
3824 if (file_mips_opts.soft_float) in check_fpabi()
3826 else if (!file_mips_opts.single_float) in check_fpabi()
3831 if (!file_mips_opts.soft_float) in check_fpabi()
3928 if (file_mips_opts.gp < 0) in file_mips_check_options()
3933 file_mips_opts.gp = (ABI_NEEDS_32BIT_REGS (mips_abi) in file_mips_check_options()
3934 || !ISA_HAS_64BIT_REGS (file_mips_opts.isa)) in file_mips_check_options()
3938 if (file_mips_opts.fp < 0) in file_mips_check_options()
3947 if (file_mips_opts.gp == 64) in file_mips_check_options()
3949 file_mips_opts.fp = 64; in file_mips_check_options()
3950 else if ((file_mips_opts.ase & FP64_ASES) in file_mips_check_options()
3951 && ISA_HAS_64BIT_FPRS (file_mips_opts.isa)) in file_mips_check_options()
3953 file_mips_opts.fp = 64; in file_mips_check_options()
3956 file_mips_opts.fp = 64; in file_mips_check_options()
3959 file_mips_opts.fp = 32; in file_mips_check_options()
3962 arch_info = mips_cpu_info_from_arch (file_mips_opts.arch); in file_mips_check_options()
3966 if (file_mips_opts.oddspreg < 0) in file_mips_check_options()
3968 if (file_mips_opts.fp == 0) in file_mips_check_options()
3969 file_mips_opts.oddspreg = 0; in file_mips_check_options()
3971 file_mips_opts.oddspreg = 1; in file_mips_check_options()
3978 if (ISA_HAS_64BIT_REGS (file_mips_opts.isa) in file_mips_check_options()
3979 && ((mips_abi == NO_ABI && file_mips_opts.gp == 32) in file_mips_check_options()
3983 if (file_mips_opts.isa == ISA_MIPS1 && mips_trap) in file_mips_check_options()
3988 if (file_mips_opts.mips16 == -1) in file_mips_check_options()
3989 file_mips_opts.mips16 = (CPU_HAS_MIPS16 (file_mips_opts.arch)) ? 1 : 0; in file_mips_check_options()
3990 if (file_mips_opts.micromips == -1) in file_mips_check_options()
3991 file_mips_opts.micromips = (CPU_HAS_MICROMIPS (file_mips_opts.arch)) in file_mips_check_options()
3995 mips_nan2008 = (ISA_HAS_LEGACY_NAN (file_mips_opts.isa)) ? 0 : 1; in file_mips_check_options()
3996 else if (!ISA_HAS_LEGACY_NAN (file_mips_opts.isa) && mips_nan2008 == 0) in file_mips_check_options()
3998 mips_cpu_info_from_arch (file_mips_opts.arch)->name); in file_mips_check_options()
4002 if (file_mips_opts.fp != 64) in file_mips_check_options()
4007 file_mips_opts.ase |= (arch_info->ase & ~file_ase_explicit); in file_mips_check_options()
4010 mips_opts = file_mips_opts; in file_mips_check_options()
4013 mips_check_options (&file_mips_opts, TRUE); in file_mips_check_options()
4016 if (!bfd_set_arch_mach (stdoutput, bfd_arch_mips, file_mips_opts.arch)) in file_mips_check_options()
14195 file_ase_explicit |= mips_set_ase (&mips_ases[i], &file_mips_opts, in md_parse_option()
14245 file_mips_opts.isa = ISA_MIPS1; in md_parse_option()
14249 file_mips_opts.isa = ISA_MIPS2; in md_parse_option()
14253 file_mips_opts.isa = ISA_MIPS3; in md_parse_option()
14257 file_mips_opts.isa = ISA_MIPS4; in md_parse_option()
14261 file_mips_opts.isa = ISA_MIPS5; in md_parse_option()
14265 file_mips_opts.isa = ISA_MIPS32; in md_parse_option()
14269 file_mips_opts.isa = ISA_MIPS32R2; in md_parse_option()
14273 file_mips_opts.isa = ISA_MIPS32R3; in md_parse_option()
14277 file_mips_opts.isa = ISA_MIPS32R5; in md_parse_option()
14281 file_mips_opts.isa = ISA_MIPS32R6; in md_parse_option()
14285 file_mips_opts.isa = ISA_MIPS64R2; in md_parse_option()
14289 file_mips_opts.isa = ISA_MIPS64R3; in md_parse_option()
14293 file_mips_opts.isa = ISA_MIPS64R5; in md_parse_option()
14297 file_mips_opts.isa = ISA_MIPS64R6; in md_parse_option()
14301 file_mips_opts.isa = ISA_MIPS64; in md_parse_option()
14345 if (file_mips_opts.mips16 == 1) in md_parse_option()
14350 file_mips_opts.micromips = 1; in md_parse_option()
14355 file_mips_opts.micromips = 0; in md_parse_option()
14360 if (file_mips_opts.micromips == 1) in md_parse_option()
14365 file_mips_opts.mips16 = 1; in md_parse_option()
14370 file_mips_opts.mips16 = 0; in md_parse_option()
14439 file_mips_opts.insn32 = TRUE; in md_parse_option()
14443 file_mips_opts.insn32 = FALSE; in md_parse_option()
14455 file_mips_opts.sym32 = TRUE; in md_parse_option()
14459 file_mips_opts.sym32 = FALSE; in md_parse_option()
14509 file_mips_opts.gp = 32; in md_parse_option()
14513 file_mips_opts.gp = 64; in md_parse_option()
14517 file_mips_opts.fp = 32; in md_parse_option()
14521 file_mips_opts.fp = 0; in md_parse_option()
14525 file_mips_opts.fp = 64; in md_parse_option()
14529 file_mips_opts.oddspreg = 1; in md_parse_option()
14533 file_mips_opts.oddspreg = 0; in md_parse_option()
14537 file_mips_opts.single_float = 1; in md_parse_option()
14541 file_mips_opts.single_float = 0; in md_parse_option()
14545 file_mips_opts.soft_float = 1; in md_parse_option()
14549 file_mips_opts.soft_float = 0; in md_parse_option()
14659 if (file_mips_opts.isa != ISA_UNKNOWN) in mips_after_parse_args()
14669 if (file_mips_opts.isa != arch_info->isa) in mips_after_parse_args()
14672 mips_cpu_info_from_isa (file_mips_opts.isa)->name, in mips_after_parse_args()
14676 arch_info = mips_cpu_info_from_isa (file_mips_opts.isa); in mips_after_parse_args()
14689 file_mips_opts.arch = arch_info->cpu; in mips_after_parse_args()
14690 file_mips_opts.isa = arch_info->isa; in mips_after_parse_args()
14693 mips_opts = file_mips_opts; in mips_after_parse_args()
15800 mips_opts.gp = file_mips_opts.gp; in s_mipsset()
15802 mips_opts.fp = file_mips_opts.fp; in s_mipsset()
15805 mips_opts.isa = file_mips_opts.isa; in s_mipsset()
15806 mips_opts.arch = file_mips_opts.arch; in s_mipsset()
15807 mips_opts.gp = file_mips_opts.gp; in s_mipsset()
15808 mips_opts.fp = file_mips_opts.fp; in s_mipsset()
15916 file_mips_opts = mips_opts; in s_module()
16526 if (ISA_HAS_LEGACY_NAN (file_mips_opts.isa)) in s_nan()
16530 mips_cpu_info_from_isa (file_mips_opts.isa)->name); in s_nan()
18095 switch (file_mips_opts.isa) in mips_elf_final_processing()
18154 flags.gpr_size = file_mips_opts.gp == 32 ? AFL_REG_32 : AFL_REG_64; in mips_elf_final_processing()
18155 flags.cpr1_size = file_mips_opts.soft_float ? AFL_REG_NONE in mips_elf_final_processing()
18156 : (file_mips_opts.ase & ASE_MSA) ? AFL_REG_128 in mips_elf_final_processing()
18157 : (file_mips_opts.fp == 64) ? AFL_REG_64 in mips_elf_final_processing()
18163 flags.ases = mips_convert_ase_flags (file_mips_opts.ase); in mips_elf_final_processing()
18169 if ((ISA_HAS_ODD_SINGLE_FPR (file_mips_opts.isa, file_mips_opts.arch) in mips_elf_final_processing()
18170 || file_mips_opts.fp == 64) in mips_elf_final_processing()
18171 && file_mips_opts.oddspreg) in mips_elf_final_processing()
18230 if (file_mips_opts.ase & ASE_MDMX) in mips_elf_final_processing()
18240 if (file_mips_opts.gp == 64) in mips_elf_final_processing()
18926 if (file_mips_opts.gp >= 0) in mips_parse_cpu()
18927 return mips_cpu_info_from_isa (file_mips_opts.gp == 32 in mips_parse_cpu()
19240 if (file_mips_opts.soft_float == 1) in md_mips_end()
19243 else if (file_mips_opts.single_float == 1) in md_mips_end()
19247 switch (file_mips_opts.fp) in md_mips_end()
19250 if (file_mips_opts.gp == 32) in md_mips_end()
19257 if (file_mips_opts.gp == 32 && !file_mips_opts.oddspreg) in md_mips_end()
19259 else if (file_mips_opts.gp == 32) in md_mips_end()