This is an archive of the discontinued LLVM Phabricator instance.

R600/SI: Add FP mode bits to binary.
ClosedPublic

Authored by arsenm on Jun 18 2014, 11:24 PM.

Details

Reviewers
arsenm
Summary

The default rounding mode to initialize the mode register needs
to be reported to the runtime. Fill in other bits a kernel
may be interested in setting for future use.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 10607.Jun 18 2014, 11:24 PM
arsenm retitled this revision from to R600/SI: Add FP mode bits to binary..
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm updated this revision to Diff 10610.Jun 19 2014, 12:29 AM

Default to flushing single precision denormals. It seems some important single precision instructions we would want to use do not support denormals regardless of the mode. It would be more work to properly support functions that would want to use them. It's also what the AMD OpenCL does and it kind of makes sense to match that behavior

arsenm accepted this revision.Jun 26 2014, 10:31 AM
arsenm added a reviewer: arsenm.

r211791

This revision is now accepted and ready to land.Jun 26 2014, 10:31 AM
arsenm closed this revision.Jun 26 2014, 10:31 AM