From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17322 invoked by alias); 13 Jul 2018 07:53:06 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17139 invoked by uid 89); 13 Jul 2018 07:52:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:sk:c15-v6m, HX-Received:dc8f, H*f:sk:61ff7d3, Hx-languages-length:1238 X-HELO: mail-pg1-f173.google.com Received: from mail-pg1-f173.google.com (HELO mail-pg1-f173.google.com) (209.85.215.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jul 2018 07:52:48 +0000 Received: by mail-pg1-f173.google.com with SMTP id n9-v6so4438478pgp.12 for ; Fri, 13 Jul 2018 00:52:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3hhpskZcoNRNlCwpwFhcfxRiN1zhhbhhKMXnSU2iVEw=; b=TPrqlBqr+QeGaGKwWV1BCr5eG20pCoOmWYNBcfHowrSE9AcjE5XtzZXXu3oAypleT0 IvRQuHzT+d5UppEwzD//W6DUHImjHnLD3MWH+SUyuIHCAucyZiRTr7zUciiekmqNUHai A+oKCrIbhr8aOY08zuHgBobM/Qu9Lbd9cqKqfqeJnEofenCoGA8G60pCIw6TKhDtJpQE QIklhZIMspk9yExmRSBz86j0FODgeAp3Ix3lcLQCsmwyDB/gsxW9hREvm+/OUaVn0Dti GakaCFmBCRQWnM1lGJO+Y/UEFvKVECuTyJOxnUVjtVAygYCy8nWjsNE/kdswtwn58ZOk 4CPQ== MIME-Version: 1.0 Received: by 2002:a17:90a:8584:0:0:0:0 with HTTP; Fri, 13 Jul 2018 00:52:46 -0700 (PDT) In-Reply-To: <61ff7d39-fc33-3a69-4b49-504862c350e5@arm.com> References: <61ff7d39-fc33-3a69-4b49-504862c350e5@arm.com> From: Umesh Kalappa Date: Fri, 13 Jul 2018 07:53:00 -0000 Message-ID: Subject: Re: Subnormal float support in armv7(with -msoft-float) for intrinsics To: Szabolcs Nagy Cc: gcc@gcc.gnu.org, nd@arm.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00201.txt.bz2 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 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 >> >