From 82f6a4918bc89a07aae780b0036f9f449283d7f7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 3 Apr 2020 17:51:12 +0100 Subject: [PATCH] test double-index (wark, fail) --- libreriscv | 2 +- src/soc/decoder/power_pseudo.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libreriscv b/libreriscv index 9518ccbc..6c7c3167 160000 --- a/libreriscv +++ b/libreriscv @@ -1 +1 @@ -Subproject commit 9518ccbc93df4c69ae0b715075e8a25fc3c98ef9 +Subproject commit 6c7c31673fad55da82c22fbbcac3f9b5c49e6cc7 diff --git a/src/soc/decoder/power_pseudo.py b/src/soc/decoder/power_pseudo.py index ee527f0e..2be1760a 100644 --- a/src/soc/decoder/power_pseudo.py +++ b/src/soc/decoder/power_pseudo.py @@ -86,9 +86,15 @@ CR[4*BF+32] <- 0b0 in_range <- src21lo <= src1 & src1 <= src21hi """ +cmpeqb = """ +src1 <- GPR[RA] +src1 <- src1[0:56] +""" + #code = testreg #code = cnttzd -code = cmpi +#code = cmpi +code = cmpeqb #code = bpermd def tolist(num): -- 2.30.2