From nobody Mon Nov 25 09:56:48 2024 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=1716752329; cv=none; d=zohomail.com; s=zohoarc; b=jfrkAgJ5S0sMEFrAfFc7cjaZqZP0HVONYOHNDUOu4+e0k2KKaPU76e5GY1JPwfWmzrQ/xR5BGzm4nchfCeghryOnyS6L00J86Gc4HQpABAGIXlPrv0KylgCT9VKRCz1de6FQxQQDCtd+uyUTaF0vy3iGdtDDeufX9/C7Ovkoc64= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716752329; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=7Xai2dJ7NIiywU5ZF+ip85hjqEz8wylB31BnzX8bi+0=; b=FfQ2tLrG4aCfXQHyefKgclLpevFaTJXTtDuXl26oahz7XEYq0a3ZeDj0XV4LYU+U0dZ//Ltq7G2ieDLRMKo1pBw89JiOFUXOo8P8W2CaXihiPn6k/vsDeLsWrCT2IOfNdSxOSerP+4KBky/iA1Ts/yP9J2/BTDb1tSlPc92qsyM= 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 1716752329813932.0488077808116; Sun, 26 May 2024 12:38:49 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBJfu-000822-KQ; Sun, 26 May 2024 15:36:58 -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 1sBJfr-00080G-Tf for qemu-devel@nongnu.org; Sun, 26 May 2024 15:36:55 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sBJfn-0006VD-V9 for qemu-devel@nongnu.org; Sun, 26 May 2024 15:36:55 -0400 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2be00b445c2so2095070a91.2 for ; Sun, 26 May 2024 12:36:50 -0700 (PDT) Received: from stoup.. (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bf5f6155b6sm4943761a91.29.2024.05.26.12.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 12:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716752209; x=1717357009; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7Xai2dJ7NIiywU5ZF+ip85hjqEz8wylB31BnzX8bi+0=; b=nWRHgUnbFjzbI9OLKDjCcR5YedLUtjE8MKMWQWM5C0VVgSIKFs8rDMvj0orMhpewKL hQOyaHtwJEXI4Vo1oeaf7kbulxkjH4vem6VOGnfEoQ4ekKmHaOt+UoDyVM0PEZlRNpQl qd9L2j3KqJzyji9VZZqhSoKwMvVAJG0JqkXSi8pjvvFUkLanqM7cGXewuODZf2PvQT7M mLjN8/RD8l54hgNzidKO8mgUD7DMF5RpXTNOxQESk1lrTV0ntU3oYsApfHP0PrsGrjeZ NbRoF5j+K0m0O/mYe/48X7tnA2JqAKjs5EiqBc9QiT+EjhryvQ+E17buLFO3YsxMvvFR PFTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716752209; x=1717357009; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Xai2dJ7NIiywU5ZF+ip85hjqEz8wylB31BnzX8bi+0=; b=SkDGN4QgNUS5Il71ldA0Sg66roaNHsCuvLNO+AVWHcK0dDekqnoT2NoemOt/+mZpmu niwP8jX+goNe7NxKgkEIGp3wzibpS92Tn4wK6g3mNtFoiYL55RbzM3GoAPSrdde+Z1dm pR2zomguYruXNI/4QoThEiw/r8rjqvMUbM9Sj/L6xup3lXZ8JRq769hUZwNCk8kHRMkJ 4C6oGWvlONmK2mXdIVD95Bz0FKreWNFgyj6lflPD5jnruO5EdLuWSJir/DN5Hq+p3UI6 KIhsCpujOWJ6N0TbyzqicQgsEMi3g2FsqJjaR8FzgOCE2wb5cpEa7XnaRK4ogZ53wqrF PD8Q== X-Gm-Message-State: AOJu0YyopNb4y3Ueq9NgGErCcAHHEvREn8H1VyptGFigv4URezmIHegs tgUdJz+3SQY2k1TwouV1A8mQjXgylcJp+GHuXlRFfC9VccgbLyN5U1d1HBpnKvIRdviOXwcsqAs n X-Google-Smtp-Source: AGHT+IGym4tVqERWgdedJ9r4/oCMaT3YE3gouQ+JQmjhxRGN5vieiuArEvaHcusynjjibduyRLblVQ== X-Received: by 2002:a17:90a:cb0e:b0:2a7:455d:82db with SMTP id 98e67ed59e1d1-2bf5f74e103mr6874718a91.36.1716752209338; Sun, 26 May 2024 12:36:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk Subject: [PATCH RISU v2 13/13] sparc64: Add VIS4 instructions Date: Sun, 26 May 2024 12:36:37 -0700 Message-Id: <20240526193637.459064-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240526193637.459064-1-richard.henderson@linaro.org> References: <20240526193637.459064-1-richard.henderson@linaro.org> MIME-Version: 1.0 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::102d; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102d.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1716752331581100010 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- sparc64.risu | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/sparc64.risu b/sparc64.risu index 271fee0..1022a62 100644 --- a/sparc64.risu +++ b/sparc64.risu @@ -250,3 +250,49 @@ MOVxTOd VIS3 10 rd:5 110110 00000 1 0001 1000 = rs2:5 \ =20 FPMADDX IMA 10 rd:5 110111 rs1:5 rs3:5 0000 rs2:5 FPMADDXHI IMA 10 rd:5 110111 rs1:5 rs3:5 0100 rs2:5 + +# +# VIS4 +# + +SUBXC VIS4 10 rd:5 110110 rs1:5 0 0100 00 cc 1 rs2:5 \ + !constraints { reg_ok($rd) && reg_ok($rs1) && reg_ok($rs2); } + +FPADD8 VIS4 10 rd:5 110110 rs1:5 1 0010 0100 rs2:5 +FPADDS8 VIS4 10 rd:5 110110 rs1:5 1 0010 0110 rs2:5 +FPADDUS8 VIS4 10 rd:5 110110 rs1:5 1 0010 0111 rs2:5 +FPADDUS16 VIS4 10 rd:5 110110 rs1:5 1 0010 0011 rs2:5 +FPSUB8 VIS4 10 rd:5 110110 rs1:5 1 0101 0100 rs2:5 +FPSUBS8 VIS4 10 rd:5 110110 rs1:5 1 0101 0110 rs2:5 +FPSUBUS8 VIS4 10 rd:5 110110 rs1:5 1 0101 0111 rs2:5 +FPSUBUS16 VIS4 10 rd:5 110110 rs1:5 1 0101 0011 rs2:5 + +FPMIN8 VIS4 10 rd:5 110110 rs1:5 1 0001 1010 rs2:5 +FPMIN16 VIS4 10 rd:5 110110 rs1:5 1 0001 1011 rs2:5 +FPMIN32 VIS4 10 rd:5 110110 rs1:5 1 0001 1100 rs2:5 +FPMINU8 VIS4 10 rd:5 110110 rs1:5 1 0101 1010 rs2:5 +FPMINU16 VIS4 10 rd:5 110110 rs1:5 1 0101 1011 rs2:5 +FPMINU32 VIS4 10 rd:5 110110 rs1:5 1 0101 1100 rs2:5 + +FPMAX8 VIS4 10 rd:5 110110 rs1:5 1 0001 1101 rs2:5 +FPMAX16 VIS4 10 rd:5 110110 rs1:5 1 0001 1110 rs2:5 +FPMAX32 VIS4 10 rd:5 110110 rs1:5 1 0001 1111 rs2:5 +FPMAXU8 VIS4 10 rd:5 110110 rs1:5 1 0101 1101 rs2:5 +FPMAXU16 VIS4 10 rd:5 110110 rs1:5 1 0101 1110 rs2:5 +FPMAXU32 VIS4 10 rd:5 110110 rs1:5 1 0101 1111 rs2:5 + +FPCMPLE8 VIS4 10 rd:5 110110 rs1:5 0 0011 0100 rs2:5 \ + !constraints { reg_ok($rd) } +FPCMPGT8 VIS4 10 rd:5 110110 rs1:5 0 0011 1100 rs2:5 \ + !constraints { reg_ok($rd) } +FPCMPULE16 VIS4 10 rd:5 110110 rs1:5 1 0010 1110 rs2:5 \ + !constraints { reg_ok($rd) } +FPCMPUGT16 VIS4 10 rd:5 110110 rs1:5 1 0010 1011 rs2:5 \ + !constraints { reg_ok($rd) } +FPCMPULE32 VIS4 10 rd:5 110110 rs1:5 1 0010 1111 rs2:5 \ + !constraints { reg_ok($rd) } +FPCMPUGT32 VIS4 10 rd:5 110110 rs1:5 1 0010 1100 rs2:5 \ + !constraints { reg_ok($rd) } + +FALIGNDATAi VIS4 10 rd:5 110110 rs1:5 0 0100 1001 rs2:5 \ + !constraints { reg_ok($rs1); } --=20 2.34.1