From bd99d938c049152cec3acd2f34efd096cfbea031 Mon Sep 17 00:00:00 2001 From: Sandipan Das Date: Sat, 6 Feb 2021 17:16:57 +0530 Subject: [PATCH] arch-power: Add fields for DS form instructions This introduces the DS field used by DS form instructions which specifies a signed integer immediate operand. Change-Id: I0e7a77e7a63fce4e50b7941850c277f556e65724 Signed-off-by: Sandipan Das Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40891 Reviewed-by: Boris Shingarov Reviewed-by: Gabe Black Maintainer: Gabe Black Tested-by: kokoro --- src/arch/power/types.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/power/types.hh b/src/arch/power/types.hh index 72dcd1e3b7..1e896e42c0 100644 --- a/src/arch/power/types.hh +++ b/src/arch/power/types.hh @@ -52,6 +52,7 @@ BitUnion32(ExtMachInst) // Immediate fields Bitfield<15, 0> si; Bitfield<15, 0> d; + Bitfield<15, 2> ds; // Special purpose register identifier Bitfield<20, 11> spr;