From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by sourceware.org (Postfix) with ESMTPS id 1737F389201B for ; Mon, 25 May 2020 17:18:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1737F389201B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-ej1-f48.google.com with SMTP id a2so21111717ejb.10 for ; Mon, 25 May 2020 10:18:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=JXua44VY1EFBpwJh8wcXQI9FJ4lPnKjbiLuU172D5WI=; b=LE49MFurVCHM06g047TrRbzj6QxKtwxJAHNeSocNQ6H0niPPrHB5quHaWmDazLlUd/ vgRlnmD6Y5W4XIgNqsZ9ZPxjjUvxDH0PBahdHt/NCb33KotamqNARrt8haUdwoMC2Yaw Ob/UyhFdukapJloIgSagkoRzj58yt8ORH446pPFOhBvNH0BCsCWiR0bPKmn3L3g0IzHI XTC106GoBjXZ8AXzoV6qkPzMPRUYxVOjLbEQ0yHIodkhKqTjgYrz7sXRUlmfw98rTA9c jC9IOWG7NIVU7rXtsMr86EDtv3fYXTWF2jo9E+SEexOcTBuRSHvz/Bn/Toq/kJT4dgIu jyhQ== X-Gm-Message-State: AOAM5304gDZ0+9Ewf2nxr2PUpzGr9EpFUrCPcI0LvdjcchRPF/fp6vTN /6TvuqSlR/npA3MwjhUf6Nf7H4cl X-Google-Smtp-Source: ABdhPJzLvvPxgsc6gKOyZRhq8QkK3S7m1rs9HRjuKhFaVxjobq7Yv+SPrJ2I2r6p1cGdKqcWdd9PCQ== X-Received: by 2002:a17:906:9709:: with SMTP id k9mr19294147ejx.48.1590427082865; Mon, 25 May 2020 10:18:02 -0700 (PDT) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com. [209.85.208.50]) by smtp.gmail.com with ESMTPSA id w12sm16548985edj.22.2020.05.25.10.18.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 May 2020 10:18:02 -0700 (PDT) Received: by mail-ed1-f50.google.com with SMTP id g9so15541328edr.8 for ; Mon, 25 May 2020 10:18:02 -0700 (PDT) X-Received: by 2002:aa7:d284:: with SMTP id w4mr16068387edq.223.1590427082363; Mon, 25 May 2020 10:18:02 -0700 (PDT) MIME-Version: 1.0 Reply-To: joel@rtems.org From: Joel Sherrill Date: Mon, 25 May 2020 12:17:51 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Soft Floating Point Exceptions To: Newlib , Eshan Dhawan X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 17:18:05 -0000 Hi An RTEMS GSoC student (Eshan Dhawan) has almost completed porting the FreeBSD fenv code to newlib. Unfortunately, the software floating point code calls __softfloat_float_raise which has a couple of issues. First, he can't find the code which probably indicates an issue in the BSD world but no one likely cares because I doubt there is a BSD install on an ARM with soft floating point. Second, to use this in newlib, we will be relying on GCC's soft float implementation which means something different has to happen. Is there an equivalent routine in GCC? What should happen for __softfloat_float_raise()? Thanks. --joel