diff options
author | Patrick O'Neill <patrick@rivosinc.com> | 2023-04-05 09:56:33 -0700 |
---|---|---|
committer | Patrick O'Neill <patrick@rivosinc.com> | 2023-05-02 13:08:04 -0700 |
commit | 6a2383f47ae70c31f91775142b9fb03f697741c2 (patch) | |
tree | d107f25e76ab59df6fdc4a5d3ab109adee6de51d /gcc/tree-ssa-phiopt.cc | |
parent | a61a067b15221de981afd4df8433e96a8cf32341 (diff) | |
download | gcc-6a2383f47ae70c31f91775142b9fb03f697741c2.zip gcc-6a2383f47ae70c31f91775142b9fb03f697741c2.tar.gz gcc-6a2383f47ae70c31f91775142b9fb03f697741c2.tar.bz2 |
RISC-V: Strengthen atomic stores
This change makes atomic stores strictly stronger than table A.6 of the
ISA manual. This mapping makes the overall patchset compatible with
table A.7 as well.
2023-04-27 Patrick O'Neill <patrick@rivosinc.com>
PR target/89835
gcc/ChangeLog:
* config/riscv/sync.md (atomic_store<mode>): Use simple store
instruction in combination with fence(s).
gcc/testsuite/ChangeLog:
* gcc.target/riscv/pr89835.c: New test.
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions