Commit aa963e9
authored
std/math/hardware.d: Partial IeeeFlags implementation on SPARC (#10958)
There's currently no SPARC implementation of `IeeeFlags`.
This patch provides the part that is shared between Phobos and GCC's
`libphobos`. Besides, Solaris/SPARC uses hardware-incompatible
floating-point status flags, which are included, too.
The remainder of the implementation (GDC-only) can be found in
PR d/123202
libphobos.phobos/std_math_hardware.d FAILs on SPARC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123202
Together they fix:
libphobos.phobos/std_math_hardware.d (test for excess errors)
libphobos.phobos/std_math_hardware.d execution test
Tested on GCC trunk on sparc-sun-solaris2.11 and sparc64-unknown-linux-gnu.1 parent ffb285c commit aa963e9
1 file changed
Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
115 | 129 | | |
116 | | - | |
| 130 | + | |
117 | 131 | | |
118 | 132 | | |
119 | 133 | | |
| |||
524 | 538 | | |
525 | 539 | | |
526 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
527 | 554 | | |
528 | | - | |
529 | | - | |
| 555 | + | |
530 | 556 | | |
531 | 557 | | |
532 | 558 | | |
| |||
767 | 793 | | |
768 | 794 | | |
769 | 795 | | |
| 796 | + | |
| 797 | + | |
770 | 798 | | |
771 | 799 | | |
772 | 800 | | |
| |||
850 | 878 | | |
851 | 879 | | |
852 | 880 | | |
853 | | - | |
| 881 | + | |
854 | 882 | | |
855 | 883 | | |
856 | 884 | | |
| |||
0 commit comments