diff options
author | liuhongt <hongtao.liu@intel.com> | 2021-09-24 19:17:42 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2021-10-08 10:09:55 +0800 |
commit | 613196462a62a28de8414b9023ec2be9a29ac3dc (patch) | |
tree | 78d57aa8ddeb6ac147d6a534a154c9225ff36e43 /libgcc | |
parent | 77ca2cfcdcccee3c8e8aeaf1d03e9920893d2486 (diff) | |
download | gcc-613196462a62a28de8414b9023ec2be9a29ac3dc.zip gcc-613196462a62a28de8414b9023ec2be9a29ac3dc.tar.gz gcc-613196462a62a28de8414b9023ec2be9a29ac3dc.tar.bz2 |
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.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions