Skip to content

We need a way to specify FP denormal behavior on a per-instruction basis #30633

@andykaylor

Description

@andykaylor
Bugzilla Link 31285
Version unspecified
OS All
CC @andykaylor,@hfinkel,@arsenm,@pogo59,@rotateright,@yuanfang-chen

Extended Description

As per the discussion in the comments for https://reviews.llvm.org/D27028, we need a way to control flush-to-zero behavior of floating point operations on a per instructions basis.

Currently there is a TargetMachine option and a set of function attributes for controlling denormal behavior. It isn't clear to me whether this approach is sufficient for the needs of all architectures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillafloating-pointFloating-point math

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions