From patchwork Sun Jan 15 02:32:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianmiao Qu X-Patchwork-Id: 1726661 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=boNTXab6; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NvfMs09bTz23fp for ; Sun, 15 Jan 2023 13:33:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBC593858C2C for ; Sun, 15 Jan 2023 02:33:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBC593858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673749985; bh=mTL4zbttGOY2Ir6wubR4WjPBIMe9BwWvBZzurm4EcMU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=boNTXab69n5a4kllZ8uWPkHYoYyLOOE0jTxKB8DyRcSp1wXCpKwE3wNs09XFOIxoI DfNEXAuwzxHVNhQcyRq0W4rstXR9mRkN+ve9R2rsvcQjHRC5OGESLXyk38F/qPX075 IFT8a7NX8VULbgWHuwqZrKtq9+GgzlfxAFHx2v4Q= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by sourceware.org (Postfix) with ESMTPS id B1C253858D1E for ; Sun, 15 Jan 2023 02:32:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B1C253858D1E X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R601e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018045192; MF=cooper.qu@linux.alibaba.com; NM=1; PH=DS; RN=1; SR=0; TI=SMTPD_---0VZYs8qp_1673749928; Received: from localhost(mailfrom:cooper.qu@linux.alibaba.com fp:SMTPD_---0VZYs8qp_1673749928) by smtp.aliyun-inc.com; Sun, 15 Jan 2023 10:32:09 +0800 To: gcc-patches@gcc.gnu.org Subject: [COMMITTED] C-SKY: Support --with-float=softfp in configuration. Date: Sun, 15 Jan 2023 10:32:07 +0800 Message-Id: <20230115023207.88481-1-cooper.qu@linux.alibaba.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) MIME-Version: 1.0 X-Spam-Status: No, score=-20.7 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Xianmiao Qu via Gcc-patches From: Xianmiao Qu Reply-To: Xianmiao Qu Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Missed it before, it needs to be used when compiling non-multilib. gcc/ * config.gcc (csky-*-*): Support --with-float=softfp. --- gcc/config.gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index c4633e869ac..f89a071b495 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1616,7 +1616,7 @@ csky-*-*) fi if test x${with_float} != x; then case ${with_float} in - soft | hard) ;; + soft | hard | softfp) ;; *) echo "Unknown floating point type used in --with-float=$with_float" exit 1