1 # RUN: llvm-mc -triple=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s 2 # Hexagon Programmer's Reference Manual 11.9.1 SYSTEM/USER 3 4 # Load locked 5 # CHECK: 11 c0 15 92 6 r17 = memw_locked(r21) 7 # CHECK: 10 d0 15 92 8 r17:16 = memd_locked(r21) 9 10 # Store conditional 11 # CHECK: 03 d5 b1 a0 12 memw_locked(r17, p3) = r21 13 # CHECK: 03 d4 f1 a0 14 memd_locked(r17, p3) = r21:20 15 16 # Memory barrier 17 # CHECK: 00 c0 00 a8 18 barrier 19 20 # Data cache prefetch 21 # CHECK: 15 c0 11 94 22 dcfetch(r17 + #168) 23 24 # Send value to ETM trace 25 # CHECK: 00 c0 51 62 26 trace(r17) 27 28 # CHECK: 00 c0 00 a0 29 dccleana(r0) 30 31 # CHECK: 00 c0 41 a0 32 dccleaninva(r1) 33 34 # CHECK: 00 c0 22 a0 35 dcinva(r2) 36 37 # CHECK: 00 c0 c3 a0 38 dczeroa(r3) 39 40 # CHECK: 00 c0 c4 56 41 icinva(r4) 42 43 # CHECK: 02 c0 c0 57 44 isync 45 46 # CHECK: 00 c6 05 a6 47 l2fetch(r5, r6) 48 49 # CHECK: 00 c8 87 a6 50 l2fetch(r7, r9:8) 51 52 # CHECK: 1c df 40 54 53 pause(#255) 54 55 # CHECK: 00 c0 40 a8 56 syncht 57 58 # CHECK: 18 df 00 54 59 trap0(#254) 60 61 # CHECK: 14 df 80 54 62 trap1(#253) 63