public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mkretz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114750] New: converting load/store of simd fails compilation on ARM Date: Wed, 17 Apr 2024 07:03:49 +0000 [thread overview] Message-ID: <bug-114750-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114750 Bug ID: 114750 Summary: converting load/store of simd fails compilation on ARM Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mkretz at gcc dot gnu.org Target Milestone: --- https://compiler-explorer.com/z/jh5YeqzEe Testcase: #include <experimental/simd> namespace stdx = std::experimental; void f(long double* ptr, double* dptr, float* fptr) { stdx::simd<int> x; //stdx::fixed_size_simd<int, 3> x; x.copy_from(ptr, stdx::element_aligned); x.copy_to(dptr, stdx::element_aligned); x.copy_from(dptr, stdx::element_aligned); x.copy_to(fptr, stdx::element_aligned); x.copy_from(fptr, stdx::element_aligned); x.copy_to(ptr, stdx::element_aligned); } This fails when using 'std::experimental::parallelism_v2::__intrinsic_type<long double, 16, void>' in the load and store implementations. The same failure can occur for '__intrinsic_type<double, 16, void>' and '__intrinsic_type<float, 16, void>'. A condition, checking whether the type is actually vectorizable for the target is missing.
next reply other threads:[~2024-04-17 7:03 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-17 7:03 mkretz at gcc dot gnu.org [this message] 2024-04-17 7:07 ` [Bug libstdc++/114750] " mkretz at gcc dot gnu.org 2024-04-17 8:34 ` cvs-commit at gcc dot gnu.org 2024-04-22 12:50 ` mkretz at gcc dot gnu.org 2024-05-07 7:45 ` rguenth at gcc dot gnu.org 2024-05-07 16:19 ` cvs-commit at gcc dot gnu.org 2024-05-08 16:14 ` cvs-commit at gcc dot gnu.org 2024-05-10 14:07 ` cvs-commit at gcc dot gnu.org 2024-05-10 14:25 ` mkretz at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-114750-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).