diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-07-25 10:38:18 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2020-07-27 16:29:38 +0200 |
commit | 4cf2fc41657fac51d806c14fdf481c7047e39df3 (patch) | |
tree | 0b48bd146bb6032ae0048aa7aee0c8ecef234580 /backend/Selection.v | |
parent | 465f6b4120bb38d2ef2871de4972df92ee935ed6 (diff) | |
download | compcert-kvx-4cf2fc41657fac51d806c14fdf481c7047e39df3.tar.gz compcert-kvx-4cf2fc41657fac51d806c14fdf481c7047e39df3.zip |
Add support for __builtin_fabsf
Diffstat (limited to 'backend/Selection.v')
-rw-r--r-- | backend/Selection.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/Selection.v b/backend/Selection.v index 480b09a2..a5bef9ae 100644 --- a/backend/Selection.v +++ b/backend/Selection.v @@ -248,6 +248,8 @@ Function sel_known_builtin (bf: builtin_function) (args: exprlist) := Some (sel_select ty a1 a2 a3) | BI_standard BI_fabs, a1 ::: Enil => Some (SelectOp.absf a1) + | BI_standard BI_fabsf, a1 ::: Enil => + Some (SelectOp.absfs a1) | _, _ => None end. |