From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 8ACE33858401 for ; Wed, 6 Sep 2023 15:07:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8ACE33858401 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1c0ecb9a075so21713455ad.2 for ; Wed, 06 Sep 2023 08:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1694012824; x=1694617624; darn=sourceware.org; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:from:to:cc:subject:date:message-id:reply-to; bh=zxwBsU0/jfiBokqX/U9+8XSf4sA4mubU6HPeJHsBROs=; b=JeQF9UijvUPdmBqKO1kelIuIEr7zLpA4aQUNC5E7Mlm7d8iLDHjPZzGAa5pd7L528B rKV40piZc4g48LiFNmZmD/8AtFGtlzAdBuEe98A/rsHGMlH01Eps7olhfPMHFT3dVSAJ daNHBjiIGp8DSVdgGwJX9lFtrHL5vC/9ue/K9MW5zZ2d4tbhB7H1Y3UKlRgNokvqo//K DN+9JXCtaPCgVlBLKS+GVM9V+n/aCqQeX1Ed6nvnPe7hA2SW5w0ncrTZ+nynG/rg1H0L mE4ldmzF35KrbyEfyyzFxJ6R1O1kAn790KXStwhxMcfEM1bojzn5dlse8gSa5cSsKLVl zGVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694012824; x=1694617624; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zxwBsU0/jfiBokqX/U9+8XSf4sA4mubU6HPeJHsBROs=; b=Kjgi99ZL+Fv7WJTGUxgHUYpK14YNp6JwVB4G9BRx4tOnmqAkcEFUJ57gOCFKvVQCJ5 /sDsuTjhN1HVODDKvOjYA89joz6dRQZ1Mi9FC6MyboVQ8x75Q8kXpwTVJePp1lWu6sv+ q4NWam6CWv/lx8Hvx/6W82gfz9LE5hYGaiVoUlxS54vpmJuWZe9fOPq6Mzm6ufF5FDPc HTFWYCQLmyqvq7b7jLxrkjuvLOkVz0V/ZwYCo1bwHQ4sPuITQ2aMUgpvPseUQRAfxPRU 1bZX0+kzwr/klKsTzQ7/s2G92cotHInKLudaVaiLqoM6wLPg/Mq3Yk+5DT4iSErPsCeH autg== X-Gm-Message-State: AOJu0Yyo4/XeiLZA/6fsQzqbsjtSu1Ib8J2RgBzMPEtt1GpsVWwUpv78 EYSYeldHkFTsXfQaQxg+tFcjLW+/Y+s9IWdEh/Q= X-Google-Smtp-Source: AGHT+IGCJSYv/CTkxYhbMsw8p63ERV0rne+pbZ5iCKsTRQbe4obgvq7jNgxJx8R6E3pUijfSdpnFkQ== X-Received: by 2002:a17:902:c40b:b0:1c3:1941:75f2 with SMTP id k11-20020a170902c40b00b001c3194175f2mr16361066plk.53.1694012824287; Wed, 06 Sep 2023 08:07:04 -0700 (PDT) Received: from localhost ([135.180.227.0]) by smtp.gmail.com with ESMTPSA id b11-20020a170902bd4b00b001ab39cd875csm11171354plx.133.2023.09.06.08.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 08:07:03 -0700 (PDT) Subject: [PATCH] build-many-glibcs: Add a RISC-V config with most of the B extensions Date: Wed, 6 Sep 2023 08:06:06 -0700 Message-ID: <20230906150605.10221-2-palmer@rivosinc.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Palmer Dabbelt From: Palmer Dabbelt To: libc-alpha@sourceware.org X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: We've had some B-related string optimizaitons show up over the past year, but we don't have a configuration in build-many-glibcs that tests them. This adds Zba, Zbc, and Zbs -- it doesn't add Zbc, but IIUC that's the common configuration. To avoid blowing up the build count it just adds rv64/lp64d. Signed-off-by: Palmer Dabbelt --- I haven't tested this at all, but figured I'd send it up for comments. I'm not really sure what the bar should be for builds here, we kind of just started with everything and then didn't add any more. --- scripts/build-many-glibcs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 3082522140..bbc153831e 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -396,6 +396,11 @@ class Context(object): variant='rv64imafdc-lp64d', gcc_cfg=['--with-arch=rv64imafdc', '--with-abi=lp64d', '--disable-multilib']) + self.add_config(arch='riscv64', + os_name='linux-gnu', + variant='rv64imafdcb-lp64d', + gcc_cfg=['--with-arch=rv64imafdc_zba_zbb_zbs', '--with-abi=lp64d', + '--disable-multilib']) self.add_config(arch='s390x', os_name='linux-gnu', glibcs=[{}, -- 2.42.0