[all-commits] [llvm/llvm-project] e2cd2f: [builtins] Fix value of ARM_INEXACT

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Mar 12 03:17:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2cd2f7d08ce4391f19c0ce5c4ea63bb9a985fcf
      https://github.com/llvm/llvm-project/commit/e2cd2f7d08ce4391f19c0ce5c4ea63bb9a985fcf
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M compiler-rt/lib/builtins/arm/fp_mode.c

  Log Message:
  -----------
  [builtins] Fix value of ARM_INEXACT

The existing value of 0x1000 sets the IXE bit (Inexact floating-point exception
trap enable), but we really want to be setting IXC, bit 4:
Inexact cumulative floating-point exception bit. This bit is set to 1 to
indicate that the Inexact floating-point exception has occurred since 0 was
last written to this bit.

Reviewed By: kongyi, peter.smith
Differential Revision: https://reviews.llvm.org/D98353




More information about the All-commits mailing list