public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/90129] Wrong error: inlining failed in call to always_inline ‘_mm256_adds_epi16’: target specific option mismatch
[not found] <bug-90129-4@http.gcc.gnu.org/bugzilla/>
@ 2020-09-03 16:45 ` thiago at kde dot org
0 siblings, 0 replies; only message in thread
From: thiago at kde dot org @ 2020-09-03 16:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90129
Thiago Macieira <thiago at kde dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thiago at kde dot org
--- Comment #3 from Thiago Macieira <thiago at kde dot org> ---
Another test:
$ cat test.c
#include <immintrin.h>
__attribute__((target("arch=haswell")))
int hsw_test32(float f)
{
__m128 m = _mm_set_ss(f);
m = _mm_cmpeq_ss(m, m);
return _mm_movemask_ps(m);
}
$ gcc -c test.c
In file included from
/usr/lib64/gcc/x86_64-suse-linux/10/include/immintrin.h:29,
from test.c:1:
test.c: In function ‘hsw_test32’:
/usr/lib64/gcc/x86_64-suse-linux/10/include/xmmintrin.h:814:1: error: inlining
failed in call to ‘always_inline’ ‘_mm_movemask_ps’: target specific option
mismatch
[...]
$ clang -c test.c && echo No error
No error
$ gcc -march=haswell -c test.c && echo No error
No error
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-03 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-90129-4@http.gcc.gnu.org/bugzilla/>
2020-09-03 16:45 ` [Bug target/90129] Wrong error: inlining failed in call to always_inline ‘_mm256_adds_epi16’: target specific option mismatch thiago at kde dot 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).