[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from Francois-Xavier Coudert > --- > Hi Rainer, > > Apologies for that, apparently I got confused between the keyword and the > macro > form. Can you confirm that bo

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #11 from Francois-Xavier Coudert --- Hi Rainer, Apologies for that, apparently I got confused between the keyword and the macro form. Can you confirm that bootstrapped is fixed if you change it to static_assert(sizeof(GFC_UINTE

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-27 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #10 from

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-26 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #9 from Francois-Xavier Coudert --- After my patch, measurements seem to indicate the output of integers is mostly bound the library overhead. Inspection of the various itoa/btoa/otoa/xtoa functions seems to show they're reasonably ef

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #8 from Francois-Xavier Coudert --- Patch posted at https://gcc.gnu.org/pipermail/fortran/2021-December/057219.html

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-17 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #7 from Francois-Xavier Coudert --- Created attachment 52023 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52023&action=edit First patch to speed up gfc_itoa() There was a bug in the previous patch (when we write out the low d

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #6 from Francois-Xavier Coudert --- Integrating this quick patch into libgfortran, here are the timings to make a formatted write of 10 million integers into a string. - very small value (1), negligible speedup (2.273s to 2.248s) - s

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #5 from Francois-Xavier Coudert --- Consider this: /* Fast helper function for a positive value that fits in uint64_t. */ char *itoa64 (uint64_t n, char *p) { while (n != 0) { *--p = '0' + (n % 10); n /= 10; }

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-16 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org -

[Bug libfortran/98076] Increase speed of integer I/O

2021-07-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|11.3|--- --- Comment #3 from anlau

[Bug libfortran/98076] Increase speed of integer I/O

2021-07-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Richard Biener changed: What|Removed |Added Target Milestone|11.2|11.3 --- Comment #2 from Richard Biener

[Bug libfortran/98076] Increase speed of integer I/O

2021-04-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Jakub Jelinek changed: What|Removed |Added Target Milestone|11.0|11.2 --- Comment #1 from Jakub Jelinek

[Bug libfortran/98076] Increase speed of integer I/O

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug libfortran/98076] Increase speed of integer I/O

2020-11-30 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 Thomas Koenig changed: What|Removed |Added Version|unknown |11.0 Ever confirmed|0