diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2024-05-10 11:56:57 +0100 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2024-07-24 16:54:50 +0100 |
commit | 033d9053dae3c1aafae63d22641adb49210301d8 (patch) | |
tree | 571f1c2b4c7c49e71db2df0f741444fa2801521c /gcc/analyzer/program-state.cc | |
parent | c0ed0823a6fa35dc074d3323163473a663721441 (diff) | |
download | gcc-033d9053dae3c1aafae63d22641adb49210301d8.zip gcc-033d9053dae3c1aafae63d22641adb49210301d8.tar.gz gcc-033d9053dae3c1aafae63d22641adb49210301d8.tar.bz2 |
aarch64: Decouple feature flag option storage type
The awk scripts that process the .opt files are relatively fragile and
only handle a limited set of data types correctly. The unrecognised
aarch64_feature_flags type is handled as a uint64_t, which happens to be
correct for now. However, that assumption will change when we extend
the mask to 128 bits.
This patch changes the option members to use uint64_t types, and adds a
"_0" suffix to the names (both for future extensibility, and to allow
the original name to be used for the full aarch64_feature_flags mask
within generator files).
gcc/ChangeLog:
* common/config/aarch64/aarch64-common.cc
(aarch64_set_asm_isa_flags): Reorder, and add suffix to names.
* config/aarch64/aarch64.h
(aarch64_get_asm_isa_flags): Add "_0" suffix.
(aarch64_get_isa_flags): Ditto.
(aarch64_asm_isa_flags): Redefine using renamed uint64_t value.
(aarch64_isa_flags): Ditto.
* config/aarch64/aarch64.opt:
(aarch64_asm_isa_flags): Rename to...
(aarch64_asm_isa_flags_0): ...this, and change to uint64_t.
(aarch64_isa_flags): Rename to...
(aarch64_isa_flags_0): ...this, and change to uint64_t.
Diffstat (limited to 'gcc/analyzer/program-state.cc')
0 files changed, 0 insertions, 0 deletions