From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by sourceware.org (Postfix) with ESMTPS id 49D613858D37 for ; Sat, 10 Oct 2020 20:09:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 49D613858D37 Received: by mail-io1-xd34.google.com with SMTP id 67so13791564iob.8 for ; Sat, 10 Oct 2020 13:09:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TfEeEfDXX4dOM4nXl+FVqAvYdxDQrtZmz1ueWrm+VF0=; b=nc1uWjD4hLXjaGboVB59IMN2EoPnPgYO4WHWUnYzYsQJ4+Yyhwmk/Ks6xAr45mglPr +fsLmQCDIYykef+pGGDONPmkwTC5nGpPkgxpRRhK0nuY8WuoQox10Kj9bmiPPl60sMc3 pkh9WE1rVMz7zR2QqA3YD5paEvUj3VdKS0Jgog6p8WppKNmYjT2A4BFi7hkJQBpQqgwP 4VIblYGbtQETDNfriFeUJrhdDyBhMKkNDQSpBnz2/zo5OX35434SzrAmgNra9N0bj/JY HlujAAZlskViW+4SfkVSO5L5oWEZCqAoy8MpK+Be48N0eHjDzaJp/JFoUc4EUDBFDz9R UbLA== X-Gm-Message-State: AOAM5309psym6iReWlSciKmx2N8KcoZEljvho9ADKDCm1aWfdQuHOnvd MIJLGlVuwnNp24pt3E2fajC+8q5W9pIa/v0cb7w= X-Google-Smtp-Source: ABdhPJwiVfF5/GirHRR1RbRlXJj8yknILi1t5mxKOrzyAnHgOrWPADrxSkqwu+JkIj8rchSZc31gOjdxUMRPWovKBZ0= X-Received: by 2002:a6b:b208:: with SMTP id b8mr13177172iof.36.1602360581537; Sat, 10 Oct 2020 13:09:41 -0700 (PDT) MIME-Version: 1.0 References: <945d5e74-b449-3746-6560-996d0437db76@hesbynett.no> <015e0ad8-8052-c63f-0eb1-4b9fa817cc10@hesbynett.no> In-Reply-To: <015e0ad8-8052-c63f-0eb1-4b9fa817cc10@hesbynett.no> From: Jonathan Wakely Date: Sat, 10 Oct 2020 21:09:30 +0100 Message-ID: Subject: Re: Atomic accesses on ARM microcontrollers To: David Brown Cc: Toby Douglass , GCC help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2020 20:09:43 -0000 On Sat, 10 Oct 2020 at 20:47, David Brown wrote: > On 09/10/2020 23:35, Toby Douglass wrote: > > The 4.1.2 atomics or the later, replacement API? > > > > I am not sure what you mean here, or what "4.1.2" refers to - it doesn't > match either the gcc manual or the C standards as far as I can see. I assume this means GCC 4.1.2 which was the first to support the __sync built-ins , which were superseded by the __atomic ones