[Bug target/118166] simple bit operations for __int128 do not use vector operations/registers

2024-12-25 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118166 --- Comment #4 from Gero --- Changing the register sets is of course a problem. But u/int128 could also be realized in xmm ? - Addition/subtraction can be implemented efficiently (see attachemant). - For multiplications/shl/shr/... this should a

[Bug target/118166] simple bit operations for __int128 do not use vector operations/registers

2024-12-25 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118166 --- Comment #3 from Gero --- Created attachment 59973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59973&action=edit addsub_128

[Bug c++/118166] New: simple bit operations for __int128 do not use vector operations/registers

2024-12-21 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118166 Bug ID: 118166 Summary: simple bit operations for __int128 do not use vector operations/registers Product: gcc Version: unknown Status: UNCONFIRMED Severity: n

[Bug c++/118038] constexpr std::bit_cast with long double/float80_t from some integer values

2024-12-13 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118038 --- Comment #9 from Gero --- Hi Andrew, I would like to provide future function (https://en.cppreference.com/w/c/experimental/fpext1) in C++ and/or improve existing functions that are not up to standard. Leterem also includes your quadmath::nanq

[Bug c++/118038] constexpr std::bit_cast with long double/float80_t from some integer values

2024-12-13 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118038 --- Comment #7 from Gero --- Hello Andrew, Ok. Could you give me a solution that I can use? Various attempts on my part have so far been unsuccessful. thx Gero

[Bug c++/118038] constexpr std::bit_cast with long double/float80_t from some integer values

2024-12-13 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118038 --- Comment #5 from Gero --- Hello Andrew, Thanks for your answers. However, I don't understand exactly what this has to do with PR 104522. bit_cast should only do the bit conversion and not worry about other sensitivities. Whether the results

[Bug c++/118038] New: constexpr std::bit_cast with long double/float80_t does not work

2024-12-13 Thread gero.peterhoff at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118038 Bug ID: 118038 Summary: constexpr std::bit_cast with long double/float80_t does not work Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal