From patchwork Thu May 2 16:55:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 794117 Delivered-To: patch@linaro.org Received: by 2002:adf:a153:0:b0:34d:5089:5a9e with SMTP id r19csp353504wrr; Thu, 2 May 2024 09:56:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUH3hdWU478W0jscR5YLKXa9gVSvaFLNpDSr6KEbugB5VIhxabqqExJQS5jPdqNzaj05h+/Conn9djj4F/YslTY X-Google-Smtp-Source: AGHT+IHiLKg8UAiN4FJOtg90puKsP3hXt1R+VLV85ua/jdX6L5gbVWxW5yKV36pcrYlKFo8PRMKq X-Received: by 2002:a05:620a:70de:b0:790:98bc:4787 with SMTP id vk30-20020a05620a70de00b0079098bc4787mr179681qkn.15.1714668980767; Thu, 02 May 2024 09:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714668980; cv=none; d=google.com; s=arc-20160816; b=qvMgO9Bd7popjLgrDINvtdkU+L+Wt3SQp8569h5rFUAKgrrWZ1R0Y7NHHsqig6lgJF 880sZ875pCaCrw2Iblckd8XjztuE2Br5JCwbwYNUJuuPYY+ZOns022Bv01fdzpFslsBc Yj5LOs0XR2Bi7qN/I/6XeYQarQH9g5nMzviMxGgLl2loh8ef8RBJeUhtTxqMmRA5/A0e /FFZk52VAyru4ubJw169VJlDXYqYXuHv+lEgvvR+2A/f/TC0lg93qc09QKCsu0wm1dR9 5FW7gQ5RclN3/80g/M8l1EwxPCaT+sygCJAT3JCEToTp1QYQy39G+jxXAIO06LQxfIcv KoIg== 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=jboQhdCbtWFTds253ujt0GVfvWL308kDLSJJ/VKt72k=; fh=TYrED6TOMxGX0VC4GtjviASLbYyJe19+7/tKWjN44KQ=; b=yeQp1QPd3K/4vTS3R+52YqgFLAWIAq37B6vyDi2w727cCY+pLcAeZQF2rNJE/s1nO9 /NWujR4S+LhIqoBYbCTAumPIDjQVpgxiLcunGxsOu/AOWPRxK/yZlXDPZR8ZvKP4sQQQ gTCEk2doJxd0gqqtx7npE3h4L949So0Se4gsHCB724bcC3FUDsZ7Oyd5uelidjtBqJvq w9RPUK0DnC5EWBlmwFwC1pZQXD9gqxkCyu3s71Og3L7f2C0qgBSezEq0q9JLmY48pjiK IUtvz4w6BtyVuui1FKxXx6BSUV7eoo75zXATRTX/jXFdnR9R53ZniFOuQGDQe5BWZZ1A UF/Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e9qqFwon; 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 v14-20020a05620a090e00b0078f1222e207si1287837qkv.496.2024.05.02.09.56.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 May 2024 09:56:20 -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=e9qqFwon; 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 1s2Ziq-0000xe-GE; Thu, 02 May 2024 12:55:52 -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 1s2Zia-0000tH-Ag for qemu-devel@nongnu.org; Thu, 02 May 2024 12:55:37 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2ZiV-0005uc-AU for qemu-devel@nongnu.org; Thu, 02 May 2024 12:55:33 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6f44390e328so498928b3a.2 for ; Thu, 02 May 2024 09:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714668929; x=1715273729; 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=jboQhdCbtWFTds253ujt0GVfvWL308kDLSJJ/VKt72k=; b=e9qqFwonp0+emfvk3pewX9nB2m3cufZ6lkrUniMt00krVPuQBVLKLXHN3kTcK3y6Dc BkAK3Kqv9D7+rGjdmOrCS9w0hBjXawTmGLZrI5RCXTcICISiPiZXBVx5ndf9Si8f0qZY 3QR5dAyD9vyPqgiK95ZY8b9gwNyqP4GkrsEbsHq2AzPydxF1Tr6xVd66LqjETnXoh+el OOBXs/5CpXt/3GJ/caxK5MKdc3Q+/jyvCYwQVXrGLO4EBRRIOHAhNzOmLKuXzraMkoZA g9DD2GQtbY76lfH8+0Usx+w/HoVrKbuU/UwlC7Z/14WHk836ivbDL9c7uGsLwa4brgvW m9nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714668929; x=1715273729; 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=jboQhdCbtWFTds253ujt0GVfvWL308kDLSJJ/VKt72k=; b=mqRd8eM2eITu7gZZql/hPmahAxaBhzqTXpb5se2EZ86gGWRFcR9a19UPZrsmVwclw0 AYeLc2ShORzl4hJH58qUl7aA2pZ5rh3ds4nU+6yyD7NyCUpSGHb+Jza8CYECex+zX9hA RrbEo2sdXIX5KFREae/CyQVx9Ncc1qeYEwjSIe81YBiEC3kB3oVXMlDm3zltBR0pC6TT 1+C4VtaRypliUisDSlpUHkjuwKGh1ikrSI1JjvC9BXV6BLjI9M33MKi2mc/L87uangkQ /vohWLnAAJ5yCrnsNjokjj4Li+nD4aQjG/+j9YOnP9Ak0VY2VjfFxbKCUL1DVxY9rOnR NXxg== X-Gm-Message-State: AOJu0YwvPqDiO5LbH05YNxOkgNblVw2BCAzrhEW99gCMW8MW+5EC49JK 7m/w85PQZ1no22aVeMW9DyceR3Tpize3HDxt/C9tgsBr+SupjiB3PovD8j3+Erw8PzUapXAqQnW e X-Received: by 2002:a05:6a20:a105:b0:1ad:1168:a417 with SMTP id q5-20020a056a20a10500b001ad1168a417mr350679pzk.28.1714668929636; Thu, 02 May 2024 09:55:29 -0700 (PDT) Received: from stoup.. (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id j13-20020aa783cd000000b006eb058b2703sm1464598pfn.187.2024.05.02.09.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:55:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk Subject: [PATCH v2 0/7] target/sparc: vis fixes Date: Thu, 2 May 2024 09:55:21 -0700 Message-Id: <20240502165528.244004-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::42d; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42d.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.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 Split out from my vis4 patch set, with just the bug fixes. I've fixed the issue in patch 6, as noticed by Mark, but include the follow-up that cleans up all of the macros by removing them. r~ Richard Henderson (7): linux-user/sparc: Add more hwcap bits for sparc64 target/sparc: Fix FEXPAND target/sparc: Fix FMUL8x16 target/sparc: Fix FMUL8x16A{U,L} target/sparc: Fix FMULD8*X16 target/sparc: Fix FPMERGE target/sparc: Split out do_ms16b target/sparc/helper.h | 11 +-- target/sparc/insns.decode | 2 +- linux-user/elfload.c | 48 +++++++--- target/sparc/translate.c | 129 ++++++++++++++++++++++--- target/sparc/vis_helper.c | 195 ++++++++++---------------------------- 5 files changed, 207 insertions(+), 178 deletions(-)