Message ID | 20240103071526.3846985-13-indu.bhagat@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> 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 701BA385DC28 for <patchwork@sourceware.org>; Wed, 3 Jan 2024 07:20:40 +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 8E4F638582AD for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:16:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E4F638582AD 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 8E4F638582AD 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=1704266163; cv=pass; b=vE/m/ZG5/2GkJ7N+qY7m/rOVnAvr1YrS1dIQ8tl20jBkr6GNeCwO5t+RrMs/QhbnxyZG8/TUe2Ze4+ecQIwvC1o8JSXr8L9TzAdXyU6IBIbcpDV5wmsWf2lEHgbwenokvpzkSkGYqvvZfGnwvDLCqYNKfjgyUU88i50QHTfDUkM= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704266163; c=relaxed/simple; bh=wx7FQQr6lUvNkwz+2TDG6AEEoT7Baet9MbQIyVsdj/M=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=wyB+BGqRkMy5VWdPTp5VOiSu7dt2GMyCsZdGTh/NRQ4nGLD0DN0qM2j8yPM+b7ltkHvohWqW60o8g06KYGkiYJDDRWocFvymmVxgA8BFyFaxW+urgUfKwEbjKUV3EdlWRrirhGz9P4D2j/pod8wpEuKPq+EUMJGnas/dt89VYDU= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4030iNWK023855 for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:15:59 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=Jqcx6t4YWX9+ORzbpUeJY9x13XOZEWrAZB8778UBWh4=; b=bazdh5PMfFSvnMjSyUi58SxqrYRExTGyYterX5xQiAs2/zRE7iS3Znfe6ao+G4V+IBu9 QT0HlMGqtlHbb0a1pvuaZc/kLUKDsGW4Sl8NWiGCp80oyB2zIU1uIB79LMh7O160tBjW fPKCxSYrUguumw7je/UgGD3+KIsVYZMXDQ6+ApnSDFe6F6pXLVbiu/Z50lpQ0XDlXDyA TwQiUqbJ4SIkIsO3/16rxzeKzzTdDzJUIxsUbcOF/F1UjSQ44zjiLcTVTd0OHdLvzdCR Sc8PovtILrq2TohZ0RJgXz6inaov7UfwJMEWM5YKKzPIScDbo6xEHrlfnwXhh3iqTtBc Kw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3va9t24fh2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 03 Jan 2024 07:15:59 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 4035VX6d033634 for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:15:58 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2040.outbound.protection.outlook.com [104.47.57.40]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3va9n8qan4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 03 Jan 2024 07:15:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XxiJ3ly+UHJiY6efzSJeKy/U1N1ULCiSz129HTn19C+F/TESu1CvYw32/k7PbPxTdSf2O+oOLhnlYWNxrhDdHpfRAxBz23gORj18gFGFQktTezCW0vMQjiZigh7nxZXRQ+TDr93DR7BTeJt2caHdl4UvIkrHZ7wjw7MxSrLY6ekJSqBgHeTPxUrKeVHQqbz+11YoY4Ir0SBxB80sVUyYiC32D+uCW9BtEGUrlbD+XDxkXJwcoxLjmupfd327h4+/yH34mJWS2zkMbyG1AxVmNJF5Qabb/uKkyw3gaPR4F14A3zoOdk9eKTIxNPxZ0ajHe0jBxFcUjSbivlWtauL6kQ== 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=Jqcx6t4YWX9+ORzbpUeJY9x13XOZEWrAZB8778UBWh4=; b=I6pid4dmm42e+NqpxoaytPgYJyFKeGsB8AvnNy4vRru1DCskzTEhS7bWtGOXkgPUZ9+gSOhjveuHkl0ACYq722gLNLqJpQoK+/aHwVd6yv+D3YY9uykEy8X0IwtfzejPfSNCn6/TI45HCGeymnKVLUR4HZrXvRx0hjhqN1IBHJavieac2RskM0EP+0BxpGALFtNHwbXDe7KTR3Bhd+vHao7XoJbLfUVKHqW5miEGSu0D4Ke0IGb+q8Pej5MjV5xGscKz1oN1CFiXEWxkbwKke3/MtIaccQVghyGXzoScbG/gahEzwtlNmIxUwvEho/6K2lfgYy7I33Di1bDHjyFefA== 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=Jqcx6t4YWX9+ORzbpUeJY9x13XOZEWrAZB8778UBWh4=; b=VnwAQmEXe+WDr8AH2t9H6qnlQaPBEhuqGK45Pt2ZZWs6C7IlQZ0zLxuLRIF8WoMLi6iSOZluFCZMIjh7vTFuMEmoz9czF2kaAtdZnjLPhbyk2SJORcTd8iv3wU46+vNg7SinF+lyYom04GMQmxNgWZnHSYvwTZzvTJaR3kOWaks= Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by CY8PR10MB6777.namprd10.prod.outlook.com (2603:10b6:930:98::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Wed, 3 Jan 2024 07:15:57 +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.013; Wed, 3 Jan 2024 07:15:57 +0000 From: Indu Bhagat <indu.bhagat@oracle.com> To: binutils@sourceware.org Cc: Indu Bhagat <indu.bhagat@oracle.com> Subject: [PATCH, V4 12/14] i386-reg.tbl: Add a comment to reflect dependency on ordering Date: Tue, 2 Jan 2024 23:15:24 -0800 Message-ID: <20240103071526.3846985-13-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240103071526.3846985-1-indu.bhagat@oracle.com> References: <20240103071526.3846985-1-indu.bhagat@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0109.namprd03.prod.outlook.com (2603:10b6:303:b7::24) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|CY8PR10MB6777:EE_ X-MS-Office365-Filtering-Correlation-Id: 760f2384-51e9-40d5-7b08-08dc0c2bd492 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a0u5VgFE/oV8B/2XVx2SblCSNfEpREzr4jRzCa63YboiI+Dco5AxUB/rvLXY5HBk8xxPRKxll2+fPea+gutoH1qmwM8YTxrvHlUSbXHBxkVMjXaKGKxSpcyy/6lgiLTKu4HNg6OBEfimBIzBLk883BJBQwndown/LSDbb31kBo+p2kvb4ob9rEk5M+a1qTwCzLYNpCGjijzZUSv1GcIrJNaIE7jVJzEf5Lqe9Gv8Htt5Vmo+yae60wrfQ+HsiAjyX39xri4NVztOWfjPnpOATtUUbSRBNbhw+fs91W6isaZe/I2jBX13SrNghfRBF8bpOr0FnCrqAGdd91lMZvzhrmFNc70l8CbUeUZB0vyOWg6Ot0EmZqJ4t92A36Df8Qdrhcm3c4M9aa5twWMhJmcwUgv/56RNf5RUxEIGLKqKUUpzmRJlyTtpR5YWA1WCXjmNw3DENKnZ/ZTTGCWcH++Q4gOC5b7hrn/fOuBQfGDEtEn8tAB6cMUXz4OedUNITBh+tfiMc9jhSo1LmO8zi5OcBU3mfmiIQBGO+HwH+yShcWluYfSrNahInVq6e9S9+fpr 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)(346002)(396003)(136003)(39860400002)(376002)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(38100700002)(36756003)(86362001)(107886003)(1076003)(2616005)(6506007)(6512007)(6666004)(4326008)(478600001)(6486002)(8936002)(8676002)(316002)(66476007)(83380400001)(66556008)(66946007)(6916009)(41300700001)(2906002)(44832011)(4744005)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cTZ7M/C38+d4l6m5AwX6vSBOwWiULW8aeb9Hhf2MhuMxkA5nPhsUz7Z1bm5FnRdzEkODFEeICd9upv7NqgjLggVgFtRkz8dn6du5yhjnBxE5YRPkqwEV8E7UYApoRr5puXzPF9zlsj/WQ/lDjMTVyLpJAvWlQ3KTi3/GoOxv96T5nBXyKFli5DXCwLPwcGfEdXSxS976+0zlblywYnRBVoOzdWvfYPhIw99/1tE+XtSK+s/iY1osEDLjKFAUpswCqHkieNqZJBoA/y1NX+WBuV+7u37dbHGsRnGPvYa5NM7xyqGDq4pEupCeGjHJsWLmneL4vEzfJy5Yz8GGA6OnLT9t/oYe7DZKeFXSrpVGj/jwHpDCIhoUa+RgW9OtzlXQPXOQOaVvjWwW5QoQc+h+IDofGjFq8VhhQd8xQpYPqKc2CL43SPxR3V5H37V9CCIG2kedIAgip8MwosNiawaWOhO+xDbRjAA5nkxvawjmuq40JkVFy2xA7NWvyxcHKi5d7zJ1KafwYZkwZ97UVlEBY5TMzrmr0qm2p8T+5LsfzH6NCC3/xAFRGDXvj203Q+v67jRhJl6b5jXbsSvCAnAY+KKhGdq/qdDpiw6pkHBMqKxm21JwCvgdRCJ2NkzOhtaefBaz927zliQ4HxgV5FqfRZKhL9xIbNx5Tkiyxlo9AWc3LURAlzqWlmiIgQaoeqcISR2RBhNwdXiVFSXt3XPQSzLJhwgm/35zxLcDFEuVT62EwGqsUZ06UBXgDDlwMH+mn1xqCybu3foUP0D9G7pC+RxuhdVs5J8T7OQWmpYgC3t/x81i5Ud5P3zfIMtLgzXAFOo2n8p5xPLikBzmAIt9Unk/bKDSIXq8yOyRa2u+LWplpwK/RFJtoSCpj1QGTItflqkqzcLgp56UQcQRxrwBnT7OokXWdgmZOxnrzoylrpZv+AEABZwz3hM43PFq4L+Rej+dQOGazZqeLB2H5jk0Px1iBmvjWwJJC7od3fLq6guhwl9pKSU3xMTxjpQD7MEN75bxdxmG6skESvOyE2L3wbo/4nXxUV8VKAL5w3Y6XBnPAojQdD7zBWbfrVl1d+rq194ElrVfW9GTIoEutU5JDzsqm+ch/n9c4LIgt03j/IcA5qBVMFB9Jh4udHHKzWmh5IKSyl14wbE7m0G+f57rY9kYzyM9Jl5lPGC2A8fHNgaI1nbqddUBXWo6+0FBuGbvsrYkTQYJzWHxMDjcA/p45WTnNpjWJLjLDGBNRPEH08rMw24hvNjwfh0+DBOaIq2dRUUinVR//YHQEK9+DS6JxruL+aMERkBm8QDZKCB/sOb1Jly0NCZ2XPkT540E1tXu2k4Jkj9lP8N8evwHH116zCa+qQ5fMNwJlpjmRlOstWI4HicQGXyqR40r74j02JUvgPl6iJAudrQ73yob97/lrg8X7rfR0lAyi4pPx2lKmoeEYLqsbF9DirsB21TDSsYGPwdFcebCGNJYH+Jbg5jVIuMsc+fpzNXQ8xIauZj1m4731S55wiosDzFp09YQlnxBfl2lFhwAWL23EAhuuBp0kI1jlCZ3xVWn54LBdYG59AhSporPcuA377LMR9AKDYz6unfhQEOxQkAEKeCWswpXfhQlpRHUzJ+se34zQ0RJaYA= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: zJHf/bUB3W9LcrSC/siazMfFTFBBG266qdUbViIJ68YtIiOFmig6CDJDUpi+nxsb0xIiRi9Z5/TuEY0SzNGkojCfuXxboPGUyCLflLmTtdGFV9BsFud7aw8D19vRiYUVEVFV8YiytiwyTuhP2e5sAmJckfcFZIulQL+TX5p97DgzLKhIO9t96vpHrqk+FIe33GM8feqKyxrDDdQzTzYuggHfvP8RLIKbZR2n+5ARzdc+tcuQQH4WeWzNZSgCB3zQfiOpu/HLvUimz0SeM2E5dhcc2OpURaUOsx1yNKhrW4xaWkXVyMt5hdHPMDhyDW18KuK2WuAE6Gax+wN5fQ9yqcgqCbtbcFYqhwcdpwJF4Z1d7ooBn88vmJjbmCe1r1EEE++lhsc3QKdCxxjg+Gtpea9teHTv9eXCd3ucasDZXHtHSHNj4EXzCRteALir2D+biuk+OCWVGLQ5TgG88uTDESObZeCgFaMIWFdoVDhdcMto+yKKIsu7jymF5pVHXwua3KpTSz4oi81WTnvn29eMwg73R6yFZRmkbq7L+IKveIP3fReqG+jmP1HJ9X8mD/Rmeq5CpDxx/befekHFoDHdqNByieEW9qhGWWAIiCOtp1Q= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 760f2384-51e9-40d5-7b08-08dc0c2bd492 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2024 07:15:57.0176 (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: 2q1Hvy+3mBv7q0cOxanRGIdsyVofvbbI0Eoz58kANg0nqKUdnFF1gZonObNEUwXCnrPlCe9ANj/49Q++yJRnaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6777 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-03_02,2024-01-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxscore=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=776 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401030059 X-Proofpoint-GUID: b8YkrVKQUUyETmGkN_pAb4ElQu9ePb5e X-Proofpoint-ORIG-GUID: b8YkrVKQUUyETmGkN_pAb4ElQu9ePb5e X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, 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 <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Synthesize CFI for hand-written asm
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_binutils_build--master-arm | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-arm | success | Testing passed |
Commit Message
Indu Bhagat
Jan. 3, 2024, 7:15 a.m. UTC
[New in V3. No changes since V3] The ginsn representation keeps the DWARF register number of the operands. The API ginsn_dw2_regnum relies on the the relative ordering of these register entries in the table. Add a comment to make it clear. opcodes/ * i386-reg.tbl: Add a comment. --- opcodes/i386-reg.tbl | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/opcodes/i386-reg.tbl b/opcodes/i386-reg.tbl index 8fead35e320..56c7655dd88 100644 --- a/opcodes/i386-reg.tbl +++ b/opcodes/i386-reg.tbl @@ -18,6 +18,9 @@ // Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA // 02110-1301, USA. +// The code in gas backend for SCFI relies on the relative ordering +// of 8 bit / 16 bit / 32 bit / 64 bit regs + // 8 bit regs al, Class=Reg|Instance=Accum|Byte, 0, 0, Dw2Inval, Dw2Inval cl, Class=Reg|Instance=RegC|Byte, 0, 1, Dw2Inval, Dw2Inval