public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h
@ 2021-06-02 7:54 jens.seifert at de dot ibm.com
2021-06-17 9:14 ` [Bug target/100871] " cvs-commit at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jens.seifert at de dot ibm.com @ 2021-06-02 7:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871
Bug ID: 100871
Summary: z14: vec_doublee maps to wrong builtin in vecintrin.h
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jens.seifert at de dot ibm.com
Target Milestone: ---
#include <vecintrin.h>
Input:
vector double doublee(vector float a)
{
return vec_doublee(a);
}
cause compile error:
vec.C: In function ‘__vector(2) double doublee(__vector(4) float)’:
vec.C:43:10: error: ‘__builtin_s390_vfll’ was not declared in this scope; did
you mean ‘__builtin_s390_vflls’?
43 | return vec_doublee(a);
| ^~~~~~~~~~~~~~~~
| __builtin_s390_vflls
vec_doublee in vec_intrin.h should call __builtin_s390_vflls
vector double doublee_fix(vector float a)
{
return __builtin_s390_vflls(a);
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h
2021-06-02 7:54 [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h jens.seifert at de dot ibm.com
@ 2021-06-17 9:14 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:21 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-17 9:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marius Hillenbrand <mhillen@gcc.gnu.org>:
https://gcc.gnu.org/g:a4fc63e0c3c6c7b895225c883137d152743be7fc
commit r12-1559-ga4fc63e0c3c6c7b895225c883137d152743be7fc
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date: Wed Jun 16 18:26:48 2021 +0200
IBM Z: Fix vector intrinsics vec_double and vec_floate
Fix the mapping of vec_double and vec_floate to builtins.
gcc/ChangeLog:
PR target/100871
* config/s390/vecintrin.h (vec_doublee): Fix to use
__builtin_s390_vflls.
(vec_floate): Fix to use __builtin_s390_vflrd.
gcc/testsuite/ChangeLog:
* gcc.target/s390/zvector/vec-doublee.c: New test.
* gcc.target/s390/zvector/vec-floate.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h
2021-06-02 7:54 [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h jens.seifert at de dot ibm.com
2021-06-17 9:14 ` [Bug target/100871] " cvs-commit at gcc dot gnu.org
@ 2021-06-17 9:21 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:26 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:27 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-17 9:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Marius Hillenbrand
<mhillen@gcc.gnu.org>:
https://gcc.gnu.org/g:e86ad5ad011573121291bccb88d3a6fdb933469c
commit r11-8597-ge86ad5ad011573121291bccb88d3a6fdb933469c
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date: Wed Jun 16 18:26:48 2021 +0200
IBM Z: Fix vector intrinsics vec_double and vec_floate
Fix the mapping of vec_double and vec_floate to builtins.
gcc/ChangeLog:
PR target/100871
* config/s390/vecintrin.h (vec_doublee): Fix to use
__builtin_s390_vflls.
(vec_floate): Fix to use __builtin_s390_vflrd.
gcc/testsuite/ChangeLog:
* gcc.target/s390/zvector/vec-doublee.c: New test.
* gcc.target/s390/zvector/vec-floate.c: New test.
(cherry picked from commit a4fc63e0c3c6c7b895225c883137d152743be7fc)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h
2021-06-02 7:54 [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h jens.seifert at de dot ibm.com
2021-06-17 9:14 ` [Bug target/100871] " cvs-commit at gcc dot gnu.org
2021-06-17 9:21 ` cvs-commit at gcc dot gnu.org
@ 2021-06-17 9:26 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:27 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-17 9:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Marius Hillenbrand
<mhillen@gcc.gnu.org>:
https://gcc.gnu.org/g:66d838e249814dbe731ee8d983d63dedfa4ecffa
commit r10-9927-g66d838e249814dbe731ee8d983d63dedfa4ecffa
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date: Wed Jun 16 18:26:48 2021 +0200
IBM Z: Fix vector intrinsics vec_double and vec_floate
Fix the mapping of vec_double and vec_floate to builtins.
gcc/ChangeLog:
PR target/100871
* config/s390/vecintrin.h (vec_doublee): Fix to use
__builtin_s390_vflls.
(vec_floate): Fix to use __builtin_s390_vflrd.
(cherry picked from commit a4fc63e0c3c6c7b895225c883137d152743be7fc)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/100871] z14: vec_doublee maps to wrong builtin in vecintrin.h
2021-06-02 7:54 [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h jens.seifert at de dot ibm.com
` (2 preceding siblings ...)
2021-06-17 9:26 ` cvs-commit at gcc dot gnu.org
@ 2021-06-17 9:27 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-17 9:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100871
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Marius Hillenbrand
<mhillen@gcc.gnu.org>:
https://gcc.gnu.org/g:de0fcacd568bbd86726df7a5416edd08a525c93a
commit r9-9587-gde0fcacd568bbd86726df7a5416edd08a525c93a
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date: Wed Jun 16 18:26:48 2021 +0200
IBM Z: Fix vector intrinsics vec_double and vec_floate
Fix the mapping of vec_double and vec_floate to builtins.
gcc/ChangeLog:
PR target/100871
* config/s390/vecintrin.h (vec_doublee): Fix to use
__builtin_s390_vflls.
(vec_floate): Fix to use __builtin_s390_vflrd.
(cherry picked from commit a4fc63e0c3c6c7b895225c883137d152743be7fc)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-06-17 9:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 7:54 [Bug target/100871] New: z14: vec_doublee maps to wrong builtin in vecintrin.h jens.seifert at de dot ibm.com
2021-06-17 9:14 ` [Bug target/100871] " cvs-commit at gcc dot gnu.org
2021-06-17 9:21 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:26 ` cvs-commit at gcc dot gnu.org
2021-06-17 9:27 ` 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).