diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2022-10-28 13:09:20 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2022-10-31 12:20:53 +0000 |
commit | 10aa0356118f44e5f4d720a2a4c731b173baa298 (patch) | |
tree | 9a8b2cf6fb04ddeb95e943bff6ef4f77501d91df /gcc/gimple-range.cc | |
parent | f539029c1ce6fb9163422d1a8b6ac12a2554eaa2 (diff) | |
download | gcc-10aa0356118f44e5f4d720a2a4c731b173baa298.zip gcc-10aa0356118f44e5f4d720a2a4c731b173baa298.tar.gz gcc-10aa0356118f44e5f4d720a2a4c731b173baa298.tar.bz2 |
amdgcn: add fmin/fmax patterns
Add fmin/fmax for scalar, vector, and reductions. The smin/smax patterns are
already using the IEEE compliant hardware instructions anyway, so we can just
expand to use those insns.
gcc/ChangeLog:
* config/gcn/gcn-valu.md (fminmaxop): New iterator.
(<fexpander><mode>3): New define_expand.
(<fexpander><mode>3<exec>): Likewise.
(reduc_<fexpander>_scal_<mode>): Likewise.
* config/gcn/gcn.md (fexpander): New attribute.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions