diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 16:09:31 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2021-02-01 16:09:31 +0100 |
commit | 52f602db7f306441cfa509cee7cce8cf8567ddc1 (patch) | |
tree | 62b1e877d71eaf192aab6d9b26e91a65adf86aa2 /riscV/SelectOp.vp | |
parent | d2dc422b91ed628f0f8d6286a23f6f4fb9869248 (diff) | |
download | compcert-kvx-52f602db7f306441cfa509cee7cce8cf8567ddc1.tar.gz compcert-kvx-52f602db7f306441cfa509cee7cce8cf8567ddc1.zip |
adding builtins
Diffstat (limited to 'riscV/SelectOp.vp')
-rw-r--r-- | riscV/SelectOp.vp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/riscV/SelectOp.vp b/riscV/SelectOp.vp index e9920e46..87e3af05 100644 --- a/riscV/SelectOp.vp +++ b/riscV/SelectOp.vp @@ -462,4 +462,7 @@ Definition divfs_base (e1: expr) (e2: expr) := (** Platform-specific known builtins *) Definition platform_builtin (b: platform_builtin) (args: exprlist) : option expr := - None. + match b with + | BI_bits_of_float => Some (Eop Obits_of_single args) + | BI_bits_of_double => Some (Eop Obits_of_float args) + end.
\ No newline at end of file |