public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Luis Machado <luis.machado@arm.com>
To: Christophe Lyon <christophe.lyon@arm.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] AArch64: add support for DFP (Decimal Floating point)
Date: Tue, 24 May 2022 09:10:44 +0100	[thread overview]
Message-ID: <8568c1a5-4bf3-d6ee-0fb0-7e14c6d633a8@arm.com> (raw)
In-Reply-To: <d9398155-b3e6-7558-f521-70778c622730@arm.com>

On 5/24/22 08:55, Christophe Lyon wrote:
> 
> 
> On 5/20/22 11:06, Christophe Lyon wrote:
>> This small patch adds support for TYPE_CODE_DECFLOAT in
>> aapcs_is_vfp_call_or_return_candidate_1 and pass_in_v_vfp_candidate,
>> so that GDB for AArch64 knows how to pass DFP parameters and how to
>> read DFP results when calling a function.
>>
>> Tested on aarch64-linux-gnu, with a GCC with DFP support in the PATH,
>> all of GDB's DFP tests pass.
> 
> More precisely, patch 1/2 has a side-effect of enabling the GDB DFP tests, some of which fail without this patch 2/2:
> gdb.base/dfp-test.exp: Call function with many _Decimal128 arguments.
> gdb.base/dfp-test.exp: Call function with many _Decimal32 arguments.
> gdb.base/dfp-test.exp: Call function with many _Decimal64 arguments.
> gdb.base/dfp-test.exp: Call function with many mixed decimal float arguments.
> gdb.base/dfp-test.exp: Call function with mixed decimal float arguments TEST.
> gdb.base/dfp-test.exp: Call function with mixed decimal float arguments.
> gdb.base/dfp-test.exp: backtrace function with correct _Decimal128 arguments.
> gdb.base/dfp-test.exp: backtrace function with correct _Decimal32 arguments.
> gdb.base/dfp-test.exp: backtrace function with correct _Decimal64 arguments.
> 
> OK?

This is OK. Thanks!

  reply	other threads:[~2022-05-24  8:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20  9:06 [PATCH 1/2] Merge config/ changes from GCC, to enable DFP on AArch64 Christophe Lyon
2022-05-20  9:06 ` [PATCH 2/2] AArch64: add support for DFP (Decimal Floating point) Christophe Lyon
2022-05-24  7:55   ` Christophe Lyon
2022-05-24  8:10     ` Luis Machado [this message]
2022-05-20 16:17 ` [PATCH 1/2] Merge config/ changes from GCC, to enable DFP on AArch64 Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8568c1a5-4bf3-d6ee-0fb0-7e14c6d633a8@arm.com \
    --to=luis.machado@arm.com \
    --cc=christophe.lyon@arm.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).