From patchwork Sat Nov 12 04:25:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 624219 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1187587pvb; Fri, 11 Nov 2022 20:27:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ZPrhIMRS4ir51rSPhs+oIuHUUiXNIH8K9on/a3RweZfksWri1ANWn6HW4EEGXHhsWFgMx X-Received: by 2002:a37:8747:0:b0:6fa:faad:2008 with SMTP id j68-20020a378747000000b006fafaad2008mr3700218qkd.668.1668227240790; Fri, 11 Nov 2022 20:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668227240; cv=none; d=google.com; s=arc-20160816; b=Iy5PgwBZcSarwbVxNDSAdO7qiSx5emx9YF6ULkALx7AePI11smzq8MwC5XhOr59au1 OBEYt8hkhg5/5Lm3Rb6J9KHT8PTzxGs0x1cidzeeuTEitXbj+PqndSlXcAVZGEAkYy0P otljjMHFp1Gk8jMI7NSUK9qV+95RYq1l1vbVJL6cWvk7X5Q+hXf54vJ3EikmzNoMEmlV 5bM0jDzWlFh/EK4WtL4mxYIETuwMA7TK9y3BaY8rYS8IavkBQRAJEdmBAbcSp209jEKN uCVGFkn13Z89u8WMqF/Gcm07MvEX8YgGfv9dApSuMtIbxleAm7Kf4J5HtneRLTfSCHMK 3cfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=EwtCFO19ZBhHavGSSjEACcNFIqLsY87dxQ9PhcSTieM=; b=fTnLuVBd0PWE7nnAVo2sfwmgj0zSSlLSQoPsbg0Ipz7c2c3tbS1FiE6dFj0tKyPeKn rtILotHvcrJsqC86NrcW0L4hZPpnMEZ/lZ1p1B9/zX6fH6G4+pthgF9P3/dY/J4PFygN NFawHCCPx+qssqmFNI1znqzJA6WQV5MNcIc181k/p8/X+vSvU08Xy0bea1+nqgEStdyR a9VHoaQjrwahJRKTYIu+RKd0P9Q9ONbCjNiKRUET0CFXjReS8wrV8u19xzJRHIXRXjIn kzmxR2ZHeg1OdS2GleVcEnYvVjT8TlpXAP0liT0SF7JNvv99GYpr8sFIYvsB2wnhoqKo XftA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zj79tZ4h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ga8-20020a05622a590800b003a524af2835si2212005qtb.233.2022.11.11.20.27.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Nov 2022 20:27:20 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zj79tZ4h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oti5o-0004zI-MX; Fri, 11 Nov 2022 23:26:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oti5m-0004z2-AS for qemu-devel@nongnu.org; Fri, 11 Nov 2022 23:26:06 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oti5i-00080r-PT for qemu-devel@nongnu.org; Fri, 11 Nov 2022 23:26:05 -0500 Received: by mail-pf1-x42e.google.com with SMTP id m6so6526094pfb.0 for ; Fri, 11 Nov 2022 20:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EwtCFO19ZBhHavGSSjEACcNFIqLsY87dxQ9PhcSTieM=; b=Zj79tZ4hgBHWnM5WBgN9kvTZFp8KVhOn6vbp3MalDCaVpOQcRZ27DFXHkTOy4aElPE DBCBblBQB6loX9aY7a5QK3rtTiy/HmqFaieYilpGSFo8Ri4aV1dSRCKP+26SW2jNYFF+ e8+tmZo+Xko6SOHGnqnQnzbY7g2oolm2TxbpIVj6jmDoLe0F28fV1kDtH+MWReZ2WXqi KdSFec04cYbMmPpUseTb/0dqvMwKTq6j8gSeUPKJe2I8whq9Tk0K8+LmaT28sVWF34/N AnRsnxSGCYrZNTzZxF+QpctjuH6jSn+XvFcnqtglPBvJSK0JlchISDoS70iKUfR/so7n VgFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EwtCFO19ZBhHavGSSjEACcNFIqLsY87dxQ9PhcSTieM=; b=dNascmEyOXE3W7zpBFnZbjH6hoNQ/XbxgsKmVL3KzPfVb9t9MiZLPW4V+SCA9y/Ue8 AYWMxcdrVBWfR2qGyMxDpCRc1BTpup9qpwNQj1RKXhH1XVls/73hWzVl6yvKFXMN12Qc UfFjPGTKa8LWedNEwoJynvU8sI1J3HV3LAuRWbAtfjvugXW4DAILBqxGZA0LD4CTfCil D+wg89GgQpfZ+4yIo3h6FyghRUDg6SA+iOIQWlbtE2FtlAb6YxzLylggGoWpOVY5n+RA l2MvKqXrm0BAeYm6O0Yep7CA3iCcKmN4yhETzYfKRvYXYxLRlajrSBjxaMBHXihhnfWv PCRA== X-Gm-Message-State: ANoB5pnftDlzxC8P26hepZ+rh8r6/qOOAXvT7u4C3tYQOoQ02yBDRclZ rgPoHA5LuO/RYxfB8fEVTog7T3RkzVJKPUGv X-Received: by 2002:aa7:84d2:0:b0:56c:3fbb:7eb1 with SMTP id x18-20020aa784d2000000b0056c3fbb7eb1mr5695375pfn.7.1668227161151; Fri, 11 Nov 2022 20:26:01 -0800 (PST) Received: from stoup.lan (2001-44b8-2176-c800-8228-b676-fb42-ee07.static.ipv6.internode.on.net. [2001:44b8:2176:c800:8228:b676:fb42:ee07]) by smtp.gmail.com with ESMTPSA id e6-20020a170902784600b001869ba04c83sm2522003pln.245.2022.11.11.20.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 20:26:00 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH for-8.0 0/2] target/arm: Use tcg_gen_atomic_cmpxchg_i128 Date: Sat, 12 Nov 2022 14:25:53 +1000 Message-Id: <20221112042555.2622152-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Use the new common function and avoid rolling our own helper(s). r~ Based-on: 20221111074101.2069454-1-richard.henderson@linaro.org ("tcg: Support for Int128 with helpers") Richard Henderson (2): target/arm: Use tcg_gen_atomic_cmpxchg_i128 for STXP target/arm: Use tcg_gen_atomic_cmpxchg_i128 for CASP target/arm/helper-a64.h | 8 -- target/arm/helper-a64.c | 147 ------------------------------------- target/arm/translate-a64.c | 121 +++++++++++++----------------- 3 files changed, 53 insertions(+), 223 deletions(-)