aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandipan Das <sandipan@linux.ibm.com>2018-09-06 12:21:46 +0530
committerPeter Maydell <peter.maydell@linaro.org>2018-09-25 09:45:57 +0100
commit114ddc06738cc5f864732714f02230fdc2d22be9 (patch)
tree1bfc708ce21ec2f55d8324e66bde6380c4829aad
parent13eea5418eaf682284bda6944626298a5a78cc00 (diff)
ppc64.risu: Fix pattern for darn
This fixes the pattern for the Deliver A Random Number (darn) instruction to ensure that the value of the L field, which is used to determine the type and length of the generated random number, is never 3 which is currently reserved for future use. Signed-off-by: Sandipan Das <sandipan@linux.ibm.com> Message-id: 20180906065146.2353-1-sandipan@linux.ibm.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--ppc64.risu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppc64.risu b/ppc64.risu
index 2018103..a27e4fd 100644
--- a/ppc64.risu
+++ b/ppc64.risu
@@ -277,7 +277,7 @@ DADDQd PPC64LE 111111 frtp:5 frap:5 frbp:5 00000000101
# format:X book:I page:79 v3.0 darn Deliver A Random Number
DARN PPC64LE 011111 rt:5 000 l:2 0000010111100110 \
-!constraints { $rt != 1 && $rt != 13; }
+!constraints { $rt != 1 && $rt != 13 && $l != 3; }
# format:X book:I page:217 v2.06 dcffix DFP Convert From Fixed
DCFFIX PPC64LE 111011 frt:5 00000 frb:5 11001000100