Page MenuHomeFreeBSD

compiler-rt: add floatditf and floatunditf
ClosedPublic

Authored by emaste on Mar 30 2015, 1:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 20, 1:38 PM
Unknown Object (File)
Nov 30 2024, 5:20 AM
Unknown Object (File)
Nov 24 2024, 8:03 PM
Unknown Object (File)
Nov 23 2024, 7:07 AM
Unknown Object (File)
Nov 22 2024, 10:17 PM
Unknown Object (File)
Nov 22 2024, 8:27 AM
Unknown Object (File)
Nov 21 2024, 7:12 AM
Unknown Object (File)
Nov 19 2024, 1:52 PM
Subscribers
None

Details

Summary

These are long integer (di_int/du_int) to quad precision floating point conversions.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to compiler-rt: add floatditf and floatunditf.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: ed, dim, andrew.
contrib/compiler-rt/lib/builtins/floatditf.c
12 ↗(On Diff #4509)

Out of curiosity, is this also what this function is supposed to do unconditionally? These functions are not supposed to integrate with fegetround() / FLT_ROUNDS?

47 ↗(On Diff #4509)

These functions do not support subnormal floating point numbers. Should this be implemented, or at least documented?

contrib/compiler-rt/lib/builtins/floatditf.c
12 ↗(On Diff #4509)

Good question; this was inherited from the floatsitf function I started from.

The thread I started on llvmdev is here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/084064.html

47 ↗(On Diff #4509)

I'm missing something - how would you implement int to subnormal float conversion?

ed edited edge metadata.
This revision is now accepted and ready to land.Mar 31 2015, 7:28 AM

Any plan to commit this? It will be needed for the arm64 buildworld.

emaste updated this revision to Diff 4725.

Closed by commit rS281223 (authored by @emaste).