public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
@ 2024-05-27  9:50 ro at gcc dot gnu.org
  2024-05-27  9:50 ` [Bug libstdc++/115247] " ro at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-27  9:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

            Bug ID: 115247
           Summary: experimental/simd/pr109261_constexpr_simd.cc FAILs on
                    32-bit x86
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: mkretz at gcc dot gnu.org
  Target Milestone: ---
            Target: i?86-*-*, x86_64-*-*

The experimental/simd/pr109261_constexpr_simd.cc test FAILs on 32-bit x86
(seen on all of Solaris, Linux, Darwin):

FAIL: experimental/simd/pr109261_constexpr_simd.cc -msse2 -O2 -Wno-psabi (test
for excess errors)

Excess errors:
/var/gcc/regression/master/11.4-gcc/build/i386-pc-solaris2.11/libstdc++-v3/include/experimental/bits/simd_builtin.h:131:
error: could not convert
'std::experimental::parallelism_v2::__vec_shuffle<__vector(4) wchar_t,
__extract_part<2, 3, 2, wchar_t, 3>(_SimdWrapper<wchar_t, 3,
void>)::<lambda(std::size_t)>, std::integer_sequence<unsigned int, 0, 1>
>(std::experimental::parallelism_v2::__as_vector<_SimdWrapper<wchar_t, 3, void>
>(__x), (std::make_index_sequence<2>(), std::make_index_sequence<2>()),
(<lambda closure object>std::experimental::parallelism_v2::__extract_part<2, 3,
2, wchar_t, 3>(_SimdWrapper<wchar_t, 3, void>)::<lambda(std::size_t)>(),
std::experimental::parallelism_v2::__extract_part<2, 3, 2, wchar_t,
3>(_SimdWrapper<wchar_t, 3, void>)::<lambda(std::size_t)>()))' from
'__vector(2) wchar_t' to 'std::conditional_t<false, wchar_t,
std::experimental::parallelism_v2::_SimdWrapper<wchar_t, 2, void> >' {aka
'std::conditional<false, wchar_t,
std::experimental::parallelism_v2::_SimdWrapper<wchar_t, 2, void> >::type'}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
@ 2024-05-27  9:50 ` ro at gcc dot gnu.org
  2024-05-27 10:18 ` mkretz at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-27  9:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |15.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
  2024-05-27  9:50 ` [Bug libstdc++/115247] " ro at gcc dot gnu.org
@ 2024-05-27 10:18 ` mkretz at gcc dot gnu.org
  2024-05-29  7:05 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mkretz at gcc dot gnu.org @ 2024-05-27 10:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-05-27
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
Thank you! The fix is already waiting for an okay at
https://gcc.gnu.org/pipermail/libstdc++/2024-May/058869.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
  2024-05-27  9:50 ` [Bug libstdc++/115247] " ro at gcc dot gnu.org
  2024-05-27 10:18 ` mkretz at gcc dot gnu.org
@ 2024-05-29  7:05 ` cvs-commit at gcc dot gnu.org
  2024-05-29  8:55 ` mkretz at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-29  7:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Matthias Kretz <mkretz@gcc.gnu.org>:

https://gcc.gnu.org/g:241a6cc88d866fb36bd35ddb3edb659453d6322e

commit r15-889-g241a6cc88d866fb36bd35ddb3edb659453d6322e
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed May 15 11:02:22 2024 +0200

    libstdc++: Avoid MMX return types from __builtin_shufflevector

    This resolves a regression on i686 that was introduced with
    r15-429-gfb1649f8b4ad50.

    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

    libstdc++-v3/ChangeLog:

            PR libstdc++/115247
            * include/experimental/bits/simd.h (__as_vector): Don't use
            vector_size(8) on __i386__.
            (__vec_shuffle): Never return MMX vectors, widen to 16 bytes
            instead.
            (concat): Fix padding calculation to pick up widening logic from
            __as_vector.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-05-29  7:05 ` cvs-commit at gcc dot gnu.org
@ 2024-05-29  8:55 ` mkretz at gcc dot gnu.org
  2024-06-10  5:58 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mkretz at gcc dot gnu.org @ 2024-05-29  8:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
This is resolved on trunk and the guilty commit had not been backportet yet.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-05-29  8:55 ` mkretz at gcc dot gnu.org
@ 2024-06-10  5:58 ` cvs-commit at gcc dot gnu.org
  2024-06-11  9:51 ` cvs-commit at gcc dot gnu.org
  2024-06-20 12:44 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-10  5:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Matthias Kretz
<mkretz@gcc.gnu.org>:

https://gcc.gnu.org/g:237f060033bc119461c43aae482254463f01b29e

commit r14-10295-g237f060033bc119461c43aae482254463f01b29e
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed May 15 11:02:22 2024 +0200

    libstdc++: Avoid MMX return types from __builtin_shufflevector

    This resolves a regression on i686 that was introduced with
    r15-429-gfb1649f8b4ad50.

    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

    libstdc++-v3/ChangeLog:

            PR libstdc++/115247
            * include/experimental/bits/simd.h (__as_vector): Don't use
            vector_size(8) on __i386__.
            (__vec_shuffle): Never return MMX vectors, widen to 16 bytes
            instead.
            (concat): Fix padding calculation to pick up widening logic from
            __as_vector.

    (cherry picked from commit 241a6cc88d866fb36bd35ddb3edb659453d6322e)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-06-10  5:58 ` cvs-commit at gcc dot gnu.org
@ 2024-06-11  9:51 ` cvs-commit at gcc dot gnu.org
  2024-06-20 12:44 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-11  9:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Matthias Kretz
<mkretz@gcc.gnu.org>:

https://gcc.gnu.org/g:0efc27068e59cac6bd80ff962e92618a037bbfe8

commit r13-8840-g0efc27068e59cac6bd80ff962e92618a037bbfe8
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed May 15 11:02:22 2024 +0200

    libstdc++: Avoid MMX return types from __builtin_shufflevector

    This resolves a regression on i686 that was introduced with
    r15-429-gfb1649f8b4ad50.

    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

    libstdc++-v3/ChangeLog:

            PR libstdc++/115247
            * include/experimental/bits/simd.h (__as_vector): Don't use
            vector_size(8) on __i386__.
            (__vec_shuffle): Never return MMX vectors, widen to 16 bytes
            instead.
            (concat): Fix padding calculation to pick up widening logic from
            __as_vector.

    (cherry picked from commit 241a6cc88d866fb36bd35ddb3edb659453d6322e)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libstdc++/115247] experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86
  2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-06-11  9:51 ` cvs-commit at gcc dot gnu.org
@ 2024-06-20 12:44 ` cvs-commit at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-20 12:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115247

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Matthias Kretz
<mkretz@gcc.gnu.org>:

https://gcc.gnu.org/g:f79b273d4145961133ef8b0344469e77425629f6

commit r12-10571-gf79b273d4145961133ef8b0344469e77425629f6
Author: Matthias Kretz <m.kretz@gsi.de>
Date:   Wed May 15 11:02:22 2024 +0200

    libstdc++: Avoid MMX return types from __builtin_shufflevector

    This resolves a regression on i686 that was introduced with
    r15-429-gfb1649f8b4ad50.

    Signed-off-by: Matthias Kretz <m.kretz@gsi.de>

    libstdc++-v3/ChangeLog:

            PR libstdc++/115247
            * include/experimental/bits/simd.h (__as_vector): Don't use
            vector_size(8) on __i386__.
            (__vec_shuffle): Never return MMX vectors, widen to 16 bytes
            instead.
            (concat): Fix padding calculation to pick up widening logic from
            __as_vector.

    (cherry picked from commit 241a6cc88d866fb36bd35ddb3edb659453d6322e)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-20 12:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-27  9:50 [Bug libstdc++/115247] New: experimental/simd/pr109261_constexpr_simd.cc FAILs on 32-bit x86 ro at gcc dot gnu.org
2024-05-27  9:50 ` [Bug libstdc++/115247] " ro at gcc dot gnu.org
2024-05-27 10:18 ` mkretz at gcc dot gnu.org
2024-05-29  7:05 ` cvs-commit at gcc dot gnu.org
2024-05-29  8:55 ` mkretz at gcc dot gnu.org
2024-06-10  5:58 ` cvs-commit at gcc dot gnu.org
2024-06-11  9:51 ` cvs-commit at gcc dot gnu.org
2024-06-20 12:44 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).