From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 476583858C20 for ; Thu, 23 Nov 2023 11:34:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 476583858C20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 476583858C20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::535 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700739266; cv=none; b=vwYSpRsQx9iPk0ljRBYNfXp9qcVFZeyDhbaLZfONXhSBztR5fW+A15t6eQDxPMN/c1wRrpbTvKwFUCWHr0L7uGC45hGBR+NpfeL/b4NsnQ36FZ/KdMGY7X4dRA54SzHzh5OJ6GgIanNZSnidoiUcekIXBZO6SErdBSuQFV0gsjg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700739266; c=relaxed/simple; bh=nnVFzCruVzsWvLMyP6SJA+HEACWELijGa0k9OENoDjI=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=v5z9uszy7RdJLQsBFd5N8+i/0Cf957oHdyvSCOyO4vvANzfFNOB5hr/cG3D0vRZxgIfj84sjPRaZFwBDvmEz3WVx4Tv66ra+3Ulf23dmijkMdinUMgpAbqHaFYIpNMsiObYnfJyh2C2pUhyuePQnNCbc03EQLEc6Zq0pXYxjcHo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5bde026c1e1so5393a12.1 for ; Thu, 23 Nov 2023 03:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700739263; x=1701344063; darn=gcc.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=spHCiX4PNW7glH7p3DO1l+0BqyYuIXjnY+ane5h0MQg=; b=cx3YmDwjWjDToQy9nfkANSS9Q+ta3qjWcFFmkA6dzShlLlcn/gdkrxKcoMbXtxBQZB WODZ2f9hl0gGCjke0CvODHxwYKFDxnA+cEhFrEvN9eaQfqeWWNLdSrWzulmWTGFiWWWu rkoblTJkYFjBbcofoWVCfC+HbuoN06Sh3VvfRV0rJplNMfGKkJsvqQ5Q1HlAF9B44vAK QiI/LvZu1S/UJ3sL3+UP/cZGiUasTTtPX7p86YpyH22jIj+Cr+WEsNdkPKEZniJRCyVf vhJRS1bnk3tEWPylaxfcqc4CcjrclKoW6ZCUhu1dKYry5QmZ27IcyPXYQk+sV17H89qJ gI0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700739263; x=1701344063; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=spHCiX4PNW7glH7p3DO1l+0BqyYuIXjnY+ane5h0MQg=; b=gnW1eY1F8UHfz1pJ/HjJzpTjxYJItarP5ouVfNB5xeYkf/geV4MHAM5sz+xFdjAXR2 ZwhawTQf/dwd9V9YgKM7PbCL/56ifhoiNU6NHjJTottw86ToBY2VgB7nv21H07oW91Bb D1z51ZeDe3zy6w/k6K9X7pA4Y2gdIQpqeOjorW9vOUoL3zeasu9ofM0dms7rlo/xpBOV V+gsd49EhQ7QIuohPG4ey0t1rZMT9ieYZMXN903IuavSqAXiECs48REWbCtMazQxKur6 QIojhGiDTROXKAPy4EMlHwhtARlOsEeFgSi57S+DApHs9lxVKS654qtpi5PxlMR44rXW WuKA== X-Gm-Message-State: AOJu0YxyM/fFyOzIu28oTilz3whgD8Q1kCSlkW8ucNAJH/kXi0oMJqC5 rSZOnEwGfLLUbqWwFvO0rXU= X-Google-Smtp-Source: AGHT+IHsy/o8mUS8dEa8zQVDSUt90c97lLU1cW25gRrdv3SHVPNWJrs9foiLCe5hxhSgGMnpANfeRQ== X-Received: by 2002:a05:6a20:3c92:b0:18b:1f5d:b105 with SMTP id b18-20020a056a203c9200b0018b1f5db105mr6391300pzj.6.1700739262490; Thu, 23 Nov 2023 03:34:22 -0800 (PST) Received: from smtpclient.apple (zz20184013906F627101.userreverse.dion.ne.jp. [111.98.113.1]) by smtp.gmail.com with ESMTPSA id iy15-20020a170903130f00b001b896686c78sm1139000plb.66.2023.11.23.03.34.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Nov 2023 03:34:21 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: [PATCH v3] RISC-V: Implement TLS Descriptors. From: Tatsuyuki Ishi In-Reply-To: <87y1eod9e1.fsf@oldenburg.str.redhat.com> Date: Thu, 23 Nov 2023 20:34:07 +0900 Cc: gcc-patches@gcc.gnu.org, Rui Ueyama , Rui Ueyama , Kito Cheng , Jeff Law Content-Transfer-Encoding: quoted-printable Message-Id: <5CE98024-6EB6-4E7A-AC78-9452A5C3A114@gmail.com> References: <20230817181308.122802-2-ishitatsuyuki@gmail.com> <20231120131726.52280-1-ishitatsuyuki@gmail.com> <87y1eod9e1.fsf@oldenburg.str.redhat.com> To: Florian Weimer X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: > On Nov 23, 2023, at 19:57, Florian Weimer wrote: >=20 > * Tatsuyuki Ishi: >=20 >> I've considered gating this behind a GAS feature test, but it seems >> nontrivial especially for restricting the variants available at = runtime. >> Since TLS descriptors is not selected by default, I've decided to = leave it >> ungated. >>=20 >> In other news, I have made some progress on binutils side, and I'll = try to >> update the GAS / ld patch set with relaxation included, by the end of = this >> month. >=20 > Is there a glibc patch with the run-time implementation already? >=20 > I'm curious how you are going to implement saving the vector register > file There is, please see [1]. The vector register file handling is missing = right now as I=E2=80=99m not sure if we have agreed upon a calling convention = for RVV. In the spec, I have already specified the interaction with RVV: > Any other registers are callee-saved. This includes any vector = registers when the vector extension is supported. Once the calling convention is decided, I will add saving of all = caller-saved registers into the TLSDESC stub. [1]: = https://inbox.sourceware.org/libc-alpha/20230914084033.222120-1-ishitatsuy= uki@gmail.com/ > Thanks, > Florian >=20