public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111584] New: [aarch64] Redundant movprfx with ptrue
@ 2023-09-25 7:37 zhongyunde at huawei dot com
2023-09-25 7:49 ` [Bug target/111584] " pinskia at gcc dot gnu.org
2023-11-27 14:51 ` rsandifo at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: zhongyunde at huawei dot com @ 2023-09-25 7:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111584
Bug ID: 111584
Summary: [aarch64] Redundant movprfx with ptrue
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zhongyunde at huawei dot com
Target Milestone: ---
* test: https://gcc.godbolt.org/z/E6Eez81jh
```
#include<arm_sve.h>
typedef svfloat32_t fvec32 __attribute__((arm_sve_vector_bits(256)));
typedef svfloat32_t __m256_;
__m256_ _mm256_mul_ps2_z(__m256_ a, __m256_ b)
{
__m256_ res;
res = svmul_f32_z(svptrue_b32(), a, b);
return res;
}
```
* llvm have same output for _mm256_mul_ps2_x and _mm256_mul_ps2_z, while gcc
doesn't has high efficient output for _mm256_mul_ps2_z
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/111584] [aarch64] Redundant movprfx with ptrue
2023-09-25 7:37 [Bug c/111584] New: [aarch64] Redundant movprfx with ptrue zhongyunde at huawei dot com
@ 2023-09-25 7:49 ` pinskia at gcc dot gnu.org
2023-11-27 14:51 ` rsandifo at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-25 7:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111584
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 55986
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55986&action=edit
Full testcase
`-march=armv8.2-a+sve -O2 -msve-vector-bits=256`
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/111584] [aarch64] Redundant movprfx with ptrue
2023-09-25 7:37 [Bug c/111584] New: [aarch64] Redundant movprfx with ptrue zhongyunde at huawei dot com
2023-09-25 7:49 ` [Bug target/111584] " pinskia at gcc dot gnu.org
@ 2023-11-27 14:51 ` rsandifo at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2023-11-27 14:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111584
Richard Sandiford <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
CC| |rsandifo at gcc dot gnu.org
--- Comment #2 from Richard Sandiford <rsandifo at gcc dot gnu.org> ---
Fixed by the patch for PR106326.
*** This bug has been marked as a duplicate of bug 106326 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-27 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-25 7:37 [Bug c/111584] New: [aarch64] Redundant movprfx with ptrue zhongyunde at huawei dot com
2023-09-25 7:49 ` [Bug target/111584] " pinskia at gcc dot gnu.org
2023-11-27 14:51 ` rsandifo 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).