aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorPatrick O'Neill <patrick@rivosinc.com>2023-10-31 13:18:53 -0700
committerPatrick O'Neill <patrick@rivosinc.com>2023-11-01 15:06:04 -0700
commit274c904471a11c493353a8b4f6e50d8fb7fef906 (patch)
tree38935829ff29b0e8593a7c28cf159d48e9fda5d9 /gcc/tree-vectorizer.h
parentea2e7bf80b8deead064d9b54c3caa852dfe009b3 (diff)
downloadgcc-274c904471a11c493353a8b4f6e50d8fb7fef906.zip
gcc-274c904471a11c493353a8b4f6e50d8fb7fef906.tar.gz
gcc-274c904471a11c493353a8b4f6e50d8fb7fef906.tar.bz2
RISC-V: Use riscv_subword_address for atomic_test_and_set
Other subword atomic patterns use riscv_subword_address to calculate the aligned address, shift amount, mask and !mask. atomic_test_and_set was implemented before the common function was added. After this patch all subword atomic patterns use riscv_subword_address. gcc/ChangeLog: * config/riscv/sync.md: Use riscv_subword_address function to calculate the address and shift in atomic_test_and_set. Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions