rs6000.c (rs6000_parallel_return): New function.
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 17 Jan 2015 20:58:12 +0000 (21:58 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 17 Jan 2015 20:58:12 +0000 (21:58 +0100)
commit436bd91737b08f9221d0a08601721660a7fd2f81
treebf9cc8b3b7536e1431c8daf2fb9e0b35bbce462a
parent3b97ab5aed2090928f6bd9647cb4956845a7d77b
rs6000.c (rs6000_parallel_return): New function.

* config/rs6000/rs6000.c (rs6000_parallel_return): New function.
(rs6000_function_value): Use it.  Handle SCmode and TCmode as well,
for TARGET_32BIT && TARGET_POWERPC64.  Fix another BITS_PER_WORD
snafu.
(rs6000_libcall_value): Use the new function.

From-SVN: r219804
gcc/ChangeLog
gcc/config/rs6000/rs6000.c