Implement __divtf3, which performs long double division
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/builtins/divtf3.c | ||
---|---|---|
82 ↗ | (On Diff #9735) | Do we really need the full 64bit constant here? |
lib/builtins/divtf3.c | ||
---|---|---|
82 ↗ | (On Diff #9735) | Yes, we need the upper 64-bit of recip64 * q63b |
Comment Actions
Please drop me a patch for CREDITS.TXT BTW.
lib/builtins/divtf3.c | ||
---|---|---|
82 ↗ | (On Diff #9735) | Sure, I mean: isn't it enough to use the highest 8bit of the constant? recip64 is only accurate to 3.5bit anyway (see comment), so anything more shouldn't matter? |
Comment Actions
Sorry for leaving this hanging so long.
I just refered the double-pecision version(i.e, divdf3) to write this function
Since it used 32-bit instead of the highest 8-bit in divdf3, I used 64-bit constant here.