public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC.
@ 2020-08-18 16:55 sripar01 at gcc dot gnu.org
2020-08-18 17:03 ` [Bug c/96683] " sripar01 at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2020-08-18 16:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96683
Bug ID: 96683
Summary: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not
supported by GCC.
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sripar01 at gcc dot gnu.org
Target Milestone: ---
Target: arm
Created attachment 49076
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49076&action=edit
test case
$ arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/work/gnu-work/Release/build-arm-none-eabi/install/libexec/gcc/arm-none-eabi/10.2.1/lto-wrapper
Target: arm-none-eabi
Configured with: /work/gnu-work/Release/src/gcc/configure
--target=arm-none-eabi
--prefix=/work/gnu-work/Release/build-arm-none-eabi/install//
--with-gmp=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-mpfr=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-mpc=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-isl=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=yes --enable-languages=c,c++,fortran --with-newlib
--with-multilib-list=rmprofile --with-pkgversion=unknown : (reconfigured)
/work/gnu-work/Release/src/gcc/configure --target=arm-none-eabi
--prefix=/work/gnu-work/Release/build-arm-none-eabi/install//
--with-gmp=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-mpfr=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-mpc=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--with-isl=/work/gnu-work/Release/build-arm-none-eabi/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=yes --with-newlib --with-multilib-list=rmprofile
--with-pkgversion=unknown target_alias=arm-none-eabi CFLAGS='-O0 -g3'
CXXFLAGS='-O0 -g3' --enable-languages=c,c++,fortran,lto --no-create
--no-recursion
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.1 20200803 (unknown)
$ arm-none-eabi-gcc bug.c -mfloat-abi=hard -march=armv8.1-m.main+mve.fp -O3
bug.c: In function 'foo':
bug.c:9358:3: error: this builtin is not supported for this target
9358 | __builtin_mve_vst1q_sv8hi ((__builtin_neon_hi *) __addr, __value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc for arm-none-eabi target fails to compile MVE ACLE intrinsics
vst1q(_s8|_s16|_u8|_u16).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/96683] Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC.
2020-08-18 16:55 [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC sripar01 at gcc dot gnu.org
@ 2020-08-18 17:03 ` sripar01 at gcc dot gnu.org
2020-08-20 15:27 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2020-08-18 17:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96683
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-08-18
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/96683] Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC.
2020-08-18 16:55 [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC sripar01 at gcc dot gnu.org
2020-08-18 17:03 ` [Bug c/96683] " sripar01 at gcc dot gnu.org
@ 2020-08-20 15:27 ` cvs-commit at gcc dot gnu.org
2020-09-25 8:38 ` [Bug target/96683] " cvs-commit at gcc dot gnu.org
2020-10-19 12:22 ` sripar01 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-08-20 15:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96683
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Joe Ramsay <joeramsay@gcc.gnu.org>:
https://gcc.gnu.org/g:91d206adfe39ce063f6a5731b92a03c05e82e94a
commit r11-2782-g91d206adfe39ce063f6a5731b92a03c05e82e94a
Author: Joe Ramsay <Joe.Ramsay@arm.com>
Date: Wed Aug 19 12:34:06 2020 +0000
arm: Require MVE memory operand for destination of vst1q intrinsic
Previously, the machine description patterns for vst1q accepted a generic
memory
operand for the destination, which could lead to an unrecognised builtin
when
expanding vst1q* intrinsics. This change fixes the pattern to only accept
MVE
memory operands.
gcc/ChangeLog:
PR target/96683
* config/arm/mve.md (mve_vst1q_f<mode>): Require MVE memory operand
for
destination.
(mve_vst1q_<supf><mode>): Likewise.
gcc/testsuite/ChangeLog:
PR target/96683
* gcc.target/arm/mve/intrinsics/vst1q_f16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_s16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_s8.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_u16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_u8.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96683] Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC.
2020-08-18 16:55 [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC sripar01 at gcc dot gnu.org
2020-08-18 17:03 ` [Bug c/96683] " sripar01 at gcc dot gnu.org
2020-08-20 15:27 ` cvs-commit at gcc dot gnu.org
@ 2020-09-25 8:38 ` cvs-commit at gcc dot gnu.org
2020-10-19 12:22 ` sripar01 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-25 8:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96683
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:dc0743773bef43cd3e4a8b986befa5bfebcd70f3
commit r10-8798-gdc0743773bef43cd3e4a8b986befa5bfebcd70f3
Author: Joe Ramsay <Joe.Ramsay@arm.com>
Date: Wed Aug 19 12:34:06 2020 +0000
arm: Require MVE memory operand for destination of vst1q intrinsic
Previously, the machine description patterns for vst1q accepted a generic
memory
operand for the destination, which could lead to an unrecognised builtin
when
expanding vst1q* intrinsics. This change fixes the pattern to only accept
MVE
memory operands.
gcc/ChangeLog:
PR target/96683
* config/arm/mve.md (mve_vst1q_f<mode>): Require MVE memory operand
for
destination.
(mve_vst1q_<supf><mode>): Likewise.
gcc/testsuite/ChangeLog:
PR target/96683
* gcc.target/arm/mve/intrinsics/vst1q_f16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_s16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_s8.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_u16.c: New test.
* gcc.target/arm/mve/intrinsics/vst1q_u8.c: New test.
(cherry picked from commit 91d206adfe39ce063f6a5731b92a03c05e82e94a)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/96683] Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC.
2020-08-18 16:55 [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC sripar01 at gcc dot gnu.org
` (2 preceding siblings ...)
2020-09-25 8:38 ` [Bug target/96683] " cvs-commit at gcc dot gnu.org
@ 2020-10-19 12:22 ` sripar01 at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2020-10-19 12:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96683
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> ---
Pushed patch to trunk and gcc-10 branch.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-19 12:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 16:55 [Bug c/96683] New: Arm: MVE ACLE intrinsics vst1q_{s8|u8|s16|u16} is not supported by GCC sripar01 at gcc dot gnu.org
2020-08-18 17:03 ` [Bug c/96683] " sripar01 at gcc dot gnu.org
2020-08-20 15:27 ` cvs-commit at gcc dot gnu.org
2020-09-25 8:38 ` [Bug target/96683] " cvs-commit at gcc dot gnu.org
2020-10-19 12:22 ` sripar01 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).