diff options
| author | Brian Campbell | 2018-07-23 16:14:12 +0100 |
|---|---|---|
| committer | Brian Campbell | 2018-07-23 16:15:53 +0100 |
| commit | f3ef82fee78d40c628d319dab4cc35a41c638e8e (patch) | |
| tree | 94a4ac32a05c69f0ef9a69d99e6207e9777f9e68 /aarch64 | |
| parent | 4c25326519d00bc781d6ee33ca507d1d525af686 (diff) | |
Coq: make all pattern matches in the output exhaustive
Uses previous stage to deal with (e.g.) guards.
New option -dcoq_warn_nonex tells you where all of the extra default
cases were added.
Diffstat (limited to 'aarch64')
| -rw-r--r-- | aarch64/full/spec.sail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aarch64/full/spec.sail b/aarch64/full/spec.sail index 6920db48..897fa56e 100644 --- a/aarch64/full/spec.sail +++ b/aarch64/full/spec.sail @@ -4027,7 +4027,7 @@ function FPRoundBase (op, fpcr, rounding) = { }; let 'F = F_mut; let 'E = E_mut; - assert(constraint('F in {10, 23, 52} & 'E in {5, 8, 11})); + assert(constraint('F in {10, 23, 52} & 'E in {5, 8, 11} & 'N > 'F)); mantissa : real = undefined; sign : bits(1) = undefined; if op < 0.0 then { |
