aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorLingling Kong <lingling.kong@intel.com>2024-06-03 10:38:43 +0800
committerLingling Kong <lingling.kong@intel.com>2024-06-03 14:27:07 +0800
commit2fb9363dc3596cd7fda90a8c816d7e27dd9e085b (patch)
treeb0a95da1604fc13707d4837ab3df1076354fef88 /gcc/tree-vect-loop.cc
parentbf7745f887c765e06f2e75508f263debb60aeb2e (diff)
downloadgcc-2fb9363dc3596cd7fda90a8c816d7e27dd9e085b.zip
gcc-2fb9363dc3596cd7fda90a8c816d7e27dd9e085b.tar.gz
gcc-2fb9363dc3596cd7fda90a8c816d7e27dd9e085b.tar.bz2
[APX NF] Support APX NF add
APX NF(no flags) feature implements suppresses the update of status flags for arithmetic operations. For NF add, it is not clear whether nf add can be faster than lea. If so, the pattern needs to be adjusted to perfer lea generation. gcc/ChangeLog: * config/i386/i386-opts.h (enum apx_features): Add nf enumeration. * config/i386/i386.h (TARGET_APX_NF): New. * config/i386/i386.md (nf_name): New subst_att. (nf_prefix): Ditto. (nf_condition): Ditto. (nf_mem_constraint): Ditto. (nf_applied): Ditto. (nf_subst): Add new define_subst. (*add<mode>_1<nf_name>): New define_insn. (*addhi_1<nf_name>): Ditto. (*addqi_1<nf_name>): Diito. * config/i386/i386.opt: Add apx_nf enumeration. gcc/testsuite/ChangeLog: * gcc.target/i386/apx-ndd.c: Fixed test. Co-authored-by: Hongyu Wong <hongyu.wang@intel.com>
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions