]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix the RTL of some sparc VIS patterns.
authorDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 21:15:44 +0000 (21:15 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 13 Oct 2011 21:15:44 +0000 (14:15 -0700)
commitf1c141a7da0daee15591401fa0a24cf71cc4734c
tree320e89380c3ec10d569ed5ec5dd93df47a8df133
parentce5046bd7184be1aad54e2d8874e136b758c365d
Fix the RTL of some sparc VIS patterns.

* config/sparc/sparc.md (UNSPEC_FPMERGE): Delete.
(UNSPEC_MUL16AU, UNSPEC_MUL8, UNSPEC_MUL8SU, UNSPEC_MULDSU): New
unspecs.
(fpmerge_vis): Remove inaccurate comment, represent using vec_select
of a vec_concat.
(vec_interleave_lowv8qi, vec_interleave_highv8qi): New insns.
(fmul8x16_vis, fmul8x16au_vis, fmul8sux16_vis, fmuld8sux16_vis):
Reimplement as unspecs and remove inaccurate comments.
(vis3_shift_patname): New code attr.
(<vis3_shift_insn><vbits>_vis): Rename to "v<vis3_shift_patname><mode>3".
(vis3_addsub_ss_patname): New code attr.
(<vis3_addsub_ss_insn><vbits>_vis): Rename to
"<vis3_addsub_ss_patname><mode>3".
* config/sparc/sparc.c (sparc_vis_init_builtins): Update to
accommodate pattern name changes.

From-SVN: r179943
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md