From patchwork Mon Aug 12 02:58:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 818567 Delivered-To: patch@linaro.org Received: by 2002:a5d:5711:0:b0:367:895a:4699 with SMTP id a17csp1180786wrv; Sun, 11 Aug 2024 19:59:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVbOnfQ5YuwwxAbVm5cXqGF2FyxPJ2Z4pUyFAmq2RdaMz25VLao+wfdDSwMtLs/xn/SjWKNXhBfzLQtgTeenMQX X-Google-Smtp-Source: AGHT+IFoEPU15iE7qoaqfd7xW418dWwCA3HP9nbD2YK/PV+oA5p7CDFauWRFO/TatGVohe+LALC4 X-Received: by 2002:a05:620a:178b:b0:7a1:da10:91a with SMTP id af79cd13be357-7a3824767e1mr2202580085a.12.1723431559686; Sun, 11 Aug 2024 19:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723431559; cv=none; d=google.com; s=arc-20160816; b=IE6T2yxbo5u9bw/paZM3MuCiNXK36UYKpmLViei97Egluv/a1qkEqXS6QE6kdj/JlR T0UPe4yJb7rp4wvcfkfq0IXDVurlkhLNnlKfbY4xEW8yFo0CLQn8r2ykEmkXvb1bjSl8 hVKINwsbzR8hCjq5ZyiKmCh1Aw6amtsJwWiM5sWJH3KMby4C0vgv3Z4kz0ekYkMIxQBq Cf3WY0ArMNd/UFDymile3XVkNZr4FRlhPk6TxGIHlSchjoEfoGBioufxNkq0SdeNTt5f hc+KP0kCH161eNSLov7mmSd0g7vZCiS2l2L0bmkR2XukUzeHpcTYtShqPWEQFIvqt4ts byEQ== 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=F5IYVpzSZ0U9UxZYhFSQtU8A7Jtfs2iGA3kmqgdiJlU=; fh=3mEp7FusppN5Drq2PN08R8D/9xXM9YdbtG5TkJxJBiE=; b=lNsNDdHGdbgSrnV8/c9RZHCK8I0WI6sV2UR5/mpceAZnQkj2zh8rZ25jCKLntFpWBG gFMIMc46HobfmMtQ/HQVXVBXPMmcSr97xXosdbBGx3NwnphCg6WwlwzoR20eMcxTniEp ymM1EdqAwZUjtTL5DkIYOZcqudvKhlHmnVDAXG1KKDdHd9rBi9bRc4mdd8w5uByhU3l8 d452O4s4TOqt0sIMHTW9MhvZjnLsl3sRgznFGTS7l3zF1UDLXD8kOMWSAFPt7xu9qnx6 UfJHRe70Q19st1VgH+liFFxNuRo5Ows6MmHkDe8Rkf73InktNgpPtBR6Z+7/4Q6a7quX XMhw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e1qlAzKI; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a4c7e0791asi498437985a.475.2024.08.11.19.59.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Aug 2024 19:59:19 -0700 (PDT) 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=e1qlAzKI; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdLGp-0004Dj-CT; Sun, 11 Aug 2024 22:58:55 -0400 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 1sdLGn-0004Ce-Kz for qemu-devel@nongnu.org; Sun, 11 Aug 2024 22:58:53 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdLGm-0003ef-5Z for qemu-devel@nongnu.org; Sun, 11 Aug 2024 22:58:53 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-70d316f0060so3077242b3a.1 for ; Sun, 11 Aug 2024 19:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723431530; x=1724036330; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=F5IYVpzSZ0U9UxZYhFSQtU8A7Jtfs2iGA3kmqgdiJlU=; b=e1qlAzKISqhNKweaZNQ+nx41MVbc5aY+UWF6dbrKKrxRw5qchiDiJ17esFUj5bdltT pZbEeUQRmjWS8IlUQ+H69jl8N4Xc0hFOBUaXGaCa6esQ0ut5FK2AlmAM+iVR8wcEdJQh Qutw4DOtcZ4ahe5M5adNVgXadUEa2Tc0Uyd+pXRnM7K/q2t5eO7vI2ek6Q9gdc5oSgGm tt1MN/9hZRegpjyRIYFfeUdFTzcGgugqX93I1Os5P5Ka7iFUNxyyfRFyd0jrr9ogbCpN X/7TLl+fK0QN+WNS8TeCFrPoS/ubQznrUM98ZwqA7mAKQIf4+qlL/PQCA+LOLF3mDcUp f/UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723431530; x=1724036330; 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=F5IYVpzSZ0U9UxZYhFSQtU8A7Jtfs2iGA3kmqgdiJlU=; b=IHlQkMrqFRpVjCseMwUHVBpa7m+fW1Gz1i3SW29D5FDYo7h7q+q96HZVKx9x5nzKhJ pBmQpOOI1giItA3evFDlE7zw49LTO3dhslofzKxOPUDJrJBPnSWXCAGDHhHSyoMbtJXZ FgFvnSz4Iy70pKyQ1ZGe3ytLR1RLXGuP1IQNXku36Vx5K4o68VM5OOi96OWZXTiakLES MzHmLYyKf7iYcLNN0qKwP8+9kHJTzEvkuARyC6FXltLIp6TEdPNxgTvsAxPsIKd1I0Yi uclcMZZIHElkYcAyAQlpTBFg/xnN2acA0puI3/h9YAC1syXd7KeQ1XJyI7gP9TE1W161 Oa6g== X-Gm-Message-State: AOJu0YznIuy1E72Yoj2AYCpJpCfBUYSDlTAD8qLs1TBjzJQgBkS6bRmh sypl4uIX074jAyo9pH5APTdjlbb53Ga0pOEw4AaC3ABpC0EX2L3/wcwzfMlTKC1yTJc3EqyaS5O sdoA= X-Received: by 2002:a05:6a21:3945:b0:1c6:ecee:1851 with SMTP id adf61e73a8af0-1c8a1f3facemr13171188637.22.1723431530000; Sun, 11 Aug 2024 19:58:50 -0700 (PDT) Received: from stoup.. ([203.30.4.111]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710e5a43b49sm2984841b3a.100.2024.08.11.19.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 19:58:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com Subject: [PATCH for-9.1 0/3] target/i386: Do not apply REX to MMX operands Date: Mon, 12 Aug 2024 12:58:41 +1000 Message-ID: <20240812025844.58956-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 Fixes #2495. r~ Richard Henderson (3): target/i386: Do not apply REX to MMX operands target/i386: Use unit not type in decode_modrm target/i386: Assert MMX and XMM registers in range target/i386/tcg/decode-new.c.inc | 13 ++++++++----- target/i386/tcg/emit.c.inc | 9 +++++++-- 2 files changed, 15 insertions(+), 7 deletions(-)