diff options
author | Kong Lingling <lingling.kong@intel.com> | 2023-03-23 14:21:33 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2023-10-07 16:34:30 +0800 |
commit | 835951d4ccf716f98329af174135f02c984488fa (patch) | |
tree | f74cd5b9cee042b2e79f1d591774d0e2504922d6 /gcc/graphite-optimize-isl.cc | |
parent | c9d504003a5ada3244eaecc1c258397bae9e221c (diff) | |
download | gcc-835951d4ccf716f98329af174135f02c984488fa.zip gcc-835951d4ccf716f98329af174135f02c984488fa.tar.gz gcc-835951d4ccf716f98329af174135f02c984488fa.tar.bz2 |
[APX EGPR] Add register and memory constraints that disallow EGPR
For APX, as we extended the GENERAL_REG_CLASS, new constraints are
needed to restrict insns that cannot adopt EGPR either in its reg or
memory operands. We added a series of constraints for general/backend
ones that related to GPR usage. All of them are prefixed with "j" to
indicate the constraints does not allow EGPR.
gcc/ChangeLog:
* config/i386/constraints.md (jr): New register constraint
that prohibits EGPR.
(jR): Constraint that force usage of EGPR.
(jm): New memory constraint that prohibits EGPR.
(ja): Likewise for Bm constraint.
(jb): Likewise for Tv constraint.
(j<): New auto-dec memory constraint that prohibits EGPR.
(j>): Likewise for ">" constraint.
(jo): Likewise for "o" constraint.
(jv): Likewise for "V" constraint.
(jp): Likewise for "p" constraint.
* config/i386/i386.h (enum reg_class): Add new reg class
GENERAL_GPR16.
Co-authored-by: Hongyu Wang <hongyu.wang@intel.com>
Co-authored-by: Hongtao Liu <hongtao.liu@intel.com>
Diffstat (limited to 'gcc/graphite-optimize-isl.cc')
0 files changed, 0 insertions, 0 deletions