From patchwork Thu Jan 11 07:48:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Indu Bhagat X-Patchwork-Id: 83836 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4C300385E036 for ; Thu, 11 Jan 2024 07:51:30 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 087CF3858025 for ; Thu, 11 Jan 2024 07:49:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 087CF3858025 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 087CF3858025 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704959380; cv=pass; b=oMsfroNNZUB7Phl/A/Q0xH5RiJ1T+4qJy8RJhmKhbScoETrYfDOhUXLwUGAPs+17yRTUOuZFtv+1UfWdRNh9wo8x5y9tp/XZNKcFfUh9NE1nh7TveFkhdA0TFrAQp3DdBc3oSdVnyGkMkslFzreuaDPG0sHPvrXgqXgBiLk+oWE= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704959380; c=relaxed/simple; bh=4SgLSRvDYKex27oBT22ToO3KSZEaxvJ+OkROLRPowVY=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=QJaIKr1hks+p3blTEIZTUclhFi4yXHsMI84yXTgOFBuXuoIZkbwtnHD12n2upBpWaeAQpyXz/z9PqQWl0LW956UVP9E8y3PH9gPO9giSqt+DCU3FXCRru6uxNTgSmrUaADCSXLBcBFNjKMoVvDKEp4iwKdtNzyRE/gOTd5JtQt0= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40B7iQNW029610 for ; Thu, 11 Jan 2024 07:49:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=LSZU75xNo3eskEeRuhftYBzzZ1QHMfq892m0GLJHJH8=; b=GI/FxQjwa05uxPdKXT21BQ/22+ya1wDq2dDDzJOLpNAAnfIGkV8I+cFg4Gno4bEXGU1R iqgYllJ2UoHKjfQLzMGLw0PFTXY9KgEo309/ImzoBUqRXC98U7K0tuhC/1Vk/il8l/wr dsx6ZKXQkONMPDjNRgpquPAH7G5SsnpjFEi0Zxo5qOgUFZIT1Tqg+Zz1gqaaP9fW4Yqf vAQ+JbPjE1SCeuyMsr22UWcn87q6VF3/dCyoVqT//lS4dF6ao2j11ZLzOZPzTpKHGTgM aAxX0El6MWF8Ijlm7DiO1tyWZlI1s2I66LnH2/VEejFigeNQpajt/hjz2QFS38GakJji 6g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vjc3sg112-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 11 Jan 2024 07:49:33 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 40B6VJHm006866 for ; Thu, 11 Jan 2024 07:49:32 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2040.outbound.protection.outlook.com [104.47.66.40]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3vfur6j76s-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 11 Jan 2024 07:49:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=obiVRdHnAsEFwEGQmGjBjvsWAtCBg+//bK3aVV4G4mW8k6I4GkfMPRpT5T2qo9Rr/VPlqkGMlZcLc9FVGNYScz+RMrODl+agQTJYHVAmkp1upBOSulz9wC755wfWAAb9HdlA8iSK29gH+rF+ycfay5BmWQIsCM/1pte5g0Ax7re/9Z/TeDvJdwvnZhzC1bL8wV98fIzaKUu0ZSVZcGD2CAOnPcm//V05dpHn3Y5qwi/X03EzPo3ACVCU2FF2yBthZa81r8Xi5OiUjU59Jba4WoAuc7kS3u+ysZ2kA5/2WqIsm5ysYQz8Xsk9PMrDxKwEw4UdeIWsoUcd47kzsXUl7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LSZU75xNo3eskEeRuhftYBzzZ1QHMfq892m0GLJHJH8=; b=bFgXh9bvAVR7GioxfotXL0AjOee/AQC0BcRnWykAlHXODj5yHHFJ5n68XxkxVs3xbbZsWlu1KPlDn5a4vT4RInHZqJTDxVxGta25Zbzv1qaKv03QbVhdvHchy1fk5b3AoYPSQZ6jTBBtXs0h8Oc/l41f+kmwQhlSP2WAeYYFqrBq4165Z6sbPcoVrkV/z/VjMRNUQEyPzbJZ844UZoPaDtVwVn50Rldrl9+6zlWU/BDkTqVO+/oS02opMmS14jrPbV6maTsDj00R7ZKjzpgzg2WAI3wGPPVWtSPJEvIDTMqHpwa9djn6/ftzH3PFVKYE6T3h6hbMpfRoO5pUHIfj8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LSZU75xNo3eskEeRuhftYBzzZ1QHMfq892m0GLJHJH8=; b=hTsxrGklNe76ZY69SRQGA2EJaZ6IMCLiFz2iKOX8h2Wvphrjx/jzKMAryUgnX+uemXxnL40ZtVQNVYAYLj8NbLZnxy2L5UaH4Mggq4R74RiFfpZ2dS0ZvBY0lBnHw6JuQgV6zC2SJJyirbToI+kWkHFa9v17fCNKup1agmn9IwQ= Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by CY5PR10MB6045.namprd10.prod.outlook.com (2603:10b6:930:3e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.18; Thu, 11 Jan 2024 07:49:14 +0000 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::fde7:fb92:8ea1:a5ac]) by MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::fde7:fb92:8ea1:a5ac%4]) with mapi id 15.20.7159.020; Thu, 11 Jan 2024 07:49:14 +0000 From: Indu Bhagat To: binutils@sourceware.org Cc: Indu Bhagat Subject: [PATCH, V5 09/16] opcodes: i386: fix dw2_regnum data type in reg_entry Date: Wed, 10 Jan 2024 23:48:13 -0800 Message-ID: <20240111074820.2677826-10-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240111074820.2677826-1-indu.bhagat@oracle.com> References: <20240111074820.2677826-1-indu.bhagat@oracle.com> X-ClientProxiedBy: MW4PR04CA0186.namprd04.prod.outlook.com (2603:10b6:303:86::11) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|CY5PR10MB6045:EE_ X-MS-Office365-Filtering-Correlation-Id: f232e97d-f07b-4185-67d1-08dc1279ce48 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M9zJ1dZhoKL4D+/O1QEOiW4rT7zvUnUTRWNns5O6LEKjQ0KP2L+aZrbdrCkIt/QOcZpZ14gAUpv/VkRQuT3XS2DpSsDnTS/o2fROgYaJfss+8mkm9UNeEJTvZJoFwh2kTKyH+hc80UF+OSOy2B7ENnmbltc92ZrdYhxM9sRmAuveyz5C25JiS8No1yy4O2OBH0VgPxKg6E9E7+Woy8U7xeCZa7KgRLuURABCxLu81eOro4yp7qrPmVK6LI8E3mb951snPTEkTrTHfANlo/C/dejP3LN7qpvtSP85gmz446XQ2QmO87/TPL5J9J7RcJQmm1g0cm+hWaDesHbkYGnZ+OtvaQfhJS7FcrLBAiFx7iuNLL7PUcYe3vOPqCjx4gLNx47EtFOzQQY/q57xztF7+hS4eljsUh1WE2VOMYgZ+NmDCseWjwCFO24JUOaMRPdWEiSiRKP9MgAakrOn28v1zy6//DG8YfEIxjHZzNM6rleEg31fFBXd94c0taHB7tcS+Ytyi9Ua3WAkh7snJJSbJ+h2/oNeBf5ZM5Ph1PXHQHg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2158.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(396003)(346002)(39860400002)(376002)(136003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(966005)(478600001)(6506007)(6512007)(107886003)(1076003)(2616005)(38100700002)(86362001)(36756003)(41300700001)(2906002)(44832011)(4326008)(83380400001)(4744005)(5660300002)(66946007)(8936002)(6486002)(66556008)(8676002)(6916009)(66476007)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ErFt7XYA71Qx5RgLjvUoaOKVwpOBs0E6QH1i3uCHpV5ZAIbKIIhDa+tv78hCXYXpmBC9NHbGUZ0AWxKrw9JZSoujBQO/5O7csrs6IBobabMAScUz+vXqKjKoZ1msSTtzb6I/txS4YepDqkFAw6sF0KaNlqheoxIlZKJdTQ6g4P21j4SQF6AOpDXHPFKJhB3gJ+6QjMQMpxuLPsAJSj546X1ejiFhoqjCMTVqMMBLV3JSpHY0yoHOvo3kxiLm3CoDF68Q9sePDRf6LkPJM6IyFSQhUolgaeMVbJ79sg/wTrvF0QqmM+MBlqht7+twwk8HwInAEZKngC5+Sxpx4gqbRSUY/g1QdfLdtbbfeS9uzD70Tk0ZgnecCompHbQ8vzt6IXvzat1mEqJjqDoYYnQacKaFYl+wzgN9p7C6GcPaUJdebrsCZiZTDdDMAlupfbJ1xarFQNDZ7VjdK0ClIralH69jLKPr9OZb766H9E2TjqBrjx3u5e8DdisQbvjUU84pBLjm+rwZj/p2doiUPhx/uVPEF1/fkwYtUlrAuZW4aO0b/QASD6ZOTXkf+LwmLhRoMBlNg9tfi1xNkkB5o8qfxIpvTBsunM9z4pqs1RvHh3oaiBe58ezPsqIZhBYbRg/Xa3KJbgWa5h0KOd86fvOE58T+dVvQjLQ3f6IxAIbuLpAMbuR+CadeCYnXXjYXKqQ1pyfapmEBxjy/U4DpF3O85aGwRg1/CEZXgbsI8M7IcVQXLC3WUhU+6R24BAZMfZEr3jjKOc5g8udphJ9IynKlDngTS5z3HDnya2qamafpQJwsfWEACDKqxdY8LpZK1olzfv/HU8Xj8J6ar4UYBoExvnkw5gwB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U05ei0i9z3S59dhMt/X8AaZjQPYooagZ3SZM2qsLa15EccsluGxQgvhot5vFWTRG8oW4JAwSJDXq4fR3x9YEIfHpKdEfz5qYZYQPkeQmjSQ8FGnY9KRRQbb7bdZX0aavMeyqpLj+IANif/q4g9Qo9MeeOHVXXCwN+71yqbYZ5NjG7ega+LKeD7xrin++WEEe356jSpWC4QdOAk/0ZmkdzdJGAl9hTSrbkui3UVMnoSEHonvwzOx2jqH1mjrBVpw9zL4K4Z3EglcozHSrnWHy1hnBf5QodC8C1Kk+VpMadbbLcVHdkL2ZaOYyOIERKYADftsmK2CPnurmPXywEvKfgqfIGpUMWmDAdqtU+En6gUANKUWKhug/+bnXvGqaatp0P/V43F50iK2jIpJ4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f232e97d-f07b-4185-67d1-08dc1279ce48 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2024 07:49:14.2827 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FK/OIwTwQyGqd/ar4vzkz3KYgplt3/tuLjjbEazwj/BToKK3n6fvT5TUH/ePPg24EdpEoVwtb8/1bgvgUR7JEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR10MB6045 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=2024-01-11_03,2024-01-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401110062 X-Proofpoint-GUID: sRwhsHQQoX8twbXVoFpi5uN-zF2VvCoU X-Proofpoint-ORIG-GUID: sRwhsHQQoX8twbXVoFpi5uN-zF2VvCoU X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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+patchwork=sourceware.org@sourceware.org [New in V5] - This patch was posted earlier https://sourceware.org/pipermail/binutils/2024-January/131692.html and is under discussion in a separate thread. - This patch does not affect the SCFI series ATM as the current implementation disallows APX instructions. [End of New in V5] The DWARF register numbers for the APX EGPRs start with 130. The data type holding the same currently is signed char. ChangeLog: * opcodes/i386-opc.h (reg_entry): Bump to signed short. --- opcodes/i386-opc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 61a11214914..38661ffe70c 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -1047,7 +1047,7 @@ typedef struct #define RegIZ (RegIP - 1) /* FLAT is a fake segment register (Intel mode). */ #define RegFlat ((unsigned char) ~0) - signed char dw2_regnum[2]; + signed short dw2_regnum[2]; #define Dw2Inval (-1) } reg_entry;