diff options
author | Daniel Cederman <cederman@gaisler.com> | 2020-09-25 13:17:46 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2021-09-16 13:05:47 +0200 |
commit | b4bbb373dfad830e8daa43e880e4f6536c868a53 (patch) | |
tree | 0b8cde799a46c98081b7fb309bcf5599549be1c9 /gcc/cgraph.c | |
parent | b7e0dd61e4ffa8787ef8fe7449dde36cc970653f (diff) | |
download | gcc-b4bbb373dfad830e8daa43e880e4f6536c868a53.zip gcc-b4bbb373dfad830e8daa43e880e4f6536c868a53.tar.gz gcc-b4bbb373dfad830e8daa43e880e4f6536c868a53.tar.bz2 |
sparc: Treat more instructions as load or store in errata workarounds
Check the attribute of instruction to determine if it performs a store
or load operation. This more generic approach sees the last instruction
in the GOTdata_op model as a potential load and treats the memory barrier
as a potential store instruction.
gcc/ChangeLog:
* config/sparc/sparc.c (store_insn_p): Add predicate for store
attributes.
(load_insn_p): Add predicate for load attributes.
(sparc_do_work_around_errata): Use new predicates.
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions