From 4c4acf1f0cc4a9001543210f78751513053296c9 Mon Sep 17 00:00:00 2001 From: Sandipan Das Date: Sat, 6 Feb 2021 17:19:32 +0530 Subject: [PATCH] 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 --- src/arch/power/types.hh | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2