-
- Downloads
d: Merge upstream dmd 09db0c41e, druntime e68a5ae3.
* New core.math.toPrec templates have been added as an intrinsic. Some floating point algorithms, such as Kahan-Babuska-Neumaier Summation, require rounding to specific precisions. Rounding to precision after every operation, however, loses overall precision in the general case and is a runtime performance problem. Adding these functions guarantee the rounding at required points in the code, and document where in the algorithm the requirement exists. * Support IBM long double types in core.internal.convert. * Add missing aliases for 64-bit vectors in core.simd. * RUNNABLE_PHOBOS_TEST directive has been properly integrated into the D2 language testsuite. Reviewed-on: https://github.com/dlang/druntime/pull/3063 https://github.com/dlang/dmd/pull/11054 gcc/d/ChangeLog: * intrinsics.cc (expand_intrinsic_toprec): New function. (maybe_expand_intrinsic): Handle toPrec intrinsics. * intrinsics.def (TOPRECF, TOPREC, TOPRECL): Add toPrec intrinsics.
Showing
- gcc/d/ChangeLog 6 additions, 0 deletionsgcc/d/ChangeLog
- gcc/d/dmd/MERGE 1 addition, 1 deletiongcc/d/dmd/MERGE
- gcc/d/intrinsics.cc 22 additions, 0 deletionsgcc/d/intrinsics.cc
- gcc/d/intrinsics.def 3 additions, 0 deletionsgcc/d/intrinsics.def
- gcc/testsuite/gdc.test/compilable/interpret3.d 16 additions, 0 deletionsgcc/testsuite/gdc.test/compilable/interpret3.d
- gcc/testsuite/gdc.test/runnable/builtin.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/builtin.d
- gcc/testsuite/gdc.test/runnable/complex.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/complex.d
- gcc/testsuite/gdc.test/runnable/constfold.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/constfold.d
- gcc/testsuite/gdc.test/runnable/foreach4.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/foreach4.d
- gcc/testsuite/gdc.test/runnable/ifti.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/ifti.d
- gcc/testsuite/gdc.test/runnable/implicit.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/implicit.d
- gcc/testsuite/gdc.test/runnable/inner.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/inner.d
- gcc/testsuite/gdc.test/runnable/interpret.d 45 additions, 2 deletionsgcc/testsuite/gdc.test/runnable/interpret.d
- gcc/testsuite/gdc.test/runnable/issue8671.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/issue8671.d
- gcc/testsuite/gdc.test/runnable/lazy.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/lazy.d
- gcc/testsuite/gdc.test/runnable/mars1.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/mars1.d
- gcc/testsuite/gdc.test/runnable/mixin1.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/mixin1.d
- gcc/testsuite/gdc.test/runnable/mixin2.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/mixin2.d
- gcc/testsuite/gdc.test/runnable/s2ir.d 1 addition, 2 deletionsgcc/testsuite/gdc.test/runnable/s2ir.d
- gcc/testsuite/gdc.test/runnable/stress.d 1 addition, 1 deletiongcc/testsuite/gdc.test/runnable/stress.d
Loading
Please register or sign in to comment