[libc] Allow reading and writing __FE_DENORM if available on x86_64.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 28 Jun 2021 07:25:21 +0000 (07:25 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 30 Jun 2021 17:32:24 +0000 (17:32 +0000)
commit230df8a419f244827895ffe5b6db298a209b741a
tree020ece6d5a309f1d94e2ae56f4efb8ce17110514
parent804dc3dcf27d10d4cd0af06fdf2999ea81ba751f
[libc] Allow reading and writing __FE_DENORM if available on x86_64.

Some libcs define __FE_DENORM on x86_64. This change allows reading the
bits corresponding to that non-standard exception.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D105004
libc/utils/FPUtil/x86_64/FEnv.h