public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Umesh Kalappa <umesh.kalappa0@gmail.com>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: gcc@gcc.gnu.org, nd@arm.com
Subject: Re: Subnormal float support in armv7(with -msoft-float) for intrinsics
Date: Fri, 13 Jul 2018 07:53:00 -0000	[thread overview]
Message-ID: <CAGfacvQZ7qCSvEuXJo0iLXe+6vYtNx0v04yC3FSZ90fKNhnjsw@mail.gmail.com> (raw)
In-Reply-To: <61ff7d39-fc33-3a69-4b49-504862c350e5@arm.com>

Thank you and issue  raised at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86512

~Umesh

On Thu, Jul 12, 2018 at 9:33 PM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> On 12/07/18 16:20, Umesh Kalappa wrote:
>>
>> Hi everyone,
>>
>> we have our source base ,that was compiled for armv7 on gcc8.1 with
>> soft-float and for following input
>>
>> a=0x0010000000000000
>> b=0x0000000000000001
>>
>>   result = a - b ;
>>
>> we are getting the result as "0x000ffffffffffffe" and with
>> -mhard-float (disabled the flush to zero mode ) we are getting the
>> result as ""0x000fffffffffffff" as expected.
>>
>
> please submit it as a bug report to bugzilla
>
>
>> while debugging the soft-float code,we see that ,the compiler calls
>> the intrinsic "__aeabi_dsub" with arm calling conventions i.e passing
>> "a" in r0 and r1 registers and respectively for "b".
>>
>> we are investigating the routine "__aeabi_dsub" that comes from libgcc
>> for incorrect result  and meanwhile we would like to know that
>>
>> a)do libgcc routines/intrinsic for float operations support or
>> consider the subnormal values ? ,if so how we can enable the same.
>>
>> Thank you
>> ~Umesh
>>
>

  reply	other threads:[~2018-07-13  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-12 15:20 Umesh Kalappa
2018-07-12 16:03 ` Szabolcs Nagy
2018-07-13  7:53   ` Umesh Kalappa [this message]
2018-07-17  9:42     ` Umesh Kalappa
2018-07-17  9:54       ` Ramana Radhakrishnan
2018-07-17 10:31         ` Umesh Kalappa

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=CAGfacvQZ7qCSvEuXJo0iLXe+6vYtNx0v04yC3FSZ90fKNhnjsw@mail.gmail.com \
    --to=umesh.kalappa0@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=nd@arm.com \
    --cc=szabolcs.nagy@arm.com \
    /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).