From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta016.useast.a.cloudfilter.net (omta016.useast.a.cloudfilter.net [34.195.253.207]) by sourceware.org (Postfix) with ESMTPS id 848E13858D1E for ; Tue, 29 Nov 2022 04:37:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 848E13858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=cox.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cox.net Received: from cxr.smtp.a.cloudfilter.net ([10.0.17.148]) by cmsmtp with ESMTP id znAnogZCVteCVzsMpoHlus; Tue, 29 Nov 2022 04:37:11 +0000 Received: from thunderbird.smith.home ([68.3.0.42]) by cmsmtp with ESMTPSA id zsMnoegktOssFzsMoo8tkb; Tue, 29 Nov 2022 04:37:11 +0000 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=ischis2@cox.net X-Authority-Analysis: v=2.4 cv=UftC9YeN c=1 sm=1 tr=0 ts=63858c77 a=cpGT5VrXLYKl/qkSlk7pYw==:117 a=cpGT5VrXLYKl/qkSlk7pYw==:17 a=kj9zAlcOel0A:10 a=9xFQ1JgjjksA:10 a=oEpf_pUXV4ILWYvJj5MA:9 a=CjuIK1q_8ugA:10 Received: from thunderbird.localnet (localhost [127.0.0.1]) by thunderbird.smith.home (Postfix) with ESMTP id 98D8B19600CF; Mon, 28 Nov 2022 21:37:09 -0700 (MST) From: Stephen Smith To: gcc@gcc.gnu.org Cc: binutils@sourceware.org Subject: Division by zero on A53 which does not raise an exception Date: Mon, 28 Nov 2022 21:37:09 -0700 Message-ID: <4789825.31r3eYUQgx@thunderbird> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-CMAE-Envelope: MS4xfGCC/pHjr0VgtIc3lUVO3KqZTK49A4m21kZb4ysRNko241pTpXVYAwcwfe/hLnVZ0GwLsAIL5F+CXJs/HX6cW/XEDH1gqCovxBtYdXI5KQLXiJQFRBaH UJXcgENVSGvRJCWH7NW9ewlc+K3Qpiq4OX9pzFOCCDGZ0xwkaPXGZ0XjaWaZbam5Kpc2mYNoQ1a5wJ4iQRsKC9nhgJaJs3GB13A= X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I am working on a project which is using an A53 core. The core does not raise an exception if there is a division by zero (for either integer or floating point division). The designers chose to set status bits for the floating point case but not raise an exception. With the integer division no status bits are set. Does the GCC compilers or Binutils assembler and linker have a way to deal with this issue on the ARM A53 processor? For Linux, was special support added in the kernel to help Glibc with this issue? If so, I will comb the linux source tree. My project is using GCC 7.3.0