diff options
author | David Monniaux <David.Monniaux@univ-grenoble-alpes.fr> | 2022-02-11 21:36:57 +0100 |
---|---|---|
committer | David Monniaux <David.Monniaux@univ-grenoble-alpes.fr> | 2022-02-11 21:36:57 +0100 |
commit | 16715e5efd6ce899eb3d544fd71751f367eaa370 (patch) | |
tree | fb5cc283dec59bf362a4515e0212165832e5b0a9 /kvx/SelectOp.vp | |
parent | bc33b3536cc9985a6dddacadfaa9c2f5a111f4ac (diff) | |
download | compcert-kvx-16715e5efd6ce899eb3d544fd71751f367eaa370.tar.gz compcert-kvx-16715e5efd6ce899eb3d544fd71751f367eaa370.zip |
modulos
Diffstat (limited to 'kvx/SelectOp.vp')
-rw-r--r-- | kvx/SelectOp.vp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kvx/SelectOp.vp b/kvx/SelectOp.vp index 72a6e4b3..089afe1d 100644 --- a/kvx/SelectOp.vp +++ b/kvx/SelectOp.vp @@ -762,6 +762,14 @@ Definition platform_builtin (b: platform_builtin) (args: exprlist) : option expr | a:::b:::Enil => Some (FPDivision64.fp_divu64 a b) | _ => None end) + | BI_fp_umod32 => (match args with + | a:::b:::Enil => Some (FPDivision32.fp_modu32 a b) + | _ => None + end) + | BI_fp_umod64 => (match args with + | a:::b:::Enil => Some (FPDivision64.fp_modu64 a b) + | _ => None + end) end. End SELECT. |