brintos

brintos / llvm-project-archived public Read only

0
0
Text · 483 B · 9cd4789 Raw
13 lines · plain
1# RUN: not llvm-mc -mcpu=v4 -triple bpfel < %s 2>&1 \2# RUN:   | grep 'error: operand is not the same as the dst register' \3# RUN:   | count 94        r0 = bswap16 r15        r0 = bswap32 r16        r0 = bswap64 r17        r0 = atomic_fetch_add((u64*)(r2 + 0), r1)8        r0 = atomic_fetch_and((u64*)(r2 + 0), r1)9        r0 = atomic_fetch_or((u64*)(r2 + 0), r1)10        r0 = atomic_fetch_xor((u64*)(r2 + 0), r1)11        w0 = xchg32_32(r2 + 0, w1)12        r0 = xchg_64(r2 + 0, r1)13