Message ID | 20240109011229.4191052-2-indu.bhagat@oracle.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1377444dyq; Mon, 8 Jan 2024 17:13:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsSR2ZLJoJ9BYvKyUhVlKKmqQW6dTpx6XbUyyYOQRDbHtSJhOguEtkTt6LvO4PLvaTSDjY X-Received: by 2002:a05:620a:17a3:b0:783:2de5:6fd1 with SMTP id ay35-20020a05620a17a300b007832de56fd1mr281625qkb.40.1704762786061; Mon, 08 Jan 2024 17:13:06 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1704762786; cv=pass; d=google.com; s=arc-20160816; b=hxbzzNQemahB5bbZ0CyUWF4CUsSanv9/FXcu01Z0AeQE1IRdbX9yT6hpPeLxuJFGXO F5hNr5HmjukMgyWWxCr6OmfSya7iuwGjzOqc6x+VgzX/ta79R/BaFEeDucdPTqhVx1yf /+Srg+pWqpagYwSr0jDH3bWtOzq0RQ72hcOpSHv7Z/IHjPhL5mkORFZhklPzc+0K1Y2p SVIDnpJU6SuXzFWIQDpGKLHwFzApUgwlgVRw2zq2EzSLEAA8bG088fp27xRLIn7cLtY8 PMs5FlEDecZXKeQL9DCMSe2DjLxOkpFj267L+e/prFrTpM8SBt9/PzgYY/FNqFews2AZ IYmA== ARC-Message-Signature: i=3; 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:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=DxvX579sRDulQvX0fdBBe0co63vhPZmbCfGMVt1UoVM=; fh=Oh0rwXgL2pcS1FQHr6E1Hal1K7kVHmZXDthN47bNt4Q=; b=XyFK+Mu+Q36bkZMOBSbsm9rhY9MhSjJgge/ijdtWxDWTl+KkBrCSQtssuSSGaQSaAI Pgm8ZobqDwkUcwoW7IRgrDMkVB0+6GjDf8NTJe5A/FOJsvKJsr4JpgJMyHOlbQ2UdAxz xfcJg8t64TAxMT7BlM5Ilux4Xo+J6EpXJi0mry2zbl9TPbf3b6CX07rSyMXO2CH0L3dX ezwog/4DEsfwLG74hVmcjlHg7/3VEGSxhIM96hyHu3NNVKQ932xdOguK+O8kBi8nNXdR 0XtnW8HLrUZr9Mq6iJjOg9JjknuGia/w0YcLv5kTgkxqC+G+eZ9ic4eH05q7V+XQiRUa 1sTg== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=jz+dzX1g; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UnkvBKG1; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id j16-20020a05620a289000b0077f5a4b743fsi1042524qkp.119.2024.01.08.17.13.05 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 17:13:06 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=jz+dzX1g; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UnkvBKG1; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BE9B23858291 for <ouuuleilei@gmail.com>; Tue, 9 Jan 2024 01:13:05 +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 C70903858C42 for <binutils@sourceware.org>; Tue, 9 Jan 2024 01:12:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C70903858C42 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 C70903858C42 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=1704762770; cv=pass; b=Tk6/Pxqtl8Y8ggbuLgPqCi2ZAd6MmRUHuBWT1WU2WOd4ktnlD2V+swDWe/W4slvExA98Q6EH5D5+xNQlpnB2a+q9Zcck0iKFYCgnttwCxL3TtbtE/BOa6bJt75zlUSlHunq89FhTt+RT+XHPK0yiGfqeXLfzewi3HweaC8RiqFo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704762770; c=relaxed/simple; bh=NX/QkJifZWve+QLPzcg6UM9KityBCXK2HgjP1zVCyIg=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=umixsodMp1lJsoCt+ETmNTSsYNhLVZBz52WUh1d1Oo4aMeaxLk1mQ3i8KQNRIq/UrEn77dI8W8Yw1e81Zp8jXIppFAmcvrXa1VqRr2gQJdh5hamoTKNzZjqPR739jGzQTCHC8SaRP3+kJ4dEzAR51wdAQJFumyyeMFT2MoJFIpY= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4090jBGq027012 for <binutils@sourceware.org>; Tue, 9 Jan 2024 01:12:46 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=DxvX579sRDulQvX0fdBBe0co63vhPZmbCfGMVt1UoVM=; b=jz+dzX1gTw5isiV+ukWikjrtUA3n3u70Yybhyx2bAjZbqdMuOdFC8EMW2U1SU177oH2N A80cxMtW1a4gBahOWa/Drunr+JG8MffM124eUePc7Oomjdxf1Q/u5e73FC6XM8pJ4O0m UhVfOVH61E94tPIVmzsYu5qEV977u3YhIwYP/+4S4GibvbyhmY4bu1QHh823CN/N2fwI djZ8cJcRS2QkKOgVMqmBRCtLqPEr1MVIp74zX9EQwIdbXdork4vZmu+PuvbiQ8bXkvT0 2MPOUom46dpqV5lYUV/vtaITW7em/BEMpHwCuD61ePqYLmP5FnT+u7pZ9IyQktVMfev8 Jg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vguv680qw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Tue, 09 Jan 2024 01:12:46 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 408NkdkA008614 for <binutils@sourceware.org>; Tue, 9 Jan 2024 01:12:45 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3vfuuh8kbd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Tue, 09 Jan 2024 01:12:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gCyB36FvYK8m+IVQHUbC6jon2M7sCvrUfgkGzjjT4VnqJOyys0SZ9uZ0vBVGsXBaOYLpx8xJt/YoSqtrwpbqGZcenQ3DycN1o96jsK/UjXBdlR7zZG8YWCuUDKhQSMugsRRnENxDe5V0Tzu9QYAbhW0GfC21lV3cLQvBcC6JE4zVSnDTAG7KWSESctZdVIxa9likJnXllqgPalEJ1q2wYaSd14lsr3sAIOJ+FfDmb6fBe8uzgc24SDErq3bVHTj/k9lywqu1U/RcX/9HoPuGgpCitImfMJI2Bf7cFckAvFmNoZoy2LxVKS9xcpaxwwL86jj6XFqqBfz9/9l1oIjcqg== 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=DxvX579sRDulQvX0fdBBe0co63vhPZmbCfGMVt1UoVM=; b=h/24N7vEBl+61Zko4xPYhCpORJvMrAv2Z5Dh7Yd/nuWJ4/F1WkVjY7Eb/G6o/kS1CZ5cKSIeG6qe1ZOkGCiXn8aHa0/W+x1az2SIGGlA3SdCdFoqLm+xSkgJ1RSlEDZEI8vTWVPLKy6Lg5ULY9ZGHItsuNwgx/PMwdCkWnEITiibV0RWzmVrtwgo7Vbt+f0Kzbl/sT1MKJQUoHyohdUvEgfRAXitX+UZPLu6s4rRWHZblDgTki7FZDKeLBKHEmpoTnKjdKphLgdQyKaqm2EGbIjrWffJU5gOoAxt5Y3NoUu6qpjsBeXyENBvs+umUMxrNSJn6aBID+5+Voymn15lsw== 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=DxvX579sRDulQvX0fdBBe0co63vhPZmbCfGMVt1UoVM=; b=UnkvBKG1w2PUywElYRp2enwb71vQrTGrioc8dpxJmMtS+eGtECAA0b4io4Dpu2LnV2xYlvtjedvwOb7K6mzsmPl60yLFvJW6PZC7ChXJ3P6i+EtCQleoQNrnX3XFl9drxsip1xMeretZZQe2397+U71rcHbBuR+H+iepuZ7m2EI= Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by SJ2PR10MB7825.namprd10.prod.outlook.com (2603:10b6:a03:56e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 01:12:44 +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; Tue, 9 Jan 2024 01:12:44 +0000 From: Indu Bhagat <indu.bhagat@oracle.com> To: binutils@sourceware.org Cc: Indu Bhagat <indu.bhagat@oracle.com> Subject: [PATCH] opcodes: gas: i386: use Rex2 as attribute not constraint Date: Mon, 8 Jan 2024 17:12:29 -0800 Message-ID: <20240109011229.4191052-2-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240109011229.4191052-1-indu.bhagat@oracle.com> References: <20240109011229.4191052-1-indu.bhagat@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4P223CA0010.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::15) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|SJ2PR10MB7825:EE_ X-MS-Office365-Filtering-Correlation-Id: 241c7d98-70f9-4449-3ecc-08dc10b014d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 46jWE2WQE4nF2EqxFKlQrIjqnkAywo635A+QTGCEyWYUji5SPZ5JErRzhozT1MdmqdeDdciziW+a1Palpq4IlkIYw6zuEP+3qtWIXoejzyj2K7TK9SeMtHNX/wIEj7PfZI9xKaLXGspFSESqXgcA+znE+FVhhYBG8GOukJhCuJVhlux3viAAQBonwfajOKh3YZn8gMEWcjzWYCE7cWdIOFMH/pMadQKXt1linT/b57I4ibSE2GvU/MLOKWBuHwpcrontbYpQjkNfZvg74fk792ek3uRho6ABjJ6GGJVUSOxD/kgeKgWQKAiuWzik35eVEhy6aNEnEV4ejnuSvP5kJe+UFbDc2+QtE50nCWFuSQbtVAzBDGTFWK92VlgWx7k002v1mMEXED06XvGNlLL+9SQEn0eUR/go1rh0eJtXBeR5AM7tb4+uw+KDK7VKAcSqTUm0LvoAipbuwYJluTL9qRePaYJePEOf7C8x15MMWqQQz7LFddlN4yyw8qGFhPI0HnCRba3s69sC0TV4a/uBJiFglF6pQiVTkvsMXTTRT/IT32oH7FC7s19cahJzpyUG 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)(136003)(396003)(366004)(376002)(39860400002)(346002)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(6486002)(19627235002)(2616005)(66476007)(316002)(478600001)(66946007)(83380400001)(6666004)(6916009)(66556008)(38100700002)(4326008)(1076003)(107886003)(44832011)(8936002)(8676002)(6506007)(6512007)(5660300002)(2906002)(41300700001)(86362001)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jm0nMrf7mG6zE0rARaH39OWKZ5LyINFNWP7zsXLIxqNYIQrESdqh6c4uP+j366SuftVbh27NNeSLmHsBYDU7nuwWrvuHoz7ILmLw4uNSJKXZ0Xqe5aTRKgBLBhR3bQa6ai5Fz9Uhy18FyZTQ1E4mqYfR6qrg4MApbbfYNrUma/DFsBYx8zvKsQVvna3QYyHt0iPBFICjVLL+rT7+2wfevL6TKDN52rBMOAMMyz+kQ9j0kvja8Wo+IGOmYTsAsCd4U4p6EXIsVehnvzBz2ITKvLOBc+nxd6q3bjPSxDlMj3WEsFF5wSv1WGHd7GPrrfLUpFDy2DPSu9sJxbgbfI1te2vyJOdeB3WD12TUZSl6WAjaldYRaBU8VDYQQ2l50UdRpvlP62iJTu9M+zfCo3SNQIsVqrY+najausodJje4as1ydXL5LHfCg2m3BOFeu/1JybQ+nWWW1KtScTrNX5dd2nNjmcd+jn2TtBV5Z6U77lEDs9clbI8xpgc0YIso/aFDrScCd6lRZDH0GE46zj2WWwfL28YCmzFwNx+JgtQHGLfdiUzJ6+pSY3/wXpWrtyz9AIptUil1u5OIqWwD7dDTmavnKJg2D6bSBraCOqVgCPINJ3pr2Y/33OSB8LD1/jCRpb8bqNd0bwcAvRgFymLeQkVT7KkS1v69kkCWcz53kDCHsWJt433YkUmLX2iu+XAI/Bt1qO67JCwMtT94umHJ/+BjUjQSGcYoQjg5p3jSk/nIo7q1kz1FV1NRjQNpHeE1iFL/NA+Ps7LZTQYqalvhBXbTHRzjfBEhZtm+Td2H503FAE79Y9vfTFg6+W2cepEncr+3H5XH5xnZmAkdLd2ZSAmxmFY0O1l/7DpZEqbAUjs+9vajBEXYXZ3vbWasZAymwBlJv7Qc2c38j90h7Cot9p/WUmFilAS8MYtomi9ZJALtihMJjvC7t0cgWz5SLn/tXEQ9FAFg9GDsRwstg43o+jcDu8e79gaKJHOGdWMCL41fmzmncWnzxcCzeiAM6/XNUTbzwNYsTiGBfkm9V3i5HGhGnUYSEyrurLytMj2rXpLpLG8DIsZl3BwLGdbdqbnOIqqdc+pgD6rfBwhKeGkJo+uCpNyHW9dqRppnFX9kLwp/PQE4Sx52FdtE4/zIACKkPPxTIpyaSWMkhAFo2Rm+sPZ8lAXgg/TxuSz433KABdgnWpvVHdwE33Xn9dmHYjH+u1lBMjSfYsWKuykLPyq5ANnN4n40EbahfJA9v8kYLfPbegF+H5mf/v21/s4zh70xPLFKlPrntaivONuA+JEIf6kSPDnpgWwezU6CH0asYa/QZBio/wwzKmSykJD/mr3IlR97+l5WDPPvaJQMF909iJj36zlvJIOsxJD+vynU989yFNKb4pEPdMFrJW9mRz4BNB/CsvR0qa+ZgXwIeFgkB4PWfP8y1QR/eTN7qES9Iz5GLMIRlffym2OJRiP3ygU2msbDCanwoWpzrDmuZcSrywFgfF+jJdwvTmBMQwx/4u4V0sTXZGCp4E6QxxsO+it9ui2ucwjtkGFiIt0QBHbR6EkeEeq0UXUZwWCFCgw0Kk7v8FGftHqoGwhVrXxcFAY/d5dS3Y6sYcQmhiQPhvaWS+aXasLchMzjtxNHt5ecAhA= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: o5QfYzozrZrG44Xnh3c552e9gAPTR6Sn4lD6E9r0jalUZtLfrwiGV9267nKR3TUrUhZlyDslQv8RCGxuyQrF57zN6C06ORz+YmsofhAd0an61Yy9gwMBnke+iBmOZ5lnXFfXmqsoQVQoDwgeXZttQ+SvwVVmcRM/LiU44jVi6lL/dtwxFeXVSmh5IMpMWwTR6GtInn0IYdQJPtjcr44YXC5QOCUb4UhKXgGKqIYxbieH+5RCLbctFYoQ4Kzps07TiNbFSoFk1RK8XgT1cY1xTNgrwKlJkhCsU13L7B2BszDLYVX4UM+qHv0TBdiXF3ZKQbYtw8Vwopd2ObXIoGSCP76xvPDViPPp/kJusyqZx/dfwN0IqsHwlsIZCakTCEMzASu6greJRgqtWegJmp/e98tvVl9G7/VpeDHqnRNEewyXPUjoyh9EnPvoYjlGEMKLeEiC07vcSbx6hcTVXjn+Wazf8ErMcfK3SnMUk4PF0+lT0drIeUopwIz6dkrvFAmhrRpx8fjLxWoW3b0LVejUiDh4mRvtvtS8NSxrNVNga34d02nb0BfrECTvyd51odONQYrqwxC14oiVL5H/LR1oSwV3x0y0FrOehF3ZpBmS3H0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 241c7d98-70f9-4449-3ecc-08dc10b014d2 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 01:12:43.9576 (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: nHTVrnYeJNDhTHbdn6FHvecOQ+2MXM+sm7dqVI3YnTvE7a/YCMb6y4LRjDrVu1EP++bmCQWXOa2zFczlDDORGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR10MB7825 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-08_11,2024-01-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=548 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401090005 X-Proofpoint-ORIG-GUID: DLZALzWIfC7Nd7Y9LYzokNmDczZsdfbE X-Proofpoint-GUID: DLZALzWIfC7Nd7Y9LYzokNmDczZsdfbE 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 <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+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787573343129891721 X-GMAIL-MSGID: 1787573343129891721 |
Series |
opcodes: gas: i386: use Rex2 as attribute not constraint
|
|
Checks
Context | Check | Description |
---|---|---|
snail/binutils-gdb-check | warning | Git am fail log |
Commit Message
Indu Bhagat
Jan. 9, 2024, 1:12 a.m. UTC
It seems to fit better if Rex2 is an attribute for now rather than a constraint. PS: Removed the opcodes/i386-tbl.h diffs from patch to keep the message size within limits. ChangeLog: * gas/config/tc-i386.c (is_apx_rex2_encoding): Update the check. * opcodes/i386-gen.c: Add a new BITFIELD for Rex2. * opcodes/i386-opc.h (REX2_REQUIRED): Remove. * opcodes/i386-opc.tbl: Remove Rex2 operand constraint. * opcodes/i386-tbl.h: Regenerated. --- gas/config/tc-i386.c | 2 +- opcodes/i386-gen.c | 1 + opcodes/i386-opc.h | 6 +- opcodes/i386-opc.tbl | 1 - opcodes/i386-tbl.h | 11659 +++++++++++++++++++++++++++-------------- 5 files changed, 7778 insertions(+), 3891 deletions(-)
Comments
On 09.01.2024 02:12, Indu Bhagat wrote: > It seems to fit better if Rex2 is an attribute for now rather than a > constraint. On its own, I disagree with this as justification. When it was introduced, I had specifically asked for it to be the way it is right now. The issue with it is that it conflicts with an operand constraint you mean to add. So while I'm okay with the code change, I'd like to ask that - the description be extended, - the patch be part of the SCFI series, preferably to also be committed together with the (subsequent) patch introducing the new operand constraint. Jan > PS: Removed the opcodes/i386-tbl.h diffs from patch to keep the message > size within limits. > > ChangeLog: > * gas/config/tc-i386.c (is_apx_rex2_encoding): Update the check. > * opcodes/i386-gen.c: Add a new BITFIELD for Rex2. > * opcodes/i386-opc.h (REX2_REQUIRED): Remove. > * opcodes/i386-opc.tbl: Remove Rex2 operand constraint. > * opcodes/i386-tbl.h: Regenerated. > --- > gas/config/tc-i386.c | 2 +- > opcodes/i386-gen.c | 1 + > opcodes/i386-opc.h | 6 +- > opcodes/i386-opc.tbl | 1 - > opcodes/i386-tbl.h | 11659 +++++++++++++++++++++++++++-------------- > 5 files changed, 7778 insertions(+), 3891 deletions(-) > > diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c > index 27d0742c6c8..b25cc517240 100644 > --- a/gas/config/tc-i386.c > +++ b/gas/config/tc-i386.c > @@ -3929,7 +3929,7 @@ static INLINE bool > is_apx_rex2_encoding (void) > { > return i.rex2 || i.rex2_encoding > - || i.tm.opcode_modifier.operandconstraint == REX2_REQUIRED; > + || i.tm.opcode_modifier.rex2; > } > > static unsigned int > diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c > index e8b92e32f45..21331216486 100644 > --- a/opcodes/i386-gen.c > +++ b/opcodes/i386-gen.c > @@ -490,6 +490,7 @@ static bitfield opcode_modifiers[] = > BITFIELD (ISA64), > BITFIELD (NoEgpr), > BITFIELD (NF), > + BITFIELD (Rex2), > }; > > #define CLASS(n) #n, n > diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h > index 38661ffe70c..eaebfaa9ba8 100644 > --- a/opcodes/i386-opc.h > +++ b/opcodes/i386-opc.h > @@ -579,8 +579,6 @@ enum > /* Instrucion requires that destination must be distinct from source > registers. */ > #define DISTINCT_DEST 9 > - /* Instrucion requires REX2 prefix. */ > -#define REX2_REQUIRED 10 > OperandConstraint, > /* instruction ignores operand size prefix and in Intel mode ignores > mnemonic size suffix check. */ > @@ -750,6 +748,9 @@ enum > /* No CSPAZO flags update indication. */ > NF, > > + /* Instrucion requires REX2 prefix. */ > + Rex2, > + > /* The last bitfield in i386_opcode_modifier. */ > Opcode_Modifier_Num > }; > @@ -796,6 +797,7 @@ typedef struct i386_opcode_modifier > unsigned int isa64:2; > unsigned int noegpr:1; > unsigned int nf:1; > + unsigned int rex2:1; > } i386_opcode_modifier; > > /* Operand classes. */ > diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl > index 1751eff8bd2..ada5c06e501 100644 > --- a/opcodes/i386-opc.tbl > +++ b/opcodes/i386-opc.tbl > @@ -85,7 +85,6 @@ > #define RegKludge OperandConstraint=REG_KLUDGE > #define SwapSources OperandConstraint=SWAP_SOURCES > #define Ugh OperandConstraint=UGH > -#define Rex2 OperandConstraint=REX2_REQUIRED > > #define ATTSyntax Dialect=ATT_SYNTAX > #define ATTMnemonic Dialect=ATT_MNEMONIC
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 27d0742c6c8..b25cc517240 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3929,7 +3929,7 @@ static INLINE bool is_apx_rex2_encoding (void) { return i.rex2 || i.rex2_encoding - || i.tm.opcode_modifier.operandconstraint == REX2_REQUIRED; + || i.tm.opcode_modifier.rex2; } static unsigned int diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index e8b92e32f45..21331216486 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -490,6 +490,7 @@ static bitfield opcode_modifiers[] = BITFIELD (ISA64), BITFIELD (NoEgpr), BITFIELD (NF), + BITFIELD (Rex2), }; #define CLASS(n) #n, n diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 38661ffe70c..eaebfaa9ba8 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -579,8 +579,6 @@ enum /* Instrucion requires that destination must be distinct from source registers. */ #define DISTINCT_DEST 9 - /* Instrucion requires REX2 prefix. */ -#define REX2_REQUIRED 10 OperandConstraint, /* instruction ignores operand size prefix and in Intel mode ignores mnemonic size suffix check. */ @@ -750,6 +748,9 @@ enum /* No CSPAZO flags update indication. */ NF, + /* Instrucion requires REX2 prefix. */ + Rex2, + /* The last bitfield in i386_opcode_modifier. */ Opcode_Modifier_Num }; @@ -796,6 +797,7 @@ typedef struct i386_opcode_modifier unsigned int isa64:2; unsigned int noegpr:1; unsigned int nf:1; + unsigned int rex2:1; } i386_opcode_modifier; /* Operand classes. */ diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 1751eff8bd2..ada5c06e501 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -85,7 +85,6 @@ #define RegKludge OperandConstraint=REG_KLUDGE #define SwapSources OperandConstraint=SWAP_SOURCES #define Ugh OperandConstraint=UGH -#define Rex2 OperandConstraint=REX2_REQUIRED #define ATTSyntax Dialect=ATT_SYNTAX #define ATTMnemonic Dialect=ATT_MNEMONIC