Hi,

The MIPS target  run out of Mask in mips.opt, we are stage4, this
patch retrieve loongson-ext that haven't used yet for now. In next
stage1, I will rewrite those part use HOST_WIDE_INT or same thing like
that.

Ok for commit ?

2019-04-04  Chenghua Xu  <paul.hua...@gmail.com>

        gcc/
        PR target/89623
        * config/mips/mips.opt (LOONGSON_EXT2): Use Var instead of Mask.
From a7671686bb820a6be896e6c75f5d2dd23dc1441f Mon Sep 17 00:00:00 2001
From: Chenghua Xu <paul.hua...@gmail.com>
Date: Thu, 4 Apr 2019 16:11:50 +0800
Subject: [PATCH] [MIPS] Set loongson-ext2 options to Var instead of Mask.

2019-04-04  Chenghua Xu  <paul.hua...@gmail.com>

    gcc/
    PR target/89623
    * config/mips/mips.opt (LOONGSON_EXT2): Use Var instead of Mask.
---
 gcc/config/mips/mips.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/mips/mips.opt b/gcc/config/mips/mips.opt
index f3702c4..817a482 100644
--- a/gcc/config/mips/mips.opt
+++ b/gcc/config/mips/mips.opt
@@ -473,5 +473,5 @@ Target Report Mask(LOONGSON_EXT)
 Use Loongson EXTension (EXT) instructions.
 
 mloongson-ext2
-Target Report Mask(LOONGSON_EXT2)
+Target Report Var(TARGET_LOONGSON_EXT2)
 Use Loongson EXTension R2 (EXT2) instructions.
-- 
1.8.3.1

Reply via email to