[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / Hexagon / instructions / system_user.s
blob6207a72bdf6527eb704aab003fe905fc98114c22
1 # RUN: llvm-mc -triple=hexagon -mv65 -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
2 # Hexagon Programmer's Reference Manual 11.9.1 SYSTEM/USER
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)
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
16 # Memory barrier
17 # CHECK: 00 c0 00 a8
18 barrier
20 # Data cache prefetch
21 # CHECK: 15 c0 11 94
22 dcfetch(r17 + #168)
24 # Send value to ETM trace
25 # CHECK: 00 c0 51 62
26 trace(r17)
28 # CHECK: 00 c0 00 a0
29 dccleana(r0)
31 # CHECK: 00 c0 41 a0
32 dccleaninva(r1)
34 # CHECK: 00 c0 22 a0
35 dcinva(r2)
37 # CHECK: 00 c0 c3 a0
38 dczeroa(r3)
40 # CHECK: 00 c0 c4 56
41 icinva(r4)
43 # CHECK: 02 c0 c0 57
44 isync
46 # CHECK: 00 c6 05 a6
47 l2fetch(r5, r6)
49 # CHECK: 00 c8 87 a6
50 l2fetch(r7, r9:8)
52 # CHECK: 1c df 40 54
53 pause(#255)
55 # CHECK: 00 c0 40 a8
56 syncht
58 # CHECK: 18 df 00 54
59 trap0(#254)
61 # CHECK: 14 df 80 54
62 trap1(r0, #253)
64 # CHECK: 14 df 80 54
65 trap1(#253)