This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix Power soft-float DFP function call handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]