mmx.md (mmxdoublemode): New mode attribute.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 16 Aug 2019 14:28:12 +0000 (16:28 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 16 Aug 2019 14:28:12 +0000 (16:28 +0200)
commit94538b6545be9613ee25c80325e3cebf518730cf
treeecf011a473639c197d87e5ee1a6fa908622a001a
parent9ac1403ca2c65ba4f28cf051b5326617fa9298d1
mmx.md (mmxdoublemode): New mode attribute.

* config/i386/mmx.md (mmxdoublemode): New mode attribute.
(mmx_uavg<mode>3): Macroize expaner from mmx_uavgv8qi3 and
mmx_uavgv4hi3 using MMXMODE12 mode iterator.
(uavg<mode>3_ceil): New expander.
* config/i386/sse.md (uavg<mode>3_ceil): Use ssedoublemode
mode iterator when creating CONST1_RTX.
(<sse2_avx2>_uavg<mode>3<mask_name>): Ditto.
(*<sse2_avx2>_uavg<mode>3<mask_name>): Use ssedoublemode
mode iterator for const1_operand predicate.

From-SVN: r274572
gcc/ChangeLog
gcc/config/i386/mmx.md
gcc/config/i386/sse.md