commit | 613196462a62a28de8414b9023ec2be9a29ac3dc | [log] [tgz] |
---|---|---|
author | liuhongt <hongtao.liu@intel.com> | Fri Sep 24 19:17:42 2021 +0800 |
committer | liuhongt <hongtao.liu@intel.com> | Fri Oct 08 10:09:55 2021 +0800 |
tree | 78d57aa8ddeb6ac147d6a534a154c9225ff36e43 | |
parent | 77ca2cfcdcccee3c8e8aeaf1d03e9920893d2486 [diff] |
Simplify (_Float16) ceil ((double) x) to .CEIL (x) when available. gcc/ChangeLog: PR target/102464 * config/i386/i386.c (ix86_optab_supported_p): Return true for HFmode. * match.pd: Simplify (_Float16) ceil ((double) x) to __builtin_ceilf16 (a) when a is _Float16 type and direct_internal_fn_supported_p. gcc/testsuite/ChangeLog: * gcc.target/i386/pr102464.c: New test.