From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C497C44501 for ; Wed, 15 Jul 2026 12:58:02 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wjzAw-0006g2-O5; Wed, 15 Jul 2026 08:57:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wjzAv-0006fn-81; Wed, 15 Jul 2026 08:57:21 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wjzAt-0001DN-Ps; Wed, 15 Jul 2026 08:57:21 -0400 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66FBfwLi4179596; Wed, 15 Jul 2026 12:57:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=NDbF5kcP1j4iy14nT 0NBwKOJG4a4WUR/o5XEbhl+660=; b=MqXL6QIbaNbBfzdBKWIXGSIqdx6WsOvEC wpJFi7eFueBd/hPCE3ZiB7y3HvAilqp3scimd0DLIHjdm9fb069gcgDeq/oUyDtZ dBF6iVoCoNkyLq0EHdod82sOcE5F1mwb0D7FPn3/FzCXcNs8NrTdY5YRzIdCh29/ Fuv50cYvv1vvKrEdeFf03aFdpTb/hMLH5//mtTathwfk9hal5AmrKQ0KUs7JgTVS Zce+jQkwaS9I6jEFr0pkODWYzJz17/kHfx5PTRrrsOnY4530BdZS4ASxRjGFuxUn IV9b8/Rzk3bdOhIW5bg3+1Ve7VoJTpSkSQW3RfrtGONJfIggFfQfg== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4fbexwtyac-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Jul 2026 12:57:17 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 66FCngu8006267; Wed, 15 Jul 2026 12:57:16 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4fc15k02be-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Jul 2026 12:57:16 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 66FCvC9Y62718404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Jul 2026 12:57:12 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 88D7A2005A; Wed, 15 Jul 2026 12:57:12 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5BF932004D; Wed, 15 Jul 2026 12:57:09 +0000 (GMT) Received: from li-18a0a34c-33fc-11b2-a85c-d9f1631c5692.ibm.com (unknown [9.39.30.15]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 15 Jul 2026 12:57:09 +0000 (GMT) From: Chinmay Rath To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, npiggin@gmail.com, harshpb@linux.ibm.com, tommusta@gmail.com Cc: richard.henderson@linaro.org, milesg@linux.ibm.com, shivangu@linux.ibm.com, Chinmay Rath Subject: [PATCH 6/7] target/ppc: Reorder PPC2 flags Date: Wed, 15 Jul 2026 18:26:33 +0530 Message-ID: <20260715125634.2107320-7-rathc@linux.ibm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260715125634.2107320-1-rathc@linux.ibm.com> References: <20260715125634.2107320-1-rathc@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-GUID: cHHbWrsYu86fffNRYe3v2KpoDIvfx7DS X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzE1MDEyNiBTYWx0ZWRfX2vPkg09zJRt+ Bl1JhgOO/SL2tnJCM/Ed/12OwiFizirhet8Kja8dJAczGSzibFMxzk8OqPRmMx354lNoS7rWg+s cOtmIcUJLZTFYaaxQ06pAP5MXZRpdOC/l5oTB24gki+NHlkjXau1SEm8LyEINREgt8CKTRNDjHJ lXLV8v6L9stjbWocIh2LXWOR0CQcwZHkjaz+AswYjijStNmVVNAhN30FSen5EMKZlFwA+uy/isJ Y6UJX9kMYrVxjmew8qXVKDtU5M8INqElJ0yhYEkRjSI8GWx0wFRf1l6Zlh5gT0S4mGxWQx57Gz+ D4D9+eYmhhghXmjk8Tr0HEKT/MnQ18CUoC2cS9D1wkSO6S/M+0NjMOrBBcN/T4FH/ApRaI+UHV5 dGmWUJp85N3E1P8+eIurox28tpdZOiejx8mP8i0akfXp5HgAviLLfj7vvMNeSIKmt4xj1wbT2dq Y4kAcPjVWrsIu7UU3Ww== X-Authority-Analysis: v=2.4 cv=XJoAjwhE c=1 sm=1 tr=0 ts=6a5783ad cx=c_pps a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=V8glGbnc2Ofi9Qvn3v5h:22 a=VnNF1IyMAAAA:8 a=n9CTefPPWk96pEdnryYA:9 X-Proofpoint-ORIG-GUID: 3sCifio3VKjgjt4lCu0OacWiBpHGZPXg X-Proofpoint-Spam-Info: AW1haW4tMjYwNzE1MDEyNiBTYWx0ZWRfX2U8tPMp1G0/W WfjR1O0lOirmiUVffooRblhMA9juNOiwlktn8xtm5pxSiasw4FSc+sfOMdPioNNRLB4i0zrUAxu 6ZcIdoGHL3OhUj0L9UQFlrlGdQtajz8= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-15_02,2026-07-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607150126 Received-SPF: pass client-ip=148.163.158.5; envelope-from=rathc@linux.ibm.com; helo=mx0b-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Consolidation of different variations of Power ISA 2.07 flags into the PPC2_ISA207 flag has left gaps in the flag encoding. This patch reorders them, restoring the expected incremental order without any gaps, freeing up bits for future use. Signed-off-by: Chinmay Rath --- target/ppc/cpu.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 4a77607f80..3fb51bbeb8 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -2578,25 +2578,25 @@ enum { /* ISA 2.06B floating point test instructions */ PPC2_FP_TST_ISA206 = 0x0000000000000800ULL, /* Double precision floating point conversion for signed integer 64 */ - PPC2_FP_CVT_S64 = 0x0000000000010000ULL, + PPC2_FP_CVT_S64 = 0x0000000000001000ULL, /* Transactional Memory (ISA 2.07, Book II) */ - PPC2_TM = 0x0000000000020000ULL, + PPC2_TM = 0x0000000000002000ULL, /* Server PM instructgions (ISA 2.06, Book III) */ - PPC2_PM_ISA206 = 0x0000000000040000ULL, + PPC2_PM_ISA206 = 0x0000000000004000ULL, /* POWER ISA 3.0 */ - PPC2_ISA300 = 0x0000000000080000ULL, + PPC2_ISA300 = 0x0000000000008000ULL, /* POWER ISA 3.1 */ - PPC2_ISA310 = 0x0000000000100000ULL, + PPC2_ISA310 = 0x0000000000010000ULL, /* lwsync instruction */ - PPC2_MEM_LWSYNC = 0x0000000000200000ULL, + PPC2_MEM_LWSYNC = 0x0000000000020000ULL, /* ISA 2.06 BCD assist instructions */ - PPC2_BCDA_ISA206 = 0x0000000000400000ULL, + PPC2_BCDA_ISA206 = 0x0000000000040000ULL, /* PPE42 instructions */ - PPC2_PPE42 = 0x0000000000800000ULL, + PPC2_PPE42 = 0x0000000000080000ULL, /* PPE42X instructions */ - PPC2_PPE42X = 0x0000000001000000ULL, + PPC2_PPE42X = 0x0000000000100000ULL, /* PPE42XM instructions */ - PPC2_PPE42XM = 0x0000000002000000ULL, + PPC2_PPE42XM = 0x0000000000200000ULL, #define PPC_TCG_INSNS2 (PPC2_BOOKE206 | PPC2_VSX | PPC2_PRCNTL | PPC2_DBRX | \ PPC2_ISA205 | PPC2_ISA207 | PPC2_PERM_ISA206 | \ -- 2.53.0