From patchwork Thu Apr 4 09:00:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 1077002 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498844-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="lHwyqVTK"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uGw5fmHn"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44ZcPZ6rRQz9sTt for ; Thu, 4 Apr 2019 20:01:16 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=wEv/IMVoUyInGjMPL6XvL2PzE7zdG17EVNvQxPIl8rV 6EeMR7QIAg+f9Q4AfF+kc58QvRd0Sj9USaraX09anniedREPrY8sZSSoDlIHhlzm y6lgZ9tHqCuyJWB6XeEjTq5KdTSHThX7pL5Lw9aOz6TAL2spQmWPlERazJRDNfm0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=QDDUtnGU7yc47tKHORSAqewhrrA=; b=lHwyqVTKtLpKcyqxl Y1ztl+yu2PIdOvFfE/a4ZOLIr9mGNWtKWM3w4mfCHxt8vxZyiDYpLLd4Vlmtqu2c GtRr26/LSEejMbsd71mT1pOAH+f5+gF5z97Rh/u8sz2PE6LMgXR8tXrDKwN1Kr0I sRpMfIahkpjH/Br56BCdNt8dkc= Received: (qmail 116509 invoked by alias); 4 Apr 2019 09:01:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 116500 invoked by uid 89); 4 Apr 2019 09:01:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-it1-f172.google.com Received: from mail-it1-f172.google.com (HELO mail-it1-f172.google.com) (209.85.166.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Apr 2019 09:01:07 +0000 Received: by mail-it1-f172.google.com with SMTP id k64so2451140itb.5 for ; Thu, 04 Apr 2019 02:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=/Doe+VmmSfryDbzFMYzaYQVWRrpMXQoLq+qjRCuDZ00=; b=uGw5fmHn6R4HVw5It4P1pGJfGTMQvDnQj4Y2KkK1i9vABvYE5IL5/Mm/jtLLTadOHF k995Uz7FCJK2QhoeP2VE9QF/vsvr7eIcirMy8lTnH+kp/PJJszFS4phmSDHFIZFw0rWx iOLp3Tw4DysTX1+QC7dCHGZ7rcs0jxoor9+TgQfCt8HuydyI57wkSvMKfRPn/jbq8KWK X/WG2vCqvCthEGyIrPqlgHH5PZXB4MjZoVXifFnSRBDMYhUy/dQjKqEAHMtq2oKjwdD2 OfJLMbTDTY7j+KUejMdj13JXweJaLVAXgoYB/Fem/9QV9CqhhWl6AZz/N5YnItT+smI1 NsNg== MIME-Version: 1.0 From: Paul Hua Date: Thu, 4 Apr 2019 17:00:53 +0800 Message-ID: Subject: [PATCH][MIPS] Fix pr89623 Can't build mips-wrs-vxworks cross-compiler To: gcc-patches Cc: Matthew Fortune , "Jeff Law (law@redhat.com)" X-IsSubscribed: yes 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 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 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 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