From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 14CCA3846433 for ; Thu, 27 Oct 2022 23:05:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 14CCA3846433 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x533.google.com with SMTP id 128so3179878pga.1 for ; Thu, 27 Oct 2022 16:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qcSefcY74MDWT2M246Vm96kUkJzIUSDbH1soN8lJ5F0=; b=QXq+gfRu5S0zdyHmgeLEQ3QJhmrcpZDBW04CQYHpYOTD4ylROuT4gLyR7joIhl5sAi Lqc8CeqN+zb1ZH3Ov6ui7zn0c6BfBp0yIwSrNVOqx6Kkec9FzrwvFtALawz1s194CpvV KXCge4kH9sXoc+/khvcS/qMeSbD1sLShPWGfGzQ+wbZ0pNKZ+Mi7/BrzBC5/wThpmO+C ycekL6gGeUpLqkPXq1yF90PZund8yNxka9OSAT2fwDerJygKUx+YHfKqp7TNlZez7p3h fGea974XbbcXmV+++MgUWs4PIuw3PUAdN+CUKB1I+JXzwoTEdDdZP9xsxk9bwkdvcw7k M0zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qcSefcY74MDWT2M246Vm96kUkJzIUSDbH1soN8lJ5F0=; b=nmyuh2Eqd8qclskqaFWJosUr4nPYshtyBb0ZhMH5unEorVRCNO2exbPygIGmXbulMG Z+1FpqAmCUog/kRcUWeBVgQNSjvKpisoK/z9cwXStNJgG9xY//rOpShdnxY2qBZnaye/ oIVkIH3qEIMdYNdoryuosX0OG+X4NFRms7JS1BnvZy0NsjJMKfO+neiFa1bPBBVD4iuw IJrvEoTmqNmeiyr5Vkz/9wnRHs1t8QY9JH8exCcQr6nsb15ueNUuvKwD2RnhvuCE1zYF RO3bubYLPlje6zC3b1ftuHN684ZL+i5IuroleFtRaA+pQPtw/PjWWMCKNhek6oSH8T6o xoGQ== X-Gm-Message-State: ACrzQf0WfAKWy4ae2Rbl3f5XEHMAphDqsHB+NivCrSdAxMI9FrF0GSmK j7e+Une8LlkfSoJvXr3XCS0= X-Google-Smtp-Source: AMsMyM5Dza+CvlciIxxp5HCNI/ZQMy2yyNVBsADuibOfvosrsRq8iskb3IuuBxwSkyOrpF5x44c9gQ== X-Received: by 2002:a63:6b09:0:b0:453:88a9:1d18 with SMTP id g9-20020a636b09000000b0045388a91d18mr43615685pgc.41.1666911921071; Thu, 27 Oct 2022 16:05:21 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id n4-20020a170902e54400b001867fdec154sm1687051plf.224.2022.10.27.16.05.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 16:05:20 -0700 (PDT) Message-ID: <5ac3d38a-27c1-cc4a-dc4b-9d82e109503a@gmail.com> Date: Thu, 27 Oct 2022 17:05:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v2] RISC-V: Libitm add RISC-V support. Content-Language: en-US To: Xiongchuan Tan , gcc-patches@gcc.gnu.org Cc: fantasquex@gmail.com, andrew@sifive.com References: From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,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: On 10/27/22 06:49, Xiongchuan Tan via Gcc-patches wrote: > libitm/ChangeLog: > > * configure.tgt: Add riscv support. > * config/riscv/asm.h: New file. > * config/riscv/sjlj.S: New file. > * config/riscv/target.h: New file. > --- > v2: Change HW_CACHELINE_SIZE to 64 (in accordance with the RVA profiles, see > https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc) > > libitm/config/riscv/asm.h | 52 +++++++++++++ > libitm/config/riscv/sjlj.S | 144 +++++++++++++++++++++++++++++++++++ > libitm/config/riscv/target.h | 50 ++++++++++++ > libitm/configure.tgt | 2 + > 4 files changed, 248 insertions(+) > create mode 100644 libitm/config/riscv/asm.h > create mode 100644 libitm/config/riscv/sjlj.S > create mode 100644 libitm/config/riscv/target.h Not objecting or even reviewing....  But hasn't transactional memory largely fallen out of favor these days?  Intel has pulled it and I think IBM did as well.    Should we be investing in extending libitm at all? jeff