mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 17:55:31 +08:00
rs6000.c (rs6000_complex_function_value): Unpack complex numbers <= 32 bits into two registers.
2003-06-04 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack complex numbers <= 32 bits into two registers. From-SVN: r67454
This commit is contained in:
parent
74eda121a8
commit
165848dad3
@ -1,3 +1,8 @@
|
||||
2003-06-04 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
|
||||
complex numbers <= 32 bits into two registers.
|
||||
|
||||
2003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* alpha.c (print_operand_address): Fix format specifier warnings.
|
||||
|
@ -14452,7 +14452,8 @@ rs6000_complex_function_value (enum machine_mode mode)
|
||||
regno = GP_ARG_RETURN;
|
||||
|
||||
/* 32-bit is OK since it'll go in r3/r4. */
|
||||
if (TARGET_32BIT)
|
||||
if (TARGET_32BIT
|
||||
&& GET_MODE_BITSIZE (inner) >= 32)
|
||||
return gen_rtx_REG (mode, regno);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user