From: Sandipan Das Date: Thu, 7 Jun 2018 12:48:50 +0000 (+0530) Subject: arch-power: Add fields for XS form instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6beba64cb9d6709f3fac1746db8716ace1cd46e0;p=gem5.git arch-power: Add fields for XS form instructions This introduces the extended opcode field and the field sh for XS form instructions. Change-Id: I8f7cb3a2fda33b5b0076ffe12ffebeb5ec1c33a6 Signed-off-by: Sandipan Das --- diff --git a/src/arch/power/isa/bitfields.isa b/src/arch/power/isa/bitfields.isa index d1aab2d42..2719dc1c4 100644 --- a/src/arch/power/isa/bitfields.isa +++ b/src/arch/power/isa/bitfields.isa @@ -46,6 +46,7 @@ def bitfield XFL_XO <10:1>; def bitfield XFX_XO <10:1>; def bitfield XL_XO <10:1>; def bitfield XO_XO <9:1>; +def bitfield XS_XO <10:2>; // Register fields def bitfield RA <20:16>; diff --git a/src/arch/power/types.hh b/src/arch/power/types.hh index b0edce81c..afbc88d99 100644 --- a/src/arch/power/types.hh +++ b/src/arch/power/types.hh @@ -48,6 +48,7 @@ BitUnion32(ExtMachInst) // Shifts and masks Bitfield<15, 11> sh; + Bitfield<1> shn; Bitfield<10, 6> mb; Bitfield< 5, 1> me;