| 1 |
2026-06-12 Georg-Johann Lay <[email protected]> |
| 2 |
|
| 3 |
Backported from master: |
| 4 |
2026-06-11 Georg-Johann Lay <[email protected]> |
| 5 |
|
| 6 |
PR target/125752 |
| 7 |
* libf7-asm.sx (ufx64_to_d, d_to_fx64): New DEFUNs. |
| 8 |
(__fractdadf, __fractudadf, __fracttadf, __fractutadf) |
| 9 |
(__fractdqdf, __fractudqdf): New _DEFUNs. |
| 10 |
* libf7-common.mk (F7_ASM_PARTS) Add: fx2D, D2fx, |
| 11 |
dq2D, udq2D, da2D, uda2D, ta2D uta2D. |
| 12 |
(F7F): Add d_to_fx64, ufx64_to_d, sfx64_to_d. |
| 13 |
* libf7.c (d_to_ufx, d_to_sfx): New protos. |
| 14 |
(__fractdfda, __fractdfuda, __fractdfta, __fractdfuta) |
| 15 |
(__fractdfdq, __fractdfudq): New modules. |
| 16 |
* t-libf7 (LIBF7_DF_CONV): Add fractdfda, |
| 17 |
fractdfta, fractdfdq, fractdfuda, fractdfuta, fractdfudq. |
| 18 |
* f7-renames.h: Rebuild. |
| 19 |
|
| 20 |
2026-06-12 Release Manager |
| 21 |
|
| 22 |
* GCC 15.3.0 released. |
| 23 |
|
| 24 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 25 |
|
| 26 |
Backported from master: |
| 27 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 28 |
|
| 29 |
PR target/122222 |
| 30 |
* libf7-asm.sx (D_floatsidf, D_floatunsidf): New modules. |
| 31 |
* libf7-common.mk (F7_ASM_PARTS): Add D_floatsidf, D_floatunsidf. |
| 32 |
(F7F, g_dx): Remove floatunsidf, floatsidf. |
| 33 |
* libf7.c (f7_set_s32): Don't alias to f7_floatsidf. |
| 34 |
(f7_set_u32): Don't alias to f7_floatunsidf. |
| 35 |
* f7-renames.h: Rebuild |
| 36 |
* f7-wraps.h: Rebuild. |
| 37 |
|
| 38 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 39 |
|
| 40 |
Backported from master: |
| 41 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 42 |
|
| 43 |
PR target/122220 |
| 44 |
* libf7-asm.sx (to_integer): Return 0x80... on negative overflow. |
| 45 |
|
| 46 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 47 |
|
| 48 |
Backported from master: |
| 49 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 50 |
|
| 51 |
PR target/122210 |
| 52 |
* libf7-common.mk (F7_ASM_PARTS): Add D2<fx> modules. |
| 53 |
* libf7-asm.sx: Implement the D2<fx> modules. |
| 54 |
|
| 55 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 56 |
|
| 57 |
Backported from master: |
| 58 |
2025-10-09 Georg-Johann Lay <[email protected]> |
| 59 |
|
| 60 |
PR target/122210 |
| 61 |
* libf7-common.mk (F7_ASM_PARTS): Add <fx>2D modules. |
| 62 |
* libf7-asm.sx: Implement the <fx>2D modules. |
| 63 |
|
| 64 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 65 |
|
| 66 |
Backported from master: |
| 67 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 68 |
|
| 69 |
* libf7-common.mk (F7_ASM_PARTS): Add D_sincos. |
| 70 |
* libf7-asm.sx: (D_sincos): New module implements sincos / sincosl. |
| 71 |
|
| 72 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 73 |
|
| 74 |
Backported from master: |
| 75 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 76 |
|
| 77 |
PR target/122177 |
| 78 |
* libf7-common.mk (m_ddd): Remove: fmin, fmax. |
| 79 |
(F7_ASM_PARTS): Add: D_fminfmax. |
| 80 |
* libf7-asm.sx (D_fmanfmax): New module. |
| 81 |
* f7-wraps.h: Rebuild. |
| 82 |
|
| 83 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 84 |
|
| 85 |
Backported from master: |
| 86 |
2025-10-06 Georg-Johann Lay <[email protected]> |
| 87 |
|
| 88 |
* libf7-common.mk (g_xdd_cmp): Remove le, lt, ge, gt, ne, eq, unord. |
| 89 |
(F7_ASM_PARTS): Add D_cmp, D_eq, D_ne, D_ge, D_gt, D_le, D_lt, D_unord. |
| 90 |
* libf7-asm.sx (D_cmp, D_eq, D_ne, D_ge, D_gt, D_le, D_lt, D_unord): |
| 91 |
New modules. |
| 92 |
* f7-wraps.h: Rebuild. |
| 93 |
|
| 94 |
2025-08-08 Release Manager |
| 95 |
|
| 96 |
* GCC 15.2.0 released. |
| 97 |
|
| 98 |
2025-05-27 Georg-Johann Lay <[email protected]> |
| 99 |
|
| 100 |
Backported from master: |
| 101 |
2025-05-27 Georg-Johann Lay <[email protected]> |
| 102 |
|
| 103 |
PR target/120442 |
| 104 |
* libf7-common.mk (LIBF_C_PARTS, m_ddd): Add fdim. |
| 105 |
* libf7.h (f7_fdim): New proto. |
| 106 |
* libf7.c (f7_fdim): New function. |
| 107 |
* f7renames.sh (f7_fdim): Add rename. |
| 108 |
* f7-wraps.h: Rebuild |
| 109 |
* f7-renames.h: Rebuild |
| 110 |
|
| 111 |
2025-05-27 Georg-Johann Lay <[email protected]> |
| 112 |
|
| 113 |
Backported from master: |
| 114 |
2025-05-27 Georg-Johann Lay <[email protected]> |
| 115 |
|
| 116 |
PR target/120441 |
| 117 |
* libf7.c (f7_exp): Limit aa->expo to 10 (not to 9). |
| 118 |
|
| 119 |
2025-04-25 Release Manager |
| 120 |
|
| 121 |
* GCC 15.1.0 released. |
| 122 |
|
| 123 |
2025-03-22 Georg-Johann Lay <[email protected]> |
| 124 |
|
| 125 |
* t-libf7 (libgcc-objects): Only add objects when building |
| 126 |
for non-AVRrc. |
| 127 |
|
| 128 |
2024-11-16 Georg-Johann Lay <[email protected]> |
| 129 |
|
| 130 |
* libf7.h (bool, true, false): Don't define in C23 or higher. |
| 131 |
|
| 132 |
2024-10-25 Jakub Jelinek <[email protected]> |
| 133 |
|
| 134 |
* f7-renames.h: Remove trailing whitespace. |
| 135 |
|
| 136 |
2024-06-14 Georg-Johann Lay <[email protected]> |
| 137 |
|
| 138 |
PR target/115419 |
| 139 |
* libf7.c (f7_get_double): Round tie breaks to even LSB. |
| 140 |
|
| 141 |
2024-06-01 Georg-Johann Lay <[email protected]> |
| 142 |
|
| 143 |
PR target/115317 |
| 144 |
* libf7-asm.sx (__isinf): Map -Inf to -1. |
| 145 |
|
| 146 |
2024-05-08 Georg-Johann Lay <[email protected]> |
| 147 |
|
| 148 |
PR target/114981 |
| 149 |
* libf7-common.mk (F7_ASM_PARTS): Add D_powi |
| 150 |
* libf7-asm.sx (F7MOD_D_powi_, __powidf2): New module and function. |
| 151 |
* libf7.c (f7_powi): Fix last (wrong) statement. |
| 152 |
Tweak trivial multiplications with 1.0. |
| 153 |
|
| 154 |
2023-11-14 Georg-Johann Lay <[email protected]> |
| 155 |
|
| 156 |
* libf7-const.def [F7MOD_sinh_]: Add MiniMax polynomial. |
| 157 |
* libf7.c (f7_sinh): Use it instead of (exp(x) - exp(-x)) / 2 |
| 158 |
when |x| < 0.5 to avoid loss of precision due to cancellation. |
| 159 |
|
| 160 |
2023-11-12 Georg-Johann Lay <[email protected]> |
| 161 |
|
| 162 |
* libf7-asm.sx (sqrt_approx): Rewrite. |
| 163 |
* libf7.c (f7_sqrt): Use it instead of sqrt_worker. |
| 164 |
(sqrt_worker): Remove. |
| 165 |
|
| 166 |
2023-11-08 Georg-Johann Lay <[email protected]> |
| 167 |
|
| 168 |
* libf7-asm.sx (mul_mant) [AVR_HAVE_MUL]: Tweak code. |
| 169 |
|
| 170 |
2023-10-18 Georg-Johann Lay <[email protected]> |
| 171 |
|
| 172 |
* libf7-asm.sx (mul_mant): Implement for devices without MUL. |
| 173 |
* asm-defs.h (wmov) [!HAVE_MUL]: Fix regno computation. |
| 174 |
* t-libf7 (F7_ASM_FLAGS): Add -g0. |
| 175 |
|
| 176 |
2023-10-17 Georg-Johann Lay <[email protected]> |
| 177 |
|
| 178 |
* f7-renames.h: Re-renerate. |
| 179 |
|
| 180 |
2023-10-17 Georg-Johann Lay <[email protected]> |
| 181 |
|
| 182 |
* libf7.h (F7_SIZEOF): New macro. |
| 183 |
* libf7-asm.sx: Use F7_SIZEOF instead of magic number "10". |
| 184 |
(F7MOD_D_fma_, __fma): New module and function. |
| 185 |
(fma) [-mdouble=64]: Define as alias for __fma. |
| 186 |
(fmal) [-mlong-double=64]: Define as alias for __fma. |
| 187 |
* libf7-common.mk (F7_ASM_PARTS): Add D_fma. |
| 188 |
|
| 189 |
2023-10-12 Georg-Johann Lay <[email protected]> |
| 190 |
|
| 191 |
* libf7.c (F7MOD_atan2_, f7_atan2): New module and function. |
| 192 |
* libf7.h: Adjust comments. |
| 193 |
* libf7-common.mk (CALL_PROLOGUES): Add atan2. |
| 194 |
|
| 195 |
2023-10-05 Georg-Johann Lay <[email protected]> |
| 196 |
|
| 197 |
* libf7.h (F7_PURE): Remove all occurrences. |
| 198 |
* libf7.c: Same. |
| 199 |
|
| 200 |
2023-10-05 Georg-Johann Lay <[email protected]> |
| 201 |
|
| 202 |
* libf7.h (F7_FLAGNO_plusx, F7_FLAG_plusx): New macros. |
| 203 |
* libf7.c (f7_horner): Handle F7_FLAG_plusx in highest coefficient. |
| 204 |
* libf7-const.def [F7MOD_atan_]: Denominator: Set F7_FLAG_plusx |
| 205 |
and omit highest term. |
| 206 |
[F7MOD_asinacos_]: Use rational function with normalized denominator. |
| 207 |
|
| 208 |
2022-09-19 Georg-Johann Lay <[email protected]> |
| 209 |
|
| 210 |
PR target/99184 |
| 211 |
* libf7-asm.sx (to_integer, to_unsigned): Don't round 16-bit |
| 212 |
and 32-bit integers. |
| 213 |
|
| 214 |
2020-06-23 David Edelsohn <[email protected]> |
| 215 |
|
| 216 |
* t-libf7: Use -include. |
| 217 |
|
| 218 |
2020-01-08 Georg-Johann Lay <[email protected]> |
| 219 |
|
| 220 |
Implement 64-bit double functions. |
| 221 |
|
| 222 |
PR target/92055 |
| 223 |
* t-libf7: New file. |
| 224 |
* t-libf7-math: New file. |
| 225 |
* t-libf7-math-symbols: New file. |
| 226 |
* libf7-common.mk: New file. |
| 227 |
* libf7-asm-object.mk: New file. |
| 228 |
* libf7-c-object.mk: New file. |
| 229 |
* asm-defs.h: New file. |
| 230 |
* libf7.h: New file. |
| 231 |
* libf7.c: New file. |
| 232 |
* libf7-asm.sx: New file. |
| 233 |
* libf7-array.def: New file. |
| 234 |
* libf7-const.def: New file. |
| 235 |
* libf7-constdef.h: New file. |
| 236 |
* f7renames.sh: New script. |
| 237 |
* f7wraps.sh: New script. |
| 238 |
* f7-renames.h: New generated file. |
| 239 |
* f7-wraps.h: New generated file. |