Message ID | 20231107094519.1822582-1-christoph.muellner@vrull.eu |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp121896vqo; Tue, 7 Nov 2023 01:45:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXAGMI0d35ftkMy9N3jyF2xw+q2zCztmAzSCKUtJpgUjRtG98Dg1z5xuqT0jPnHrSl0DAn X-Received: by 2002:a05:6214:1cc2:b0:670:ba7c:938d with SMTP id g2-20020a0562141cc200b00670ba7c938dmr2906430qvd.25.1699350355975; Tue, 07 Nov 2023 01:45:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699350355; cv=pass; d=google.com; s=arc-20160816; b=ZUxKfFWqTZpaqBcXaArgLzSvNUXTAeT1teBmYOhEo0LLjHzXHtrq1KSuwDwtmFPkdh 5SMe6acqizqIwAxl4BTnajWOefW1xKewPPHtT5ds/mEEMifLJcCTwcGapj6IuDkH5TPI D/ZMRwNyty2OImvNM79Nbob7DkyrX5jmnDSHn+Pbiop0+OhjE8gObn2zl2C3Qr1q3FWv eKv25W/EbMeSuREH6UdlYsmiLvA6qkQ6zGOrKs7Bvjywq+VW8lP/rUz+w7nQGyqaPPx7 7sj2ffRSOIYwOHCynufxbFERPHMvyglQzEgkQHjFEywSmRHiKsU6u8HgD71ZwCKZlcZE z1PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=vuhCO+1nrKBcqZo+oOl6vQcP6ZKPgJiZRgAwC1fjYVA=; fh=9oFhVPKihcNP6VY2Nsu6+FGvAEKY/HNABCPdk6S267g=; b=07Q/PWeep9xHOAnM3hGKLhrLl4e/NEq98EOqOP5SbcMASaxkugf7PoZfsoxh/ERcTE BYvrwaxViZlJxgU1lY/lPDArfVh0lUOXZxLnFY3hbr5DsuezlwzfIk6s6t+2Y0vmSYZV 0pPLMjJ5ZUTemmKE4DZnqQ3BEM0nz6izaYwjaImEn5Y/N/05MwipKuOGV58Jb0GO2VYE 7KrStc+DF6H9Lb4xK6F8uINeMwqwrym/17drg3eFrkZ2da1NSOKP8fSRKYXTgcsozo+g mhIG3qE11K9XUuaJnI8JhkCB5VMdnFtK4YESiIZ3DEufAsSFKAs51w7Ow/YmkIHlhk5O 7b3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=baVUXSEc; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ef12-20020a0562140a6c00b0066d0869c6absi6601419qvb.550.2023.11.07.01.45.55 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:45:55 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=baVUXSEc; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BAF7A3858000 for <ouuuleilei@gmail.com>; Tue, 7 Nov 2023 09:45:55 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 6D7A33858D1E for <gcc-patches@gcc.gnu.org>; Tue, 7 Nov 2023 09:45:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D7A33858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D7A33858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699350333; cv=none; b=fpE8C/UDnTmk2Xj94C5o+EGkBxGrGto4VGDKVuCVHDJ4ng+vXMa4AZbmFmqS3X0bmwpG8LP4tESxb0vo1PUIjWHFtKE2Bq4o39UpuV5t52iOjtFUpdilEmpHU3NnzlrgY1f5KhAvlX/37kUqDQ4fUQ/2ONSUjpWj5KUWP6naLmE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699350333; c=relaxed/simple; bh=1pXPoq2IK8EPUDOhgALBTeXKkMJo2os79ZvHrRgCl2c=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=d5zdfBWKx+ciRlVPxSW+8tAOPYMLJacGAP0+3LvVloXyop/w4oqVI07tkba0+0jFPgFnDFvs3bMinFGj/icIurdXdlABvkwnUZuCgpMD9Xr5WANkkwicmTbjKPZ8xtACxpXFYEAYnbM60HXa0mJ8D2+2fl3ovPBPDcd3ROP2MSQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-53b32dca0bfso10871814a12.0 for <gcc-patches@gcc.gnu.org>; Tue, 07 Nov 2023 01:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; t=1699350329; x=1699955129; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vuhCO+1nrKBcqZo+oOl6vQcP6ZKPgJiZRgAwC1fjYVA=; b=baVUXSEcJLXhqUc4vRp+7S8+b7uxBgbquzjlMeMqVuHXwp7EJ8stDHuSQgBddvlK44 pNxyZXjC4bc+JtwmoOErhw+vJsIyL7Er9vVY74VJ/E7aO7Iuwog+byyvmJ1PA9YJk/us p1+T2Bf9tyYvDEcFcsVl9Ckua693GCUxyFaK3CY2nCIK2jUILg+b3kllGGSLgX4uzRFF 9IFLbqRcYGhlAihUlLK54yz6tpw6ODfJmBYX9+R8OYXMa8L7H8I62adDfIqzIT+7WZ24 LcQRX2Fc8KN7BGtLBjq8eEkWZg+j8QZ4jOfS790QPWz01DMLvTNK3D4zIwwgUm2H1LJR yOpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699350329; x=1699955129; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vuhCO+1nrKBcqZo+oOl6vQcP6ZKPgJiZRgAwC1fjYVA=; b=O1wvS9w58e/aeCxMp3NlPwtLNjA0wskrqxozYB4aD0wVYaFl7jkhvM2higg7Gkxo0V k2zloAWmEeIyQb1KNeJSjernCjRVDii8qyxL7ReuKqfQJ9ugi4QChcINN+Bkh5fGi75A dJRLCE7+DR/xL7p9ygFzytf7qS+EL7y6vozzNydA5ZNQURNX5WLf5B/WRbnDmnkmuW2X cB1aorohp238yUo4l407dTezJWPmB48WklE44AbIQUQPAFpILJM2zVx8d+R4c0FJgzDg hrbArIfi3YC2Gd49pCi1G1p1ReLo+UZjOxjhwfzrijDFxqyY5LiugH9cMdBkODYtaV84 j7Iw== X-Gm-Message-State: AOJu0Yzr23olQeA1mTF2E2/TiDiynypz1wLRTLrpTSzp2v+dI/cRFViY d6LEheC7E0oRtnNQMheakT8AfX2cLIPOYGbA6HI= X-Received: by 2002:a05:6402:138a:b0:52c:f73:3567 with SMTP id b10-20020a056402138a00b0052c0f733567mr1703288edv.13.1699350329003; Tue, 07 Nov 2023 01:45:29 -0800 (PST) Received: from beast.fritz.box (62-178-148-172.cable.dynamic.surfer.at. [62.178.148.172]) by smtp.gmail.com with ESMTPSA id t22-20020a50ab56000000b005407ac82f4csm5331087edc.97.2023.11.07.01.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:45:28 -0800 (PST) From: Christoph Muellner <christoph.muellner@vrull.eu> To: gcc-patches@gcc.gnu.org, Kito Cheng <kito.cheng@sifive.com>, Jim Wilson <jim.wilson.gcc@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Andrew Waterman <andrew@sifive.com>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Jeff Law <jeffreyalaw@gmail.com> Cc: =?utf-8?q?Christoph_M=C3=BCllner?= <christoph.muellner@vrull.eu> Subject: [PATCH] RISC-V: Use stdint-gcc.h in rvv testsuite Date: Tue, 7 Nov 2023 10:45:19 +0100 Message-ID: <20231107094519.1822582-1-christoph.muellner@vrull.eu> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_MANYTO, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781897998580724540 X-GMAIL-MSGID: 1781897998580724540 |
Series |
RISC-V: Use stdint-gcc.h in rvv testsuite
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Christoph Müllner
Nov. 7, 2023, 9:45 a.m. UTC
From: Christoph Müllner <christoph.muellner@vrull.eu> stdint.h can be replaced with stdint-gcc.h to resolve some missing system headers in non-multilib installations. gcc/testsuite/ChangeLog: * gcc.target/riscv/xtheadmemidx-helpers.h: Replace stdint.h with stdint-gcc.h. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> --- gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
LGTM, but title is little bit misleading, it's not really related to rvv, change to either RISC-V or T-head is fine, anyway, you can commit without send v2 :) Christoph Muellner <christoph.muellner@vrull.eu> 於 2023年11月7日 週二 17:45 寫道: > From: Christoph Müllner <christoph.muellner@vrull.eu> > > stdint.h can be replaced with stdint-gcc.h to resolve some missing > system headers in non-multilib installations. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/xtheadmemidx-helpers.h: > Replace stdint.h with stdint-gcc.h. > > Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> > --- > gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > index a97f08c5cc1..9d8ce124a93 100644 > --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > @@ -1,7 +1,7 @@ > #ifndef XTHEADMEMIDX_HELPERS_H > #define XTHEADMEMIDX_HELPERS_H > > -#include <stdint.h> > +#include <stdint-gcc.h> > > #define intX_t long > #define uintX_t unsigned long > -- > 2.41.0 > >
On Tue, Nov 7, 2023 at 11:16 AM Kito Cheng <kito.cheng@sifive.com> wrote: > > LGTM, but title is little bit misleading, it's not really related to rvv, change to either RISC-V or T-head is fine, anyway, you can commit without send v2 :) Fixed and pushed. Thanks! > > Christoph Muellner <christoph.muellner@vrull.eu> 於 2023年11月7日 週二 17:45 寫道: >> >> From: Christoph Müllner <christoph.muellner@vrull.eu> >> >> stdint.h can be replaced with stdint-gcc.h to resolve some missing >> system headers in non-multilib installations. >> >> gcc/testsuite/ChangeLog: >> >> * gcc.target/riscv/xtheadmemidx-helpers.h: >> Replace stdint.h with stdint-gcc.h. >> >> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> >> --- >> gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h >> index a97f08c5cc1..9d8ce124a93 100644 >> --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h >> +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h >> @@ -1,7 +1,7 @@ >> #ifndef XTHEADMEMIDX_HELPERS_H >> #define XTHEADMEMIDX_HELPERS_H >> >> -#include <stdint.h> >> +#include <stdint-gcc.h> >> >> #define intX_t long >> #define uintX_t unsigned long >> -- >> 2.41.0 >>
On Tue, 07 Nov 2023 01:45:19 PST (-0800), christoph.muellner@vrull.eu wrote: > From: Christoph Müllner <christoph.muellner@vrull.eu> > > stdint.h can be replaced with stdint-gcc.h to resolve some missing > system headers in non-multilib installations. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/xtheadmemidx-helpers.h: > Replace stdint.h with stdint-gcc.h. > > Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> > --- > gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > index a97f08c5cc1..9d8ce124a93 100644 > --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h > @@ -1,7 +1,7 @@ > #ifndef XTHEADMEMIDX_HELPERS_H > #define XTHEADMEMIDX_HELPERS_H > > -#include <stdint.h> > +#include <stdint-gcc.h> > > #define intX_t long > #define uintX_t unsigned long Presumably this still passes the tests? If so it LGTM so Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Thanks!
diff --git a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h index a97f08c5cc1..9d8ce124a93 100644 --- a/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h +++ b/gcc/testsuite/gcc.target/riscv/xtheadmemidx-helpers.h @@ -1,7 +1,7 @@ #ifndef XTHEADMEMIDX_HELPERS_H #define XTHEADMEMIDX_HELPERS_H -#include <stdint.h> +#include <stdint-gcc.h> #define intX_t long #define uintX_t unsigned long