Sandipan Das has uploaded this change for review. (
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]>
---
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 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 4ce1864..8ba09f2 100644
--- a/src/arch/power/types.hh
+++ b/src/arch/power/types.hh
@@ -46,6 +46,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: 1
Gerrit-Owner: Sandipan Das <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s