arch-power: Add fields for DS form instructions
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:46:57 +0000 (17:16 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
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 <sandipan@linux.ibm.com>
src/arch/power/types.hh

index c7cc4d0e010a922ba587c60aa2962278194ec20a..910c5f52f2f18cc80d8ed7e98300e24e03c74189 100644 (file)
@@ -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;