diff options
author | hongtao.liu <hongtao.liu@intel.com> | 2025-04-17 09:07:55 +0200 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2025-04-20 23:46:01 -0700 |
commit | e1098c7b08d9e6018f60dae7a14c5ad621618223 (patch) | |
tree | 5569c1160a21ca314a0494c69ecc02298de39b31 /libgcc/config/libbid/_td_to_dd.c | |
parent | afff07608093912b9b169a39a7b3aee4e3739d77 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
When FMA is available, N-R step can be rewritten with
a / b = (a - (rcp(b) * a * b)) * rcp(b) + rcp(b) * a
which have 2 fma generated.
gcc/ChangeLog:
* config/i386/i386-expand.cc (ix86_emit_swdivsf): Generate 2
FMA instructions when TARGET_FMA.
gcc/testsuite/ChangeLog:
* gcc.target/i386/recip-vec-divf-fma.c: New test.
Diffstat (limited to 'libgcc/config/libbid/_td_to_dd.c')
0 files changed, 0 insertions, 0 deletions