diff options
author | David Sherwood <david.sherwood@arm.com> | 2015-11-25 17:12:28 +0000 |
---|---|---|
committer | David Sherwood <davids@gcc.gnu.org> | 2015-11-25 17:12:28 +0000 |
commit | ccb57bb09074b123d908f00820d865491fa656dd (patch) | |
tree | 9f0d2aa8a0fe20a54db2718aaed1374f98424162 /gcc/optabs.def | |
parent | c2127564efc152de34ea1a15ce9b20e8ddccfc2c (diff) |
optabs.def: Add new optabs fmax_optab/fmin_optab.
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.
From-SVN: r230888
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") |