From 6db1761d388b1a9896766a761b36fb336da0a9c1 Mon Sep 17 00:00:00 2001 From: kajoljain379 Date: Tue, 19 Mar 2019 14:07:43 +0530 Subject: [PATCH] arch-power: Add DARN instruction * Added DARN instruction. * Right now not returning random number, Just Setting value to -1. * Need to FIX that instruction. Change-Id: I9b6fd7557232c16fda144f4a424bfffb62de33cc Signed-off-by: kajoljain379 --- src/arch/power/isa/decoder.isa | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/arch/power/isa/decoder.isa b/src/arch/power/isa/decoder.isa index d1029ecff..541975564 100644 --- a/src/arch/power/isa/decoder.isa +++ b/src/arch/power/isa/decoder.isa @@ -486,6 +486,14 @@ decode PO default Unknown::unknown() { } }}); + //TODO: Right now we doesn't support DARN instruction + // Not returning random number, Just Setting value to -1. + //Need to FIX that instruction + + 755: darn({{ + Rt = -1; + }}); + 777: modsd({{ int64_t src1 = Ra_sd; int64_t src2 = Rb_sd; -- 2.30.2