diff options
| author | Alasdair Armstrong | 2018-06-04 15:07:17 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-06-04 15:07:17 +0100 |
| commit | 5efc7e055c1cc6d8452e6de862398aebb035eb23 (patch) | |
| tree | 3c3d2f540ddbf792a9a52e248db21f6d459830a3 /aarch64/full/spec.sail | |
| parent | 5bc1cedf8dba96936755af30ca6e82fe052137c3 (diff) | |
Re-generate aarch64 spec, fixing an issue with Replicate
Diffstat (limited to 'aarch64/full/spec.sail')
| -rw-r--r-- | aarch64/full/spec.sail | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aarch64/full/spec.sail b/aarch64/full/spec.sail index f468302b..6920db48 100644 --- a/aarch64/full/spec.sail +++ b/aarch64/full/spec.sail @@ -2130,6 +2130,8 @@ val Replicate : forall ('M : Int) ('N : Int), 'M >= 0 & 'N >= 0. function Replicate x = { assert('N % 'M == 0, "((N MOD M) == 0)"); + let 'O = 'N / 'M; + assert(constraint('O * 'M = 'N)); return(replicate_bits(x, 'N / 'M)) } |
