Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

128-bit software floating point division does not update FP environment for hardware cores #33473

Open
compnerd opened this issue Aug 8, 2017 · 2 comments
Labels
bugzilla Issues migrated from bugzilla compiler-rt:builtins

Comments

@compnerd
Copy link
Member

compnerd commented Aug 8, 2017

Bugzilla Link 34126
Version unspecified
OS All
CC @arichardson,@fjricci,@vitalybuka

Extended Description

The 128-bit floating point division routines need to update the floating point hardware state when performing operations (e.g. division by NaN). This needs to account for the various architectures in the target agnostic code path (e.g. targeting Cortex M3 could not do this).

@arichardson
Copy link
Member

It seems like none of the fp128 routines set FE_INVALID, etc. This causes failures in the math tests of FreeBSD test suite for non-x86 architectures since it means that functions such as cosl/sinl/tanl/ etc. don't set any floating point exception flags.

@arichardson
Copy link
Member

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compiler-rt:builtins
Projects
None yet
Development

No branches or pull requests

2 participants