minor syntax alteration to not need to support double-array-indexing
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Apr 2020 16:47:41 +0000 (17:47 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Apr 2020 16:47:41 +0000 (17:47 +0100)
openpower/isa/comparefixed.mdwn

index 6b2e9317e09fffb909b15905ca8aa30787f0be9f..163b320964c19b330aa650de5d880568c1f3991b 100644 (file)
@@ -105,7 +105,8 @@ X-Form
 
 * cmpeqb BF,RA,RB
 
-    src1 <- GPR[RA].bit[56:63]
+    src1 <- GPR[RA]
+    src1 <- src1[56:63]
     match <- ((src1 = (RB)[00:07]) |
               (src1 = (RB)[08:15]) |
               (src1 = (RB)[16:23]) |