• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6r17 = memw_locked(r21)
7# CHECK: 10 d0 15 92
8r17:16 = memd_locked(r21)
9
10# Store conditional
11# CHECK: 03 d5 b1 a0
12memw_locked(r17, p3) = r21
13# CHECK: 03 d4 f1 a0
14memd_locked(r17, p3) = r21:20
15
16# Memory barrier
17# CHECK: 00 c0 00 a8
18barrier
19
20# Data cache prefetch
21# CHECK: 15 c0 11 94
22dcfetch(r17 + #168)
23
24# Send value to ETM trace
25# CHECK: 00 c0 51 62
26trace(r17)
27
28# CHECK: 00 c0 00 a0
29dccleana(r0)
30
31# CHECK: 00 c0 41 a0
32dccleaninva(r1)
33
34# CHECK: 00 c0 22 a0
35dcinva(r2)
36
37# CHECK: 00 c0 c3 a0
38dczeroa(r3)
39
40# CHECK: 00 c0 c4 56
41icinva(r4)
42
43# CHECK: 02 c0 c0 57
44isync
45
46# CHECK: 00 c6 05 a6
47l2fetch(r5, r6)
48
49# CHECK: 00 c8 87 a6
50l2fetch(r7, r9:8)
51
52# CHECK: 1c df 40 54
53pause(#255)
54
55# CHECK: 00 c0 40 a8
56syncht
57
58# CHECK: 18 df 00 54
59trap0(#254)
60
61# CHECK: 14 df 80 54
62trap1(#253)
63