diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-11-24 16:38:50 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-11-24 16:38:50 +0000 |
commit | c629161139899e43a2fe7c5af59ca926cdab370e (patch) | |
tree | dac4e010bc757ef01e84f7bdf7ddabc1aabdf755 /test/regression | |
parent | 09739ad762e9cf144f8004cdaf60d293dfd62d9a (diff) |
Test for __builtin_fcti
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2072 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression')
-rw-r--r-- | test/regression/builtins.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/regression/builtins.c b/test/regression/builtins.c index 00b1097..64e82ee 100644 --- a/test/regression/builtins.c +++ b/test/regression/builtins.c @@ -27,7 +27,9 @@ int main(int argc, char ** argv) printf("fres(%f) = %f\n", a, __builtin_fres(a)); printf("fsel(%f, %f, %f) = %f\n", a, b, c, __builtin_fsel(a, b, c)); printf("fsel(%f, %f, %f) = %f\n", -a, b, c, __builtin_fsel(-a, b, c)); - + printf("fcti(%f) = %d\n", a, __builtin_fcti(a)); + printf("fcti(%f) = %d\n", b, __builtin_fcti(b)); + printf("fcti(%f) = %d\n", c, __builtin_fcti(c)); __builtin_eieio(); __builtin_sync(); __builtin_isync(); |