aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorYunQiang Su <syq@gcc.gnu.org>2024-03-20 16:25:04 +0800
committerYunQiang Su <syq@gcc.gnu.org>2024-03-26 10:21:51 +0800
commitbb819067b3037dbc847aef6c46b8dc6cd5b50962 (patch)
tree3641e38ad216ae06e3a89819365aeb413dbca381 /gcc/tree-vect-loop.cc
parent7e6cdec4d3e40c6f29b9198f26d724a3ac6d1555 (diff)
downloadgcc-bb819067b3037dbc847aef6c46b8dc6cd5b50962.zip
gcc-bb819067b3037dbc847aef6c46b8dc6cd5b50962.tar.gz
gcc-bb819067b3037dbc847aef6c46b8dc6cd5b50962.tar.bz2
MIPS: Predefine __mips_strict_alignment if STRICT_ALIGNMENT
Arm32 predefines __ARM_FEATURE_UNALIGNED if -mno-unaligned-access, and RISC-V predefines __riscv_misaligned_avoid. Let's define __mips_strict_alignment for MIPSr6 and -mstrict-align is used. Note that, this macro is always defined for pre-R6. gcc * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Predefine __mips_strict_alignment if STRICT_ALIGNMENT.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions