From nobody Wed Apr 16 13:40:03 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1634149713; cv=none; d=zohomail.com; s=zohoarc; b=k0EwzNV5tkBTUSZf/yK2USqtR1wn1fsvYc35gt9+cSxNZ3oVfCDSx0NrgmbBF2u85ePorQHswGvzHZZweyc9W+w6vpMedQCrupjo8p1Hzk/VEjPvt6qGNbjIQmdj1W4dCZPRVs0Ny6Htwxinj4OhStxRPByCnJMIQkGvsQzcFLg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634149713; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=i46GtS4jZvhz3YUTttQkHHMj47qcgxPUFuoIgSOj1ts=; b=ct4FGkJdknAQcGyQmrk+jMK/j6AywV3gNra0d7N8VHGe6iAmYZsq4tuGvHX9uMAdyp95kwUojoX8RfStZ2aHCqieRI+yl/hFsHjXO4Wd9YqC7fsalywOHCyZpsyCnVpPwfj2ByZ72FQnqh9VqCY/b8iMRe5vjJ0h7unluo4WBwY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1634149713291747.5969268767842; Wed, 13 Oct 2021 11:28:33 -0700 (PDT) Received: from localhost ([::1]:56192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maizQ-0003re-Au for importer@patchew.org; Wed, 13 Oct 2021 14:28:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maits-0003em-EL for qemu-devel@nongnu.org; Wed, 13 Oct 2021 14:22:48 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:39649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maitq-00030I-GQ for qemu-devel@nongnu.org; Wed, 13 Oct 2021 14:22:48 -0400 Received: by mail-pj1-x102f.google.com with SMTP id ls18-20020a17090b351200b001a00250584aso5062007pjb.4 for ; Wed, 13 Oct 2021 11:22:46 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id z2sm177140pfe.210.2021.10.13.11.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 11:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i46GtS4jZvhz3YUTttQkHHMj47qcgxPUFuoIgSOj1ts=; b=iYmr+oX/654rXqGm3ky/GK/ZO56e9EP+R3c4eHdt5iXvc0kIpMMVCzkQYlYOFk8dLm 8piiHXE/hTOjpBcmW17TEzQ3UoGAqPa94Q5s3hDLfozf8uOFN5hoyudKoXtTXFqve4wk 3xCe3qsiJSzMFpWcHKjbZS0y+i+K+QDQmnYej5d4BdgImWF8O7PkIksAiKiJY1E4Hfxv wyy01zPv06yunF0MugpnEP/29PFkXB23SHGSPXC4tn87gdPvb9kk/q/sZm6416ogLPar t0Un4dsSE6hpoWeuZp2/Zv5vmmritczrfDfofRbTd+W23klODbWx+9pf9kXko2WbRidX Af4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i46GtS4jZvhz3YUTttQkHHMj47qcgxPUFuoIgSOj1ts=; b=044UY1tpaiiwDfP/Nt5TgHEFVrj/9IZjUl39y8K20z5CHAGg8fIjXT0XobMpqLTinv 6U10tsCfwbWlgv2xEWX3DR7zIn6Nz8+xzi2G1T3aRFrTdzZIXiXs0RvzS2mFgkHAE64g aKsWus4Df/gc5B1p14vi//l3dSBA/PxuzaGHul/BtsqD9VF6kRRS62CD47orxfkaP5Zp qm2YM6+eiNVsRRp/ZVNUsc7ON43iw8kd71xqesmN6JRh+7kHF96psexkOqYuK9R6FYp0 QQGy6dzESArT6FgCpda9zE/Fy7rDtZ8ZN3azGCoRHfACxZTSjCQc91n5sW3l1d8s7kaL YvQA== X-Gm-Message-State: AOAM533+/YQvr56T2MgB6OBetgUfmoNgZ8IXy1XsdM1er4c3QRzUwb4Q NRewtgB4223cBCScdnUCPHu5VZe+Uul6+w== X-Google-Smtp-Source: ABdhPJymOtgvsJJaB7HZrTrIAaDv9sAFQQQV0wQZjAhOIVfFBNew/y4IS0Ttb2BP1BGRxAujUrUqNA== X-Received: by 2002:a17:90b:1a91:: with SMTP id ng17mr925433pjb.61.1634149365181; Wed, 13 Oct 2021 11:22:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 03/15] target/i386: Use MO_128 for 16 byte atomics Date: Wed, 13 Oct 2021 11:22:27 -0700 Message-Id: <20211013182239.991127-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211013182239.991127-1-richard.henderson@linaro.org> References: <20211013182239.991127-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102f.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1634149715140100001 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Richard Henderson --- target/i386/tcg/mem_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/tcg/mem_helper.c b/target/i386/tcg/mem_helper.c index 0fd696f9c1..a207e624cb 100644 --- a/target/i386/tcg/mem_helper.c +++ b/target/i386/tcg/mem_helper.c @@ -136,7 +136,7 @@ void helper_cmpxchg16b(CPUX86State *env, target_ulong a= 0) Int128 newv =3D int128_make128(env->regs[R_EBX], env->regs[R_ECX]); =20 int mem_idx =3D cpu_mmu_index(env, false); - MemOpIdx oi =3D make_memop_idx(MO_TEQ | MO_ALIGN_16, mem_idx); + MemOpIdx oi =3D make_memop_idx(MO_TE | MO_128 | MO_ALIGN, mem_idx); Int128 oldv =3D cpu_atomic_cmpxchgo_le_mmu(env, a0, cmpv, newv, oi= , ra); =20 if (int128_eq(oldv, cmpv)) { --=20 2.25.1