From patchwork Fri Dec 15 14:36:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Remus X-Patchwork-Id: 179329 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9321832dys; Fri, 15 Dec 2023 06:37:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/ug6kKVKTYusLocLVff3P4Apk7i9wPqNVB/xanOYf73rQ16sGyirAN4xhDewXDZoESxd5 X-Received: by 2002:a05:6808:219f:b0:3b8:b2cf:3106 with SMTP id be31-20020a056808219f00b003b8b2cf3106mr15355933oib.25.1702651051963; Fri, 15 Dec 2023 06:37:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702651051; cv=pass; d=google.com; s=arc-20160816; b=gW75LAccKdS8yOQ83G8a56luDMOEgt07dSAbPjxxbFj5kpk+OJXxdCz3GQTAQhrPtQ AvMob4+Q77Pg7Wkh3eFwjUO5CshwECAmrnFD09CCpQXbBcb/MoWdYhkSmYIfGRazUWXZ ERB/dfPOnxAZJzY6nhMr5XmKBegtAK8JVOvgCAJsqZjZ/UMqp43JP/3Yjzg72fB1tCep GTo8TqvJrQVabqqnBExb9/S41puDITDvFP9RoDVsVtsA9UUbHiBcMDiipUVd1EleiRpi hvcBpbxPvKqAeZJ+QvPI/0Ox+dIHwigiHKub2rPSqi7klbiGPrAW7FMR6Th+zv3XVzPf bLnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-filter:dmarc-filter :delivered-to; bh=OQpzk7kkSID/PqgDqLaqDtHLwVGJQsMS6YjYbPrwouk=; fh=lE3HXkiifBSVPU+f05x++3qNjjxlDvLZxwnRCBzavKo=; b=oq5fFOemAZc6ORbYMidf7Yus0QUrSyUJMWJUkoOdW6cxgL/9x2v+sxf4RMkJJeruyC XJiGP4RwcaqowBKj00rUawdqGqtuu8x9h/WbpCRjVUAxqqKyLtujyS9fQ8GHXKawLLEf tYmLprgFcr1rd24nHysYnGhctlcW6F//lJb9Ee2jUyahmD5IYn5xvfy+tkoS29ryVKiY 8x+sBfHqSlGxeKwzGxrXVJejBw5qnTXmHpc9UnjPA96bYmch5ifIa8d8EvRPaZ3Wbnwq UkbQPbIfr4YxiBTE1y4FN70oLpHy+cPVIodTQAb9LIr3UTjd7pcJ/em8yOfnTmrLwloc rMkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kE5vtTAA; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i16-20020a05620a0a1000b0077fb5a87728si764882qka.171.2023.12.15.06.37.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:37:31 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kE5vtTAA; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C5B0038449F5 for ; Fri, 15 Dec 2023 14:37:06 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 6D3F038582AF for ; Fri, 15 Dec 2023 14:36:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D3F038582AF Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D3F038582AF Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702650987; cv=none; b=pi0k7etd+4Yzul7hwo7KurxZD2aZax5+WcF/tov7AsYprC7olLdthUyTGQ3nli8jVW2QB80h1fMsrWykyTFyg5v4j4GWtC7ELLESqIagqj/KbV2FowR397edBCICezeP6zcMs9AMLMrno1doSRM9JnCfJgBW2UKrRFG3FDvqThE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702650987; c=relaxed/simple; bh=peNbpxrNiCfrXS1ZbeN5fjBgNURYhL4KErOmYWhXEHE=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FNL1XV5wFmU6JwxXRuoRyDi02ZN8ufx28NmXJw62xn7H3UKuEu2W/KOW+ytghoOLg4Vr0rfLn7J70+V1av/3E/ZYK8+O08odvgu8G3vU7sgePnPoI2J2Mqlo9pyaRiGpNt8hN8rCZzKmpQo9gTnYbPFc6R73JeG6bcmdbm7O/nw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BFEHtdV031993 for ; Fri, 15 Dec 2023 14:36:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=OQpzk7kkSID/PqgDqLaqDtHLwVGJQsMS6YjYbPrwouk=; b=kE5vtTAAnuuWEbNOr1pIyyi8G2JdD9xUFdOqAdhdRvgWu7Kw0g9t49T83DYVaHZY6fHX ODGUWN1KfGu+JRhoJl54lLRI95ae5+6QXhzxzakuTbVUIksgm3NZBqUzHsUGJENy4Yrl k935lnN2kZICEILGjFfAgyDZBV8E0jDDB9kqppV63X+1qqORdOh/NW+LiQSPGHU0EAiK L3ue8q4bmdf0sDOofRNOpCPIrre4n9MWN3EOBQaWmEnd9992GNut2fMFLjl39Nizfu2J yAHNiLiqqlGgodp5kFh95ighYpetuRhaS6OIDqp06aFfl0evRETtCIQM0G4isDwq1o0q Eg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v0reg0gwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Dec 2023 14:36:23 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BFEM1KD015433 for ; Fri, 15 Dec 2023 14:36:23 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v0reg0gw7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 14:36:23 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BFDmFxa028244; Fri, 15 Dec 2023 14:36:22 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3uw2y08q2q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 14:36:22 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BFEaJ4T15008430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Dec 2023 14:36:19 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5866C20040; Fri, 15 Dec 2023 14:36:19 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2C4F82004B; Fri, 15 Dec 2023 14:36:19 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 15 Dec 2023 14:36:19 +0000 (GMT) From: Jens Remus To: binutils@sourceware.org Cc: Jens Remus , Andreas Krebbel , Nick Clifton Subject: [PATCH v2 3/7] s390: Provide IBM z16 (arch14) instruction descriptions Date: Fri, 15 Dec 2023 15:36:12 +0100 Message-Id: <20231215143616.820185-4-jremus@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231215143616.820185-1-jremus@linux.ibm.com> References: <20231215143616.820185-1-jremus@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: nVVrv02VNkr6jXy6jN-MDSWRCsG1MbRi X-Proofpoint-GUID: cP-AMCK9lQg10xqmaw7PIfQghYh0-VfJ X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-15_08,2023-12-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 mlxscore=0 clxscore=1015 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312150099 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785359029286592167 X-GMAIL-MSGID: 1785359029286592167 Provide descriptions for instructions introduced with commit ba2b480f103 ("IBM Z: Implement instruction set extensions"). This complements commit 69341966def ("IBM zSystems: Add support for z16 as CPU name."). Use instruction names from IBM z/Architecture Principles of Operation [1] as instruction description. [1]: IBM z/Architecture Principles of Operation, SA22-7832-13, IBM z16, https://publibfp.dhe.ibm.com/epubs/pdf/a227832d.pdf opcodes/ * s390-opc.txt: Add descriptions for IBM z16 (arch14) instructions. Signed-off-by: Jens Remus Reviewed-by: Andreas Krebbel --- opcodes/s390-opc.txt | 66 +++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 28 deletions(-) diff --git a/opcodes/s390-opc.txt b/opcodes/s390-opc.txt index ef4ef9dc517..a3117eeebc5 100644 --- a/opcodes/s390-opc.txt +++ b/opcodes/s390-opc.txt @@ -2034,31 +2034,41 @@ e60000000052 vcvbg VRR_RV0UU "vector convert to binary 64 bit" arch13 zarch optp b93a kdsa RRE_RR "compute digital signature authentication" arch13 zarch -# arch14 instructions - -e60000000074 vschp VRR_VVV0U0U " " arch14 zarch -e60000002074 vschsp VRR_VVV0U0 " " arch14 zarch -e60000003074 vschdp VRR_VVV0U0 " " arch14 zarch -e60000004074 vschxp VRR_VVV0U0 " " arch14 zarch -e6000000007c vscshp VRR_VVV " " arch14 zarch -e6000000007d vcsph VRR_VVV0U0 " " arch14 zarch -e60000000051 vclzdp VRR_VV0U2 " " arch14 zarch -e60000000070 vpkzr VRI_VVV0UU2 " " arch14 zarch -e60000000072 vsrpr VRI_VVV0UU2 " " arch14 zarch -e60000000054 vupkzh VRR_VV0U2 " " arch14 zarch -e6000000005c vupkzl VRR_VV0U2 " " arch14 zarch - -b93b nnpa RRE_00 " " arch14 zarch -e60000000056 vclfnh VRR_VV0UU2 " " arch14 zarch -e6000000005e vclfnl VRR_VV0UU2 " " arch14 zarch -e60000000075 vcrnf VRR_VVV0UU " " arch14 zarch -e6000000005d vcfn VRR_VV0UU2 " " arch14 zarch -e60000000055 vcnf VRR_VV0UU2 " " arch14 zarch - -b98B rdp RRF_RURR2 " " arch14 zarch optparm - -eb0000000071 lpswey SIY_RD " " arch14 zarch -b200 lbear S_RD " " arch14 zarch -b201 stbear S_RD " " arch14 zarch - -b28f qpaci S_RD " " arch14 zarch +# arch14 (z16) instructions + +# Vector-Packed-Decimal-Enhancement Facility 2 + +e60000000074 vschp VRR_VVV0U0U "decimal scale and convert to hfp" arch14 zarch +e60000002074 vschsp VRR_VVV0U0 "decimal scale and convert to short hfp" arch14 zarch +e60000003074 vschdp VRR_VVV0U0 "decimal scale and convert to long hfp" arch14 zarch +e60000004074 vschxp VRR_VVV0U0 "decimal scale and convert to extended hfp" arch14 zarch +e6000000007c vscshp VRR_VVV "decimal scale and convert and split to hfp" arch14 zarch +e6000000007d vcsph VRR_VVV0U0 "vector convert hfp to scaled decimal" arch14 zarch +e60000000051 vclzdp VRR_VV0U2 "vector count leading zero digits" arch14 zarch +e60000000070 vpkzr VRI_VVV0UU2 "vector pack zoned register" arch14 zarch +e60000000072 vsrpr VRI_VVV0UU2 "vector shift and round decimal register" arch14 zarch +e60000000054 vupkzh VRR_VV0U2 "vector unpack zoned high" arch14 zarch +e6000000005c vupkzl VRR_VV0U2 "vector unpack zoned low" arch14 zarch + +# Neural-Network-Processing-Assist Facility + +b93b nnpa RRE_00 "neural network processing assist" arch14 zarch +e60000000056 vclfnh VRR_VV0UU2 "vector fp convert and lengthen from nnp high" arch14 zarch +e6000000005e vclfnl VRR_VV0UU2 "vector fp convert and lengthen from nnp low" arch14 zarch +e60000000075 vcrnf VRR_VVV0UU "vector fp convert and round to nnp" arch14 zarch +e6000000005d vcfn VRR_VV0UU2 "vector fp convert from nnp" arch14 zarch +e60000000055 vcnf VRR_VV0UU2 "vector fp convert to nnp" arch14 zarch + +# Reset-DAT-Protection Facility + +b98B rdp RRF_RURR2 "reset dat protection" arch14 zarch optparm + +# BEAR-Enhancement Facility + +eb0000000071 lpswey SIY_RD "load PSW extended" arch14 zarch +b200 lbear S_RD "load bear" arch14 zarch +b201 stbear S_RD "store bear" arch14 zarch + +# Processor-Activity-Instrumentation Facility + +b28f qpaci S_RD "query processor activity counter information" arch14 zarch