diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 18:53:04 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 18:53:04 +0100 |
commit | 21aaf9c53b2bb0c6d376c2ce436d6dd7f5442a47 (patch) | |
tree | c1068ba7e0aad0744ecd851050317a1967686f91 /riscV/NeedOp.v | |
parent | 2e635ffa6693be77004e398f7dd3c2ed6bb6bca0 (diff) | |
download | compcert-kvx-21aaf9c53b2bb0c6d376c2ce436d6dd7f5442a47.tar.gz compcert-kvx-21aaf9c53b2bb0c6d376c2ce436d6dd7f5442a47.zip |
bits to float
Diffstat (limited to 'riscV/NeedOp.v')
-rw-r--r-- | riscV/NeedOp.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscV/NeedOp.v b/riscV/NeedOp.v index 9a406b6f..136c157f 100644 --- a/riscV/NeedOp.v +++ b/riscV/NeedOp.v @@ -89,6 +89,8 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval := | Ocmp c => needs_of_condition c | Obits_of_single => op1 (default nv) | Obits_of_float => op1 (default nv) + | Osingle_of_bits => op1 (default nv) + | Ofloat_of_bits => op1 (default nv) end. Definition operation_is_redundant (op: operation) (nv: nval): bool := |