Update loongson vector reductions.
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 6 Nov 2015 11:59:20 +0000 (11:59 +0000)
committerSimon Dardis <dardiss@gcc.gnu.org>
Fri, 6 Nov 2015 11:59:20 +0000 (11:59 +0000)
commit66c5c67baffb2fa9fd9085c01f2811b07f0f7f60
treed154d95f0a29b48b1ecad55cf2a0692668311549
parent61d371eb413e6917f59bea804b3c167e31f88f98
Update loongson vector reductions.

2015-11-06  Simon Dardis  <simon.dardis@imgtec.com>

        * config/mips/loongson.md (vec_loongson_extract_lo_<mode>): New, extract
        low part to scalar.
        (reduc_uplus_<mode>): Remove.
        (reduc_plus_scal_<mode>): Rename from reduc_splus_<mode>, Use vec
        loongson_extract_lo_<mode>.
        (reduc_smax_scal_<mode>, reduc_smin_scal_<mode>): Rename from
        reduc_smax_<mode>, reduc_smax_<mode>, use vec
        loongson_extract_lo_<mode>.
        (reduc_umax_scal_<mode>, reduc_umin_scal_<mode>): Rename.

From-SVN: r229844
gcc/ChangeLog
gcc/config/mips/loongson.md