Sandipan Das has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/40927 )

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

arch-power: Add fields for XS form instructions

This introduces the extended opcode field for XS form
instructions and the sh field which is concatenated
with the SH field for specifying a shift amount for
doubleword operands.

Change-Id: I8f7cb3a2fda33b5b0076ffe12ffebeb5ec1c33a6
Signed-off-by: Sandipan Das <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40927
Reviewed-by: Boris Shingarov <[email protected]>
Maintainer: Boris Shingarov <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/power/isa/bitfields.isa
M src/arch/power/types.hh
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Boris Shingarov: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/arch/power/isa/bitfields.isa b/src/arch/power/isa/bitfields.isa
index 8783081..dfe4683 100644
--- a/src/arch/power/isa/bitfields.isa
+++ b/src/arch/power/isa/bitfields.isa
@@ -44,6 +44,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 8700222..41b166f 100644
--- a/src/arch/power/types.hh
+++ b/src/arch/power/types.hh
@@ -47,6 +47,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/+/40927
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I8f7cb3a2fda33b5b0076ffe12ffebeb5ec1c33a6
Gerrit-Change-Number: 40927
Gerrit-PatchSet: 8
Gerrit-Owner: Sandipan Das <[email protected]>
Gerrit-Reviewer: Boris Shingarov <[email protected]>
Gerrit-Reviewer: Sandipan Das <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to