From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by sourceware.org (Postfix) with ESMTPS id 04F7A38708CF for ; Tue, 2 May 2023 20:14:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04F7A38708CF 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-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-24e0c29733fso2292352a91.2 for ; Tue, 02 May 2023 13:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1683058484; x=1685650484; 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=AA0x3hP7fDTX3UpNF9Jg41M73nflkl5PW05mY03D12Q=; b=KtSUNhTjwRnVLWnpFzejxD/HGh26wXB/K3+b09+CQ3BBdrALjLfMiQmHD0gsJaBBzi bcuSqQysnYKEIQIqvXMJOablbsQV+Vn/AiudzMSqsHM8wn1L8BUsTsAw5wudUxUp1+hF 7WGDqFK3gxjHHp3IEwevL2RKbwilN7MNZbv4hZv+ho78Ues9X9v9A6MKMzOA5sRFV/D4 SvXH1wGlspAQlBoOSksLMcXqrq+jMR9OSQpA4rukQCz4dW/BWCW/KmI4C2E0DjzNTf7V ifSC/+Uu/Yw6gNiW3dp3yvmN8VeHFGFTdw5ct3qw/T0ETmsNcamqcmi/JdqlTbfDlp4u yc9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683058484; x=1685650484; 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=AA0x3hP7fDTX3UpNF9Jg41M73nflkl5PW05mY03D12Q=; b=lu7tvklp6H0VhaDMYP7CMObl4LAhYEEggk0MQ4Ft5RcV/xhmq5xCBgzooJz1HECCxD ztKdaaP48TvQMjkTXQGtUYh3cXu3JYviBz039Dj83+y+KXoq6JhB9Hvu+bqaFA3HRMHA NRxbHCtDnu89BMwMoQ8cY7ZGhnyZsrAkOJeB6m9nxkGITnn2vNjm39cqv0QYoodcGlpV 8/qqXhlM5spe4Lg6DYQ3T99RLyL5IeP9RiEk6dqubvBp8r7+8gclJ3AFdS99gyI/Kc+0 W7cW8AR3C0VblCI6BsSC8Txabltj3shQ1rWf7bMYCM2uFz5TSZuBGtjKi/82qPBvlhIK 7zjA== X-Gm-Message-State: AC+VfDyRl1sWijW6r3786krXryk2wsbNViGki9kZpisuCbV7/DeNM4E8 Xdyo1+Rbr2j4UriARE49Ep6FoprsRv7J9ZWsH14ok1iZMY0= X-Google-Smtp-Source: ACHHUZ4MpAOXirz+vkN9bE9DbrN0rt3wK12YZ/mZ8A1fKXuU0y4kTrDdBuhwoHw0+4TGA0WMS3EXFQ== X-Received: by 2002:a17:90a:c09:b0:249:86bd:42a7 with SMTP id 9-20020a17090a0c0900b0024986bd42a7mr19089812pjs.42.1683058484405; Tue, 02 May 2023 13:14:44 -0700 (PDT) Received: from [10.0.17.156] ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id b13-20020a17090a8c8d00b0024deb445265sm5033879pjo.47.2023.05.02.13.14.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 13:14:44 -0700 (PDT) Message-ID: Date: Tue, 2 May 2023 13:14:42 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: [Committed 03/11] RISC-V: Enforce subword atomic LR/SC SEQ_CST Content-Language: en-US To: gcc-patches@gcc.gnu.org Cc: palmer@rivosinc.com, gnu-toolchain@rivosinc.com, vineetg@rivosinc.com, andrew@sifive.com, kito.cheng@sifive.com, dlustig@nvidia.com, cmuellner@gcc.gnu.org, andrea@rivosinc.com, hboehm@google.com, jeffreyalaw@gmail.com References: <20230414170942.1695672-1-patrick@rivosinc.com> <20230427162301.1151333-1-patrick@rivosinc.com> <20230427162301.1151333-4-patrick@rivosinc.com> From: Patrick O'Neill In-Reply-To: <20230427162301.1151333-4-patrick@rivosinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 4/27/23 09:22, Patrick O'Neill wrote: > Replace LR.aq/SC.rl pairs with the SEQ_CST LR.aqrl/SC.rl pairs > recommended by table A.6 of the ISA manual. > > 2023-04-27 Patrick O'Neill > > gcc/ChangeLog: > > * config/riscv/sync.md: Change LR.aq/SC.rl pairs into > sequentially consistent LR.aqrl/SC.rl pairs. > > Signed-off-by: Patrick O'Neill Acked by Jeff Law in reply to [PATCH v5 02/11] https://inbox.sourceware.org/gcc-patches/ce2e7d52-046d-90d7-baa2-11b299d5034d@gmail.com/ Committed. Patrick