public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/112323] New: aarch64: Missed operator support on ARM SVE intrinsic type
@ 2023-11-01 0:33 juzhe.zhong at rivai dot ai
2023-11-01 1:23 ` [Bug target/112323] aarch64: C-operator support with " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: juzhe.zhong at rivai dot ai @ 2023-11-01 0:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112323
Bug ID: 112323
Summary: aarch64: Missed operator support on ARM SVE intrinsic
type
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: juzhe.zhong at rivai dot ai
Target Milestone: ---
Consider this following case:
#include "arm_sve.h"
svint8_t foo (svint8_t a, svint8_t b)
{
return a + b;
}
https://godbolt.org/z/nMMxWcE4E
Clang is able to recognize "+" of svint8_t wheras GCC is not.
Any plan to support operator on ARM SVE type?
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/112323] aarch64: C-operator support with ARM SVE intrinsic type
2023-11-01 0:33 [Bug c/112323] New: aarch64: Missed operator support on ARM SVE intrinsic type juzhe.zhong at rivai dot ai
@ 2023-11-01 1:23 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-01 1:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112323
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/pipermail/gcc-patches/2019-November/533558.html
So the answer is no as far as I can tell. In fact:
(5) It makes it easier to ensure that (with default options) code is
portable between compilers without the GNU vector extensions having
to become an official part of the SVE intrinsics spec.
Is one of the big reasons.
Though (1) might be even better reason.
It is a bit odd that clang decided to go and implement it but this was a
conscious decision to reject it and gave reasons why.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-01 1:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 0:33 [Bug c/112323] New: aarch64: Missed operator support on ARM SVE intrinsic type juzhe.zhong at rivai dot ai
2023-11-01 1:23 ` [Bug target/112323] aarch64: C-operator support with " pinskia 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).