Sandipan Das has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/16634

Change subject: arch-power: Add fields for XS form instructions
......................................................................

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 <[email protected]>
---
M src/arch/power/isa/bitfields.isa
M src/arch/power/types.hh
2 files changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/arch/power/isa/bitfields.isa b/src/arch/power/isa/bitfields.isa
index d1aab2d..2719dc1 100644
--- a/src/arch/power/isa/bitfields.isa
+++ b/src/arch/power/isa/bitfields.isa
@@ -46,6 +46,7 @@
 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 b0edce8..afbc88d 100644
--- a/src/arch/power/types.hh
+++ b/src/arch/power/types.hh
@@ -48,6 +48,7 @@

     // Shifts and masks
     Bitfield<15, 11> sh;
+    Bitfield<1>      shn;
     Bitfield<10,  6> mb;
     Bitfield< 5,  1> me;


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16634
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I8f7cb3a2fda33b5b0076ffe12ffebeb5ec1c33a6
Gerrit-Change-Number: 16634
Gerrit-PatchSet: 1
Gerrit-Owner: Sandipan Das <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to