diff options
author | Kong Lingling <lingling.kong@intel.com> | 2023-02-02 10:37:32 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2023-12-07 09:31:13 +0800 |
commit | c601744469390f5c66075de1cead46ed0d5c7a5d (patch) | |
tree | 7e25a331b47a005de3fb8edda981263511d32cc2 /gcc/expr.cc | |
parent | 592dc08e0509bab1dc786db1699f197e5f0fdcea (diff) | |
download | gcc-c601744469390f5c66075de1cead46ed0d5c7a5d.zip gcc-c601744469390f5c66075de1cead46ed0d5c7a5d.tar.gz gcc-c601744469390f5c66075de1cead46ed0d5c7a5d.tar.bz2 |
[APX NDD] Support APX NDD for sub insns
gcc/ChangeLog:
* config/i386/i386-expand.cc (ix86_fixup_binary_operands_no_copy):
Add use_ndd parameter and parse it.
* config/i386/i386-protos.h (ix86_fixup_binary_operands_no_copy):
Change define.
* config/i386/i386.md (sub<mode>3): Add new alternatives for NDD
and adjust output templates.
(*sub<mode>_1): Likewise.
(*sub<mode>_2): Likewise.
(subv<mode>4): Likewise.
(*subv<mode>4): Likewise.
(subv<mode>4_1): Likewise.
(usubv<mode>4): Likewise.
(*sub<mode>_3): Likewise.
(*subsi_1_zext): Likewise, and use nonimmediate_operand for operands[1]
to accept memory input for NDD alternatives.
(*subsi_2_zext): Likewise.
(*subsi_3_zext): Likewise.
gcc/testsuite/ChangeLog:
* gcc.target/i386/apx-ndd.c: Add test for ndd sub.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions