Re: [PATCH, i386]: Fix PR 58792 by adding missing registers to ix86_function_value_regno_p

2013-10-19 Thread Uros Bizjak
On Sat, Oct 19, 2013 at 2:55 PM, Uros Bizjak wrote: > > The list of possible return registers in ix86_function_value_regno_p > is incomplete. 32bit and 64bit targets use %[er]dx register for > DImode and TImode values respectively and %st(1) and %xmm1 for > imaginary part of complex values. Addit

[PATCH, i386]: Fix PR 58792 by adding missing registers to ix86_function_value_regno_p

2013-10-19 Thread Uros Bizjak
Hello! The list of possible return registers in ix86_function_value_regno_p is incomplete. 32bit and 64bit targets use %[er]dx register for DImode and TImode values respectively and %st(1) and %xmm1 for imaginary part of complex values. Additionally, 64bit SYSV targets use %rdi and %rsi registers