public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/115556] New: error: this operation requires the SVE ISA extension
@ 2024-06-20 12:45 malat at debian dot org
2024-06-20 12:47 ` [Bug target/115556] " malat at debian dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: malat at debian dot org @ 2024-06-20 12:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
Bug ID: 115556
Summary: error: this operation requires the SVE ISA extension
Product: gcc
Version: 13.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: malat at debian dot org
Target Milestone: ---
highway source code fails to compile on aarch64/gcc-13 and -O3. Error is:
> this operation requires the SVE ISA extension
Reproduced under godbold
https://gcc.godbolt.org/z/vrzs8zc87
Running cvise ATM to remove hwy deps
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
@ 2024-06-20 12:47 ` malat at debian dot org
2024-06-20 13:24 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: malat at debian dot org @ 2024-06-20 12:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
--- Comment #1 from Mathieu Malaterre <malat at debian dot org> ---
Debian build:
*
https://buildd.debian.org/status/fetch.php?pkg=highway&arch=arm64&ver=1.2.1%7Egit20240610.f384204-2&stamp=1718119953&raw=0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
2024-06-20 12:47 ` [Bug target/115556] " malat at debian dot org
@ 2024-06-20 13:24 ` rguenth at gcc dot gnu.org
2024-06-20 13:34 ` malat at debian dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-20 13:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Same with 14.1.0 - how's this a GCC bug and not a highway bug (google likely
only tests llvm)?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
2024-06-20 12:47 ` [Bug target/115556] " malat at debian dot org
2024-06-20 13:24 ` rguenth at gcc dot gnu.org
@ 2024-06-20 13:34 ` malat at debian dot org
2024-06-20 14:55 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: malat at debian dot org @ 2024-06-20 13:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
--- Comment #3 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Richard Biener from comment #2)
> Same with 14.1.0 - how's this a GCC bug and not a highway bug (google likely
> only tests llvm)?
This was indicated upstream:
* https://github.com/google/highway/issues/2250#issuecomment-2180487337
GCC 12.3 seems to happily compiles it, I assumed so. Anyway cvise reduction
still running. We shall see soon.
Thanks
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
` (2 preceding siblings ...)
2024-06-20 13:34 ` malat at debian dot org
@ 2024-06-20 14:55 ` pinskia at gcc dot gnu.org
2024-06-20 15:06 ` pinskia at gcc dot gnu.org
2024-06-20 15:07 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-20 14:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The trunk error message might be better:
```
In file included from
/opt/compiler-explorer/libs/highway/trunk/hwy/highway.h:588,
from
/opt/compiler-explorer/libs/highway/trunk/hwy/contrib/math/math-inl.h:28,
from ./example.cpp:5,
from
/opt/compiler-explorer/libs/highway/trunk/hwy/foreach_target.h:163,
from <source>:4:
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h: In function
'hwy::N_NEON::Vec128<unsigned char, 16>
hwy::N_NEON::detail::BitCastToByte(hwy::N_NEON::Vec128<unsigned int, 4>)':
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:829:23: error:
inlining failed in call to 'always_inline' 'hwy::N_NEON::Vec128<T,
N>::Vec128(Raw) [with T = unsigned char; long unsigned int N = 16]': target
specific option mismatch
829 | HWY_INLINE explicit Vec128(const Raw raw) : raw(raw) {}
| ^~~~~~
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:83:72: note:
called from here
83 | HWY_NEON_EVAL(prefix##infix##suffix,
HWY_NEON_BUILD_ARG_##args)); \
|
^
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:124:3: note:
in expansion of macro 'HWY_NEON_DEF_FUNCTION'
124 | HWY_NEON_DEF_FUNCTION(uint32, 4, name, prefix##q, infix, u32, args) \
| ^~~~~~~~~~~~~~~~~~~~~
/opt/compiler-explorer/libs/highway/trunk/hwy/ops/arm_neon-inl.h:1421:1: note:
in expansion of macro 'HWY_NEON_DEF_FUNCTION_UINT_32'
1421 | HWY_NEON_DEF_FUNCTION_UINT_32(BitCastToByte, vreinterpret, _u8_,
HWY_CAST_TO_U8)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
` (3 preceding siblings ...)
2024-06-20 14:55 ` pinskia at gcc dot gnu.org
@ 2024-06-20 15:06 ` pinskia at gcc dot gnu.org
2024-06-20 15:07 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-20 15:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |109753
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The GCC 13/14 issue is really PR 109753.
The trunk issue is most likely related to PR 115403 .
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753
[Bug 109753] [13/14 Regression] pragma GCC target causes std::vector not to
compile (always_inline on constructor)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/115556] error: this operation requires the SVE ISA extension
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
` (4 preceding siblings ...)
2024-06-20 15:06 ` pinskia at gcc dot gnu.org
@ 2024-06-20 15:07 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-20 15:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=115403
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes this is a dup of bug 109753.
The trunk issue is PR 115403 .
*** This bug has been marked as a duplicate of bug 109753 ***
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-20 15:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-20 12:45 [Bug target/115556] New: error: this operation requires the SVE ISA extension malat at debian dot org
2024-06-20 12:47 ` [Bug target/115556] " malat at debian dot org
2024-06-20 13:24 ` rguenth at gcc dot gnu.org
2024-06-20 13:34 ` malat at debian dot org
2024-06-20 14:55 ` pinskia at gcc dot gnu.org
2024-06-20 15:06 ` pinskia at gcc dot gnu.org
2024-06-20 15:07 ` 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).