diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-09-04 09:28:33 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-09-04 09:28:33 +0000 |
commit | 601569c2e0c9ec4748eefcbdb9f62c93f8aa822c (patch) | |
tree | f32d726929b2d24eaa015d2a8f62b3600c471a08 /ia32/CBuiltins.ml | |
parent | 4c36fcb770cf8e45bb6a23c8a176f61c1fbfd605 (diff) | |
download | compcert-601569c2e0c9ec4748eefcbdb9f62c93f8aa822c.tar.gz compcert-601569c2e0c9ec4748eefcbdb9f62c93f8aa822c.zip |
Support for __builtin_fmax and __builtin_fmin
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1501 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'ia32/CBuiltins.ml')
-rw-r--r-- | ia32/CBuiltins.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ia32/CBuiltins.ml b/ia32/CBuiltins.ml index d077fe55..14a2f10c 100644 --- a/ia32/CBuiltins.ml +++ b/ia32/CBuiltins.ml @@ -24,5 +24,9 @@ let builtins = { (* Float arithmetic *) "__builtin_fsqrt", (TFloat(FDouble, []), [TFloat(FDouble, [])], false); + "__builtin_fmax", + (TFloat(FDouble, []), [TFloat(FDouble, []); TFloat(FDouble, [])], false); + "__builtin_fmin", + (TFloat(FDouble, []), [TFloat(FDouble, []); TFloat(FDouble, [])], false); ] } |