diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/config/riscv/atomic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/config/riscv/atomic.c b/libgcc/config/riscv/atomic.c index 69f5362..573d163 100644 --- a/libgcc/config/riscv/atomic.c +++ b/libgcc/config/riscv/atomic.c @@ -30,6 +30,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define INVERT "not %[tmp1], %[tmp1]\n\t" #define DONT_INVERT "" +/* Logic duplicated in gcc/gcc/config/riscv/sync.md for use when inlining is enabled */ + #define GENERATE_FETCH_AND_OP(type, size, opname, insn, invert, cop) \ type __sync_fetch_and_ ## opname ## _ ## size (type *p, type v) \ { \ |