aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/visium/t-visium
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2015-09-13 17:10:54 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-09-13 17:10:54 +0000
commit175650bccaea12f90925176e48bbf324ebd4dd50 (patch)
tree74a32b9cfbe24c55e72b0f457a818cbf2837e6f0 /gcc/config/visium/t-visium
parent61baec412d978857ae8c34e7e41c532fbeb9921a (diff)
downloadgcc-175650bccaea12f90925176e48bbf324ebd4dd50.zip
gcc-175650bccaea12f90925176e48bbf324ebd4dd50.tar.gz
gcc-175650bccaea12f90925176e48bbf324ebd4dd50.tar.bz2
config.gcc (visium-*-*): Enable --with-cpu option, accept gr5 and gr6 as possible values, defaulting to gr5.
* config.gcc (visium-*-*): Enable --with-cpu option, accept gr5 and gr6 as possible values, defaulting to gr5. Set target_cpu_default2. * config/visium/visium.h (OPTION_DEFAULT_SPECS): Define. (TARGET_CPU_gr5): Likewise. (TARGET_CPU_gr6): Likewise. (MULTILIB_DEFAULTS): Likewise. * config/visium/t-visium (MULTILIB_OPTIONS): Request distinct variants for mcpu=gr5 and mcpu=gr6. (MULTILIB_DIRNAMES): Adjust accordingly. From-SVN: r227728
Diffstat (limited to 'gcc/config/visium/t-visium')
-rw-r--r--gcc/config/visium/t-visium6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/visium/t-visium b/gcc/config/visium/t-visium
index e06141c..46234f0 100644
--- a/gcc/config/visium/t-visium
+++ b/gcc/config/visium/t-visium
@@ -17,5 +17,7 @@
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
-MULTILIB_OPTIONS = mcpu=gr6
-MULTILIB_DIRNAMES = gr6
+# The compiler defaults to -mcpu=gr5 but this may be overridden via --with-cpu
+# at configure time so the -mcpu setting must be symmetrical.
+MULTILIB_OPTIONS = mcpu=gr5/mcpu=gr6
+MULTILIB_DIRNAMES = gr5 gr6