public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mhillen at linux dot ibm.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/101876] [290x] vector builtin vec_permi fails to resolve with #pragma GCC target Date: Thu, 12 Aug 2021 10:30:03 +0000 [thread overview] Message-ID: <bug-101876-4-N5VmNIuAOQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101876-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101876 --- Comment #1 from Marius Hillenbrand <mhillen at linux dot ibm.com> --- Comparing results with -mdebug, the variant that should match is ignored with -march=z13: ... s390_resolve_overloaded_builtin, code = 606, __builtin_s390_vec_permi - overloaded checking variant number: 187 mismatch in operand: 1 incoming: v2di expected: vector(2) long long int checking variant number: 188 mismatch in operand: 1 incoming: v2di expected: vector(2) long long unsigned int checking variant number: 189 perfect match score: 0 ... with -march=zEC12: ... s390_resolve_overloaded_builtin, code = 606, __builtin_s390_vec_permi - overloaded checking variant number: 187 mismatch in operand: 1 incoming: v2di expected: vector(2) long long int checking variant number: 188 mismatch in operand: 1 incoming: v2di expected: vector(2) long long unsigned int checking variant number: 189 mismatch in operand: 1 incoming: v2di expected: vector(2) long long unsigned int checking variant number: 190 mismatch in operand: 1 incoming: v2di expected: vector(2) double In file included from tests/target-pragma-vector-builtins.c:13: tests/target-pragma-vector-builtins.c: In function 'foo': tests/target-pragma-vector-builtins.c:23:9: error: invalid parameter combination for intrinsic '__builtin_s390_vec_permi' 23 | v = vec_permi(v, v, 0); | ^~~~~~~~~ ...
next prev parent reply other threads:[~2021-08-12 10:30 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-12 10:28 [Bug middle-end/101876] New: " mhillen at linux dot ibm.com 2021-08-12 10:30 ` mhillen at linux dot ibm.com [this message] 2021-08-18 14:07 ` [Bug target/101876] [s390x] " mhillen at linux dot ibm.com 2021-08-20 15:21 ` mhillen at linux dot ibm.com 2021-08-20 15:22 ` mhillen at linux dot ibm.com 2021-09-27 12:25 ` mhillen at linux dot ibm.com
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-101876-4-N5VmNIuAOQ@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).