public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] Support Intel APX NDD
@ 2023-12-06  8:06 Hongyu Wang
  2023-12-06  8:06 ` [PATCH 01/16] [APX NDD] Support Intel APX NDD for legacy add insn Hongyu Wang
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Hongyu Wang @ 2023-12-06  8:06 UTC (permalink / raw)
  To: gcc-patches; +Cc: ubizjak, hongtao.liu

Hi,

Following up the discussion of V2 patches in
https://gcc.gnu.org/pipermail/gcc-patches/2023-December/639368.html,
this patch series add early clobber for all TImode NDD alternatives
to avoid any potential overlapping between dest register and src
register/memory. Also use get_attr_isa (insn) == ISA_APX_NDD instead of
checking alternative at asm output stage.

Bootstrapped & regtested on x86_64-pc-linux-gnu{-m32,} and sde.

Ok for master?

Hongyu Wang (7):
  [APX NDD] Disable seg_prefixed memory usage for NDD add
  [APX NDD] Support APX NDD for left shift insns
  [APX NDD] Support APX NDD for right shift insns
  [APX NDD] Support APX NDD for rotate insns
  [APX NDD] Support APX NDD for shld/shrd insns
  [APX NDD] Support APX NDD for cmove insns
  [APX NDD] Support TImode shift for NDD

Kong Lingling (9):
  [APX NDD] Support Intel APX NDD for legacy add insn
  [APX NDD] Support APX NDD for optimization patterns of add
  [APX NDD] Support APX NDD for adc insns
  [APX NDD] Support APX NDD for sub insns
  [APX NDD] Support APX NDD for sbb insn
  [APX NDD] Support APX NDD for neg insn
  [APX NDD] Support APX NDD for not insn
  [APX NDD] Support APX NDD for and insn
  [APX NDD] Support APX NDD for or/xor insn

 gcc/config/i386/constraints.md                |    5 +
 gcc/config/i386/i386-expand.cc                |  164 +-
 gcc/config/i386/i386-options.cc               |    2 +
 gcc/config/i386/i386-protos.h                 |   16 +-
 gcc/config/i386/i386.cc                       |   30 +-
 gcc/config/i386/i386.md                       | 2325 +++++++++++------
 gcc/testsuite/gcc.target/i386/apx-ndd-adc.c   |   15 +
 gcc/testsuite/gcc.target/i386/apx-ndd-cmov.c  |   16 +
 gcc/testsuite/gcc.target/i386/apx-ndd-sbb.c   |    6 +
 .../gcc.target/i386/apx-ndd-shld-shrd.c       |   24 +
 .../gcc.target/i386/apx-ndd-ti-shift.c        |   91 +
 gcc/testsuite/gcc.target/i386/apx-ndd.c       |  202 ++
 12 files changed, 2141 insertions(+), 755 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd-adc.c
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd-cmov.c
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd-sbb.c
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd-shld-shrd.c
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd-ti-shift.c
 create mode 100644 gcc/testsuite/gcc.target/i386/apx-ndd.c

-- 
2.31.1


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

end of thread, other threads:[~2023-12-07  0:54 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06  8:06 [PATCH v3 00/16] Support Intel APX NDD Hongyu Wang
2023-12-06  8:06 ` [PATCH 01/16] [APX NDD] Support Intel APX NDD for legacy add insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 02/16] [APX NDD] Support APX NDD for optimization patterns of add Hongyu Wang
2023-12-06  8:06 ` [PATCH 03/16] [APX NDD] Disable seg_prefixed memory usage for NDD add Hongyu Wang
2023-12-06  8:06 ` [PATCH 04/16] [APX NDD] Support APX NDD for adc insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 05/16] [APX NDD] Support APX NDD for sub insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 06/16] [APX NDD] Support APX NDD for sbb insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 07/16] [APX NDD] Support APX NDD for neg insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 08/16] [APX NDD] Support APX NDD for not insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 09/16] [APX NDD] Support APX NDD for and insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 10/16] [APX NDD] Support APX NDD for or/xor insn Hongyu Wang
2023-12-06  8:06 ` [PATCH 11/16] [APX NDD] Support APX NDD for left shift insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 12/16] [APX NDD] Support APX NDD for right " Hongyu Wang
2023-12-06  8:06 ` [PATCH 13/16] [APX NDD] Support APX NDD for rotate insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 14/16] [APX NDD] Support APX NDD for shld/shrd insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 15/16] [APX NDD] Support APX NDD for cmove insns Hongyu Wang
2023-12-06  8:06 ` [PATCH 16/16] [APX NDD] Support TImode shift for NDD Hongyu Wang
2023-12-06 12:11 ` [PATCH v3 00/16] Support Intel APX NDD Uros Bizjak
2023-12-07  0:54   ` Hongtao Liu

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