110d565efSmrg /* Definitions of target machine for GNU compiler. 210d565efSmrg NEC VR Series Processors 3*ec02198aSmrg Copyright (C) 2002-2020 Free Software Foundation, Inc. 410d565efSmrg Contributed by Red Hat, Inc. 510d565efSmrg 610d565efSmrg This file is part of GCC. 710d565efSmrg 810d565efSmrg GCC is free software; you can redistribute it and/or modify 910d565efSmrg it under the terms of the GNU General Public License as published by 1010d565efSmrg the Free Software Foundation; either version 3, or (at your option) 1110d565efSmrg any later version. 1210d565efSmrg 1310d565efSmrg GCC is distributed in the hope that it will be useful, 1410d565efSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of 1510d565efSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1610d565efSmrg GNU General Public License for more details. 1710d565efSmrg 1810d565efSmrg You should have received a copy of the GNU General Public License 1910d565efSmrg along with GCC; see the file COPYING3. If not see 2010d565efSmrg <http://www.gnu.org/licenses/>. */ 2110d565efSmrg 2210d565efSmrg #define DEFAULT_VR_ARCH "mfix-vr4130" 2310d565efSmrg #undef MULTILIB_DEFAULTS 2410d565efSmrg #define MULTILIB_DEFAULTS \ 2510d565efSmrg { MULTILIB_ENDIAN_DEFAULT, \ 2610d565efSmrg MULTILIB_ABI_DEFAULT, \ 2710d565efSmrg DEFAULT_VR_ARCH } 2810d565efSmrg 2910d565efSmrg #undef DRIVER_SELF_SPECS 3010d565efSmrg #define DRIVER_SELF_SPECS \ 3110d565efSmrg /* Enforce the default architecture. This is mostly for \ 3210d565efSmrg the assembler's benefit. */ \ 3310d565efSmrg "%{!march=*:%{!mfix-vr4120:%{!mfix-vr4130:" \ 3410d565efSmrg "-" DEFAULT_VR_ARCH "}}}", \ 3510d565efSmrg \ 3610d565efSmrg /* Make -mfix-vr4120 imply -march=vr4120. This cuts down \ 3710d565efSmrg on command-line tautology and makes it easier for t-vr to \ 3810d565efSmrg provide a -mfix-vr4120 multilib. */ \ 3910d565efSmrg "%{mfix-vr4120:%{!march=*:-march=vr4120}}", \ 4010d565efSmrg \ 4110d565efSmrg /* Same idea for -mfix-vr4130. */ \ 4210d565efSmrg "%{mfix-vr4130:%{!march=*:-march=vr4130}}", \ 4310d565efSmrg \ 4410d565efSmrg /* Infer the default float setting from -march. */ \ 4510d565efSmrg MIPS_ARCH_FLOAT_SPEC, \ 4610d565efSmrg \ 4710d565efSmrg /* Make -mabi=eabi -mlong32 the default. */ \ 4810d565efSmrg "%{!mabi=*:-mabi=eabi %{!mlong*:-mlong32}}", \ 4910d565efSmrg \ 5010d565efSmrg /* Make sure -mlong64 multilibs are chosen when 64-bit longs \ 5110d565efSmrg are needed. */ \ 5210d565efSmrg "%{mabi=eabi:%{!mlong*:%{!mgp32:-mlong64}}}", \ 5310d565efSmrg \ 5410d565efSmrg /* Remove -mgp32 if it is redundant. */ \ 5510d565efSmrg "%{mabi=32:%<mgp32}", \ 5610d565efSmrg \ 5710d565efSmrg /* Configuration-independent MIPS rules. */ \ 5810d565efSmrg BASE_DRIVER_SELF_SPECS 59