Fix Power soft-float DFP function call handling

Daniel Jacobowitz drow@false.org
Thu Jun 26 14:09:00 GMT 2008


On Wed, Jun 11, 2008 at 12:24:08AM +0000, Joseph S. Myers wrote:
> This patch fixes decimal floating-point function call and return
> handling for soft-float Power, changing the following FAILs to PASSes
> in testing for powerpc-linux-gnu.  OK to commit?
> 
> FAIL: gdb.base/dfp-test.exp: Backtrace function with correct _Decimal64 arguments.
> FAIL: gdb.base/dfp-test.exp: Correct _Decimal64 return value from called function.
> FAIL: gdb.base/dfp-test.exp: Backtrace function with correct _Decimal128 arguments.
> FAIL: gdb.base/dfp-test.exp: Correct _Decimal128 return value from called function.
> FAIL: gdb.base/dfp-test.exp: Call function with mixed decimal float arguments TEST.
> FAIL: gdb.base/dfp-test.exp: Call function with mixed decimal float arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many _Decimal64 arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many _Decimal128 arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many mixed decimal float arguments.
> 
> 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
> 	decimal floating-point values in GPRs for soft-float.
> 	(do_ppc_sysv_return_value): Handle returning decimal
> 	floating-point values in GPRs for soft-float.

OK.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list