public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/100572] New: arm: Assemble failures with MVE vcreateq intrinsic @ 2021-05-12 19:51 acoplan at gcc dot gnu.org 2021-05-12 19:52 ` [Bug target/100572] " acoplan at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: acoplan at gcc dot gnu.org @ 2021-05-12 19:51 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100572 Bug ID: 100572 Summary: arm: Assemble failures with MVE vcreateq intrinsic Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- GCC's output fails to assemble for the following: $ cat test.c #include <arm_mve.h> uint64x2_t v; void f(void) { v = vcreateq_u64(0, 0); } $ ./arm-eabi-gcc -c test.c -march=armv8.1-m.main+mve -mfloat-abi=hard -O /tmp/ccXeZkHP.s: Assembler messages: /tmp/ccXeZkHP.s:31: Error: General purpose registers may not be the same -- `vmov q3[2],q3[0],r2,r2' /tmp/ccXeZkHP.s:32: Error: General purpose registers may not be the same -- `vmov q3[3],q3[1],r3,r3' The code generated for f here is: f: movs r2, #0 movs r3, #0 vmov q3[2], q3[0], r2, r2 vmov q3[3], q3[1], r3, r3 ldr r3, .L2 vstrw.32 q3, [r3] bx lr The problem also occurs for other types when used with vcreateq, e.g. for: #include <arm_mve.h> uint32x4_t v; void f(void) { v = vcreateq_u32(0, 0); } Here is a preprocessed testcase (not for the testsuite, but for testing with a cc1): __simd128_uint64_t v; void f(void) { v = __builtin_mve_vcreateq_uv2di(0, 0); } ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/100572] arm: Assemble failures with MVE vcreateq intrinsic 2021-05-12 19:51 [Bug target/100572] New: arm: Assemble failures with MVE vcreateq intrinsic acoplan at gcc dot gnu.org @ 2021-05-12 19:52 ` acoplan at gcc dot gnu.org 2021-05-13 9:16 ` acoplan at gcc dot gnu.org 2021-05-13 10:03 ` acoplan at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: acoplan at gcc dot gnu.org @ 2021-05-12 19:52 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100572 Alex Coplan <acoplan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |arm Keywords| |assemble-failure Known to fail| |10.3.0, 11.1.0, 12.0 Target Milestone|--- |10.4 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/100572] arm: Assemble failures with MVE vcreateq intrinsic 2021-05-12 19:51 [Bug target/100572] New: arm: Assemble failures with MVE vcreateq intrinsic acoplan at gcc dot gnu.org 2021-05-12 19:52 ` [Bug target/100572] " acoplan at gcc dot gnu.org @ 2021-05-13 9:16 ` acoplan at gcc dot gnu.org 2021-05-13 10:03 ` acoplan at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: acoplan at gcc dot gnu.org @ 2021-05-13 9:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100572 --- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> --- Hmm, it looks like binutils might be wrong here. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/100572] arm: Assemble failures with MVE vcreateq intrinsic 2021-05-12 19:51 [Bug target/100572] New: arm: Assemble failures with MVE vcreateq intrinsic acoplan at gcc dot gnu.org 2021-05-12 19:52 ` [Bug target/100572] " acoplan at gcc dot gnu.org 2021-05-13 9:16 ` acoplan at gcc dot gnu.org @ 2021-05-13 10:03 ` acoplan at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: acoplan at gcc dot gnu.org @ 2021-05-13 10:03 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100572 Alex Coplan <acoplan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Alex Coplan <acoplan at gcc dot gnu.org> --- Closing as this is not a GCC bug, it's a GAS bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-13 10:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-05-12 19:51 [Bug target/100572] New: arm: Assemble failures with MVE vcreateq intrinsic acoplan at gcc dot gnu.org 2021-05-12 19:52 ` [Bug target/100572] " acoplan at gcc dot gnu.org 2021-05-13 9:16 ` acoplan at gcc dot gnu.org 2021-05-13 10:03 ` acoplan 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).