diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2023-10-31 13:18:53 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2023-11-01 15:06:04 -0700 |
commit | 274c904471a11c493353a8b4f6e50d8fb7fef906 (patch) | |
tree | 38935829ff29b0e8593a7c28cf159d48e9fda5d9 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | ea2e7bf80b8deead064d9b54c3caa852dfe009b3 (diff) | |
download | gcc-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/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions