public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix vec_sel code generation and merge xxsel to vsel
@ 2021-09-17  5:25 Xionghu Luo
  2021-09-17  5:25 ` [PATCH v2 1/2] rs6000: Fix wrong code generation for vec_sel [PR94613] Xionghu Luo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Xionghu Luo @ 2021-09-17  5:25 UTC (permalink / raw)
  To: gcc-patches; +Cc: segher, dje.gcc, wschmidt, guojiufu, linkw, Xionghu Luo

These two patches are updated version from:
https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html

Changes:
1. Fix alignment error in md files.
2. Replace rtx_equal_p with match_dup.
3. Use register_operand instead of gpc_reg_operand to align with
   vperm/xxperm.
4. Regression tested pass on P8LE.

Xionghu Luo (2):
  rs6000: Fix wrong code generation for vec_sel [PR94613]
  rs6000: Fold xxsel to vsel since they have same semantics

 gcc/config/rs6000/altivec.md                  | 84 ++++++++++++++-----
 gcc/config/rs6000/rs6000-call.c               | 62 ++++++++++++++
 gcc/config/rs6000/rs6000.c                    | 19 ++---
 gcc/config/rs6000/vector.md                   | 26 +++---
 gcc/config/rs6000/vsx.md                      | 25 ------
 gcc/testsuite/gcc.target/powerpc/builtins-1.c |  2 +-
 gcc/testsuite/gcc.target/powerpc/pr94613.c    | 47 +++++++++++
 7 files changed, 193 insertions(+), 72 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-27 13:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17  5:25 [PATCH v2 0/2] Fix vec_sel code generation and merge xxsel to vsel Xionghu Luo
2021-09-17  5:25 ` [PATCH v2 1/2] rs6000: Fix wrong code generation for vec_sel [PR94613] Xionghu Luo
2021-09-17  5:25 ` [PATCH v2 2/2] rs6000: Fold xxsel to vsel since they have same semantics Xionghu Luo
2021-10-08  1:17 ` Ping: [PATCH v2 0/2] Fix vec_sel code generation and merge xxsel to vsel Xionghu Luo
2021-10-15  6:28   ` Ping^2: " Xionghu Luo
2021-10-22  3:25     ` Ping^3: " Xionghu Luo
2021-10-27 13:17       ` David Edelsohn

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).