diff options
author | davids <davids@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-25 17:12:28 +0000 |
---|---|---|
committer | davids <davids@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-25 17:12:28 +0000 |
commit | 154294999927c90d4dcf881bcd76099604e5a91e (patch) | |
tree | 9f0d2aa8a0fe20a54db2718aaed1374f98424162 /gcc/optabs.def | |
parent | f6b304634e9e270241b68edf6b0dbac9f1456512 (diff) | |
download | gcc-154294999927c90d4dcf881bcd76099604e5a91e.tar.gz |
2015-11-25 David Sherwood <david.sherwood@arm.com>
* optabs.def: Add new optabs fmax_optab/fmin_optab.
* internal-fn.def: Add new fmax/fmin internal functions.
* doc/md.texi: Add fmin and fmax patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.def')
-rw-r--r-- | gcc/optabs.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/optabs.def b/gcc/optabs.def index c141a3ca6ff..20e4225d733 100644 --- a/gcc/optabs.def +++ b/gcc/optabs.def @@ -253,6 +253,10 @@ OPTAB_D (sin_optab, "sin$a2") OPTAB_D (sincos_optab, "sincos$a3") OPTAB_D (tan_optab, "tan$a2") +/* C99 implementations of fmax/fmin. */ +OPTAB_D (fmax_optab, "fmax$a3") +OPTAB_D (fmin_optab, "fmin$a3") + /* Vector reduction to a scalar. */ OPTAB_D (reduc_smax_scal_optab, "reduc_smax_scal_$a") OPTAB_D (reduc_smin_scal_optab, "reduc_smin_scal_$a") |