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 /cfrontend | |
parent | 465f6b4120bb38d2ef2871de4972df92ee935ed6 (diff) | |
download | compcert-kvx-4cf2fc41657fac51d806c14fdf481c7047e39df3.tar.gz compcert-kvx-4cf2fc41657fac51d806c14fdf481c7047e39df3.zip |
Add support for __builtin_fabsf
Diffstat (limited to 'cfrontend')
-rw-r--r-- | cfrontend/C2C.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml index 7f796fe3..75eeaf21 100644 --- a/cfrontend/C2C.ml +++ b/cfrontend/C2C.ml @@ -183,6 +183,8 @@ let builtins_generic = { (* Floating-point absolute value *) "__builtin_fabs", (TFloat(FDouble, []), [TFloat(FDouble, [])], false); + "__builtin_fabsf", + (TFloat(FFloat, []), [TFloat(FFloat, [])], false); (* Float arithmetic *) "__builtin_fsqrt", (TFloat(FDouble, []), [TFloat(FDouble, [])], false); |