add another quick test to pseudo parser
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 22 Aug 2021 19:49:01 +0000 (20:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 22 Aug 2021 19:49:01 +0000 (20:49 +0100)
src/openpower/decoder/power_pseudo.py

index 6572a6021b64c5aa0443066d7fc4dd60d717e3a7..99f3ca47c708fdba863abcf0de8afb3d3bd74137 100644 (file)
@@ -190,7 +190,12 @@ x <- (y * 5) + 3
 y <- (z + 5) * 3
 """
 
-code = logictest
+XLEN_test = """
+RA[XLEN:XLEN - 1]
+"""
+
+code = XLEN_test
+#code = logictest
 #code = SVSTATE_next
 #code = hextest
 #code = lswx