Sandipan Das has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/16637
Change subject: arch-power: Add fields for MD and MDS form instructions
......................................................................
arch-power: Add fields for MD and MDS form instructions
This introduces the extended opcode fields and the fields
mb and me for MD and MDS form instructions.
Change-Id: I2c3366794ed42f5d31ba1d69e360c0ac67c74e06
Signed-off-by: Sandipan Das <[email protected]>
---
M src/arch/power/isa/bitfields.isa
M src/arch/power/types.hh
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/arch/power/isa/bitfields.isa
b/src/arch/power/isa/bitfields.isa
index 2719dc1..0b5f23f 100644
--- a/src/arch/power/isa/bitfields.isa
+++ b/src/arch/power/isa/bitfields.isa
@@ -40,6 +40,8 @@
def bitfield A_XO <5:1>;
def bitfield DS_XO <1:0>;
def bitfield DX_XO <5:1>;
+def bitfield MD_XO <4:2>;
+def bitfield MDS_XO <4:1>;
def bitfield VA_XO <5:0>;
def bitfield X_XO <10:1>;
def bitfield XFL_XO <10:1>;
diff --git a/src/arch/power/types.hh b/src/arch/power/types.hh
index afbc88d..ccbd670 100644
--- a/src/arch/power/types.hh
+++ b/src/arch/power/types.hh
@@ -50,7 +50,9 @@
Bitfield<15, 11> sh;
Bitfield<1> shn;
Bitfield<10, 6> mb;
+ Bitfield<5> mbn;
Bitfield< 5, 1> me;
+ Bitfield<5> men;
// Immediate fields
Bitfield<15, 0> si;
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/16637
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: I2c3366794ed42f5d31ba1d69e360c0ac67c74e06
Gerrit-Change-Number: 16637
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