public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101492] New: -msse4 -mgeneral-regs-only doesn't work Date: Sat, 17 Jul 2021 21:48:00 +0000 [thread overview] Message-ID: <bug-101492-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101492 Bug ID: 101492 Summary: -msse4 -mgeneral-regs-only doesn't work Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386,x86-64 [hjl@gnu-cfl-2 i386]$ cat pr99744-9.c /* { dg-do compile } */ /* { dg-options "-O2 -msse4.2 -mgeneral-regs-only" } */ #include <x86intrin.h> unsigned int foo1 (unsigned int x, unsigned int y) { return __crc32d (x, y); } [hjl@gnu-cfl-2 i386]$ gcc -S -O2 pr99744-9.c -msse4 -mgeneral-regs-only -o /tmp/x.s In file included from /usr/lib/gcc/x86_64-redhat-linux/11/include/x86gprintrin.h:27, from /usr/lib/gcc/x86_64-redhat-linux/11/include/x86intrin.h:27, from pr99744-9.c:4: pr99744-9.c: In function ‘foo1’: /usr/lib/gcc/x86_64-redhat-linux/11/include/ia32intrin.h:77:1: error: inlining failed in call to ‘always_inline’ ‘__crc32d’: target specific option mismatch 77 | __crc32d (unsigned int __C, unsigned int __V) | ^~~~~~~~ pr99744-9.c:9:10: note: called from here 9 | return __crc32d (x, y); | ^~~~~~~~~~~~~~~ [hjl@gnu-cfl-2 i386]$
next reply other threads:[~2021-07-17 21:48 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-17 21:48 hjl.tools at gmail dot com [this message] 2021-07-18 19:38 ` [Bug target/101492] " cvs-commit at gcc dot gnu.org 2021-07-18 19:54 ` hjl.tools at gmail dot com 2021-08-25 12:58 ` cvs-commit at gcc dot gnu.org 2021-08-25 13:07 ` hjl.tools at gmail dot 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-101492-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).