diff options
author | Andrew Stubbs <ams@baylibre.com> | 2024-06-28 15:13:59 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@baylibre.com> | 2024-07-02 12:59:47 +0000 |
commit | 68e034920bab9abd547503967f73b81cc37cfbf4 (patch) | |
tree | 85dbc5b5f86185af82b0e3c10713f4881cd6a606 /gcc/ada | |
parent | 49058fecbfd09a3354064e7d695b4a1056ce7547 (diff) | |
download | gcc-68e034920bab9abd547503967f73b81cc37cfbf4.zip gcc-68e034920bab9abd547503967f73b81cc37cfbf4.tar.gz gcc-68e034920bab9abd547503967f73b81cc37cfbf4.tar.bz2 |
amdgcn: invent target feature flags
This is a first step towards having a device table so we can add new devices
more easily. It'll also make it easier to remove the deprecated GCN3 bits.
The patch should not change the behaviour of anything.
gcc/ChangeLog:
* config/gcn/gcn-opts.h (TARGET_GLOBAL_ADDRSPACE): New.
(TARGET_AVGPRS): New.
(TARGET_AVGPR_MEMOPS): New.
(TARGET_AVGPR_COMBINED): New.
(TARGET_FLAT_OFFSETS): New.
(TARGET_11BIT_GLOBAL_OFFSET): New.
(TARGET_CDNA2_MEM_COSTS): New.
(TARGET_WAVE64_COMPAT): New.
(TARGET_DPP_FULL): New.
(TARGET_DPP16): New.
(TARGET_DPP8): New.
(TARGET_AVGPR_CDNA1_NOPS): New.
(TARGET_VGPR_GRANULARITY): New.
(TARGET_ARCHITECTED_FLAT_SCRATCH): New.
(TARGET_EXPLICIT_CARRY): New.
(TARGET_MULTIPLY_IMMEDIATE): New.
(TARGET_SDWA): New.
(TARGET_WBINVL1_CACHE): New.
(TARGET_GLn_CACHE): New.
* config/gcn/gcn-valu.md (throughout): Change TARGET_GCN*,
TARGET_CDNA* and TARGET_RDNA* to use TARGET_<feature> instead.
* config/gcn/gcn.cc (throughout): Likewise.
* config/gcn/gcn.md (throughout): Likewise.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions