From: Sandipan Das Date: Sat, 6 Feb 2021 11:49:32 +0000 (+0530) Subject: arch-power: Add fields for D and X form instructions X-Git-Tag: develop-gem5-snapshot~40 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c4acf1f0cc4a9001543210f78751513053296c9;p=gem5.git arch-power: Add fields for D and X form instructions This adds the L field for D and X form instructions that specifies if a compare instruction should perform 32-bit or 64-bit comparison of its operands. Change-Id: I72413a507c93096b1573836197837227c1c1e521 Signed-off-by: Sandipan Das --- diff --git a/src/arch/power/types.hh b/src/arch/power/types.hh index ef9b35fd8..4ce186494 100644 --- a/src/arch/power/types.hh +++ b/src/arch/power/types.hh @@ -51,12 +51,16 @@ BitUnion32(ExtMachInst) // Immediate fields Bitfield<15, 0> si; + Bitfield<15, 0> ui; Bitfield<15, 0> d; Bitfield<15, 2> ds; Bitfield<15, 6> d0; Bitfield<20, 16> d1; Bitfield< 1, 0> d2; + // Compare fields + Bitfield<21> l; + // Special purpose register identifier Bitfield<20, 11> spr; Bitfield<25, 23> bf;