]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000.md (define_attr "type"): Add vecdouble.
authorPat Haugen <pthaugen@us.ibm.com>
Fri, 28 Oct 2011 21:38:56 +0000 (21:38 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Fri, 28 Oct 2011 21:38:56 +0000 (21:38 +0000)
commit4356b75d984e19b079b04a1e737271734a95a4b2
tree38c9d79c570f9b80d0dc2d1a961e00f1c59aaafa
parent9be087f649a4c126d35c1f7b5d9c355d5cb7379f
rs6000.md (define_attr "type"): Add vecdouble.

        * config/rs6000/rs6000.md (define_attr "type"): Add vecdouble.
        * config/rs6000/vsx.md (VStype_simple, VStype_mul): Use
        * vecdouble
        type for V2DF.
        (VStype_div): Use vector types for V2DF/V4SF.
        (VStype_sqrt): Use *sqrt types.
        (VS_spdp_type): Change type to vecdouble.
        (*vsx_fmav2df4, *vsx_nfmsv2df4, vsx_xvcvdpsxws, vsx_xvcvdpuxws,
        vsx_xvcvuxdsp, vsx_xvcvsxwdp, vsx_xvcvuxwdp, vsx_xvcvspsxds,
        vsx_xvcvspuxds): Likewise.
        (*vsx_fms<mode>4): Set type via <VStype_mul>.
        (*vsx_eq_<mode>_p, *vsx_gt_<mode>_p, *vsx_ge_<mode>_p): Set type
via
        <VStype_simple>.
        * config/rs6000/power7.md (power7-vecstore): Correct VSU pipe.
        (power7-fpcompare, power7-sdiv, power7-ddiv, power7-sqrt,
        power7-dsqrt): Correct insn latency.
        (power7-vecsimple): Add veccmp type and correct dispatch/VSU
values.
        (power7-veccmp): Delete.
        (power7-vecfloat): Correct latency/dispatch/VSU values.
        (define_bypass "power7-vecfloat"): Correct latency and types.
        (power7-veccomplex, power7-vecperm): Correct dispatch/VSU
values.
        (power7-vecdouble, power7-vecfdiv, power7-vecdiv): New.

From-SVN: r180632
gcc/ChangeLog
gcc/config/rs6000/power7.md
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/vsx.md