diff options
author | David S. Miller <davem@davemloft.net> | 2011-09-27 02:10:10 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2011-09-26 19:10:10 -0700 |
commit | cb8bbba89e8db9b585dd0d3935ffef5e77920d5a (patch) | |
tree | d8e42dd1926af159fe00a417353501088bd00c7c /gcc/ada/gcc-interface | |
parent | ca17c07b4504b72788afdb4cb0d774264c2470b7 (diff) | |
download | gcc-cb8bbba89e8db9b585dd0d3935ffef5e77920d5a.zip gcc-cb8bbba89e8db9b585dd0d3935ffef5e77920d5a.tar.gz gcc-cb8bbba89e8db9b585dd0d3935ffef5e77920d5a.tar.bz2 |
Improve code generation for edge and pixel-compare...
Improve code generation for edge and pixel-compare, specifically avoid
sign and zero extensions on 64-bit and allow such instructions to be
placed in delay slots.
gcc/
* config/sparc/sparc.md (edge{8,16,32}{,l}): Return Pmode.
(fcmp{le,ne,gt,eq}{16,32}): Likewise.
* config/sparc/visintrin.h: Update edge and pixel-compare
intrinsics to return 'long' instead of 'int'.
* doc/extend.texi: Update documentation to match.
* config/sparc/sparc.c (eligible_for_return_delay): When leaf or
flat, allow any instruction. Otherwise, when V9 allow parallels
which consist only of sets to registers outside of %o0 to %o5.
(sparc_vis_init_builtins): Update VIS builtin types for edge
and pixel-compare.
gcc/testsuite/
* gcc.target/sparc/edge.c: Update for new return types.
* gcc.target/sparc/fcmp.c: Likewise.
From-SVN: r179227
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions