annotate llvm/test/CodeGen/AMDGPU/fp-atomic-to-s_denormmode.mir @ 223:5f17cb93ff66 llvm-original

LLVM13 (2021/7/18)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:43:00 +0900
parents 79ff65ed7e25
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # RUN: llc -march=amdgcn -mcpu=gfx1010 -verify-machineinstrs -run-pass post-RA-hazard-rec -o - %s | FileCheck -check-prefix=GCN %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 # GCN-LABEL: name: flat_atomic_fcmpswap_to_s_denorm_mode
anatofuz
parents:
diff changeset
4 # GCN: FLAT_ATOMIC_FCMPSWAP
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
5 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
6 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
7 ---
anatofuz
parents:
diff changeset
8 name: flat_atomic_fcmpswap_to_s_denorm_mode
anatofuz
parents:
diff changeset
9 body: |
anatofuz
parents:
diff changeset
10 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
11 FLAT_ATOMIC_FCMPSWAP undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
12 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
13 ...
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 # GCN-LABEL: name: flat_atomic_fcmpswap_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
16 # GCN: FLAT_ATOMIC_FCMPSWAP_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
17 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
18 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
19 ---
anatofuz
parents:
diff changeset
20 name: flat_atomic_fcmpswap_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
21 body: |
anatofuz
parents:
diff changeset
22 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
23 FLAT_ATOMIC_FCMPSWAP_X2 undef %0:vreg_64, undef %1:vreg_128, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
24 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
25 ...
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 # GCN-LABEL: name: flat_atomic_fmax_to_s_denorm_mode
anatofuz
parents:
diff changeset
28 # GCN: FLAT_ATOMIC_FMAX
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
29 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
30 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
31 ---
anatofuz
parents:
diff changeset
32 name: flat_atomic_fmax_to_s_denorm_mode
anatofuz
parents:
diff changeset
33 body: |
anatofuz
parents:
diff changeset
34 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
35 FLAT_ATOMIC_FMAX undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
36 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
37 ...
anatofuz
parents:
diff changeset
38
anatofuz
parents:
diff changeset
39 # GCN-LABEL: name: flat_atomic_fmax_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
40 # GCN: FLAT_ATOMIC_FMAX_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
41 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
42 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
43 ---
anatofuz
parents:
diff changeset
44 name: flat_atomic_fmax_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
45 body: |
anatofuz
parents:
diff changeset
46 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
47 FLAT_ATOMIC_FMAX_X2 undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
48 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
49 ...
anatofuz
parents:
diff changeset
50
anatofuz
parents:
diff changeset
51 # GCN-LABEL: name: flat_atomic_fmin_to_s_denorm_mode
anatofuz
parents:
diff changeset
52 # GCN: FLAT_ATOMIC_FMIN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
53 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
54 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
55 ---
anatofuz
parents:
diff changeset
56 name: flat_atomic_fmin_to_s_denorm_mode
anatofuz
parents:
diff changeset
57 body: |
anatofuz
parents:
diff changeset
58 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
59 FLAT_ATOMIC_FMIN undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
60 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
61 ...
anatofuz
parents:
diff changeset
62
anatofuz
parents:
diff changeset
63 # GCN-LABEL: name: flat_atomic_fmin_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
64 # GCN: FLAT_ATOMIC_FMIN_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
65 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
66 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
67 ---
anatofuz
parents:
diff changeset
68 name: flat_atomic_fmin_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
69 body: |
anatofuz
parents:
diff changeset
70 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
71 FLAT_ATOMIC_FMIN_X2 undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
72 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
73 ...
anatofuz
parents:
diff changeset
74
anatofuz
parents:
diff changeset
75 # GCN-LABEL: name: flat_atomic_fcmpswap_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
76 # GCN: FLAT_ATOMIC_FCMPSWAP_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
77 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
78 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
79 ---
anatofuz
parents:
diff changeset
80 name: flat_atomic_fcmpswap_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
81 body: |
anatofuz
parents:
diff changeset
82 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
83 %2:vreg_64 = FLAT_ATOMIC_FCMPSWAP_X2_RTN undef %0:vreg_64, undef %1:vreg_128, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
84 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
85 ...
anatofuz
parents:
diff changeset
86
anatofuz
parents:
diff changeset
87 # GCN-LABEL: name: flat_atomic_fmax_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
88 # GCN: FLAT_ATOMIC_FMAX_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
89 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
90 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
91 ---
anatofuz
parents:
diff changeset
92 name: flat_atomic_fmax_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
93 body: |
anatofuz
parents:
diff changeset
94 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
95 %2:vgpr_32 = FLAT_ATOMIC_FMAX_RTN undef %0:vreg_64, undef %1:vgpr_32, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
96 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
97 ...
anatofuz
parents:
diff changeset
98
anatofuz
parents:
diff changeset
99 # GCN-LABEL: name: flat_atomic_fmax_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
100 # GCN: FLAT_ATOMIC_FMAX_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
101 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
102 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
103 ---
anatofuz
parents:
diff changeset
104 name: flat_atomic_fmax_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
105 body: |
anatofuz
parents:
diff changeset
106 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
107 %2:vreg_64 = FLAT_ATOMIC_FMAX_X2_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
108 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
109 ...
anatofuz
parents:
diff changeset
110
anatofuz
parents:
diff changeset
111 # GCN-LABEL: name: flat_atomic_fmin_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
112 # GCN: FLAT_ATOMIC_FMIN_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
113 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
114 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
115 ---
anatofuz
parents:
diff changeset
116 name: flat_atomic_fmin_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
117 body: |
anatofuz
parents:
diff changeset
118 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
119 %2:vgpr_32 = FLAT_ATOMIC_FMIN_RTN undef %0:vreg_64, undef %1:vgpr_32, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
120 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
121 ...
anatofuz
parents:
diff changeset
122
anatofuz
parents:
diff changeset
123 # GCN-LABEL: name: flat_atomic_fmin_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
124 # GCN: FLAT_ATOMIC_FMIN_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
125 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
126 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
127 ---
anatofuz
parents:
diff changeset
128 name: flat_atomic_fmin_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
129 body: |
anatofuz
parents:
diff changeset
130 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
131 %2:vreg_64 = FLAT_ATOMIC_FMIN_X2_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
132 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
133 ...
anatofuz
parents:
diff changeset
134
anatofuz
parents:
diff changeset
135 # GCN-LABEL: name: flat_atomic_fcmpswap_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
136 # GCN: FLAT_ATOMIC_FCMPSWAP_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
137 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
138 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
139 ---
anatofuz
parents:
diff changeset
140 name: flat_atomic_fcmpswap_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
141 body: |
anatofuz
parents:
diff changeset
142 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
143 %2:vgpr_32 = FLAT_ATOMIC_FCMPSWAP_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
144 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
145 ...
anatofuz
parents:
diff changeset
146
anatofuz
parents:
diff changeset
147 # GCN-LABEL: name: global_atomic_fcmpswap_to_s_denorm_mode
anatofuz
parents:
diff changeset
148 # GCN: GLOBAL_ATOMIC_FCMPSWAP
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
149 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
150 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
151 ---
anatofuz
parents:
diff changeset
152 name: global_atomic_fcmpswap_to_s_denorm_mode
anatofuz
parents:
diff changeset
153 body: |
anatofuz
parents:
diff changeset
154 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
155 GLOBAL_ATOMIC_FCMPSWAP undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
156 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
157 ...
anatofuz
parents:
diff changeset
158
anatofuz
parents:
diff changeset
159 # GCN-LABEL: name: global_atomic_fcmpswap_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
160 # GCN: GLOBAL_ATOMIC_FCMPSWAP_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
161 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
162 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
163 ---
anatofuz
parents:
diff changeset
164 name: global_atomic_fcmpswap_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
165 body: |
anatofuz
parents:
diff changeset
166 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
167 GLOBAL_ATOMIC_FCMPSWAP_X2 undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
168 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
169 ...
anatofuz
parents:
diff changeset
170
anatofuz
parents:
diff changeset
171 # GCN-LABEL: name: global_atomic_fmax_to_s_denorm_mode
anatofuz
parents:
diff changeset
172 # GCN: GLOBAL_ATOMIC_FMAX
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
173 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
174 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
175 ---
anatofuz
parents:
diff changeset
176 name: global_atomic_fmax_to_s_denorm_mode
anatofuz
parents:
diff changeset
177 body: |
anatofuz
parents:
diff changeset
178 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
179 GLOBAL_ATOMIC_FMAX undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
180 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
181 ...
anatofuz
parents:
diff changeset
182
anatofuz
parents:
diff changeset
183 # GCN-LABEL: name: global_atomic_fmax_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
184 # GCN: GLOBAL_ATOMIC_FMAX_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
185 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
186 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
187 ---
anatofuz
parents:
diff changeset
188 name: global_atomic_fmax_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
189 body: |
anatofuz
parents:
diff changeset
190 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
191 GLOBAL_ATOMIC_FMAX_X2 undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
192 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
193 ...
anatofuz
parents:
diff changeset
194
anatofuz
parents:
diff changeset
195 # GCN-LABEL: name: global_atomic_fmin_to_s_denorm_mode
anatofuz
parents:
diff changeset
196 # GCN: GLOBAL_ATOMIC_FMIN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
197 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
198 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
199 ---
anatofuz
parents:
diff changeset
200 name: global_atomic_fmin_to_s_denorm_mode
anatofuz
parents:
diff changeset
201 body: |
anatofuz
parents:
diff changeset
202 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
203 GLOBAL_ATOMIC_FMIN undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
204 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
205 ...
anatofuz
parents:
diff changeset
206
anatofuz
parents:
diff changeset
207 # GCN-LABEL: name: global_atomic_fmin_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
208 # GCN: GLOBAL_ATOMIC_FMIN_X2
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
209 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
210 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
211 ---
anatofuz
parents:
diff changeset
212 name: global_atomic_fmin_x2_to_s_denorm_mode
anatofuz
parents:
diff changeset
213 body: |
anatofuz
parents:
diff changeset
214 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
215 GLOBAL_ATOMIC_FMIN_X2 undef %0:vreg_64, undef %1:vreg_64, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
216 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
217 ...
anatofuz
parents:
diff changeset
218
anatofuz
parents:
diff changeset
219 # GCN-LABEL: name: global_atomic_fcmpswap_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
220 # GCN: GLOBAL_ATOMIC_FCMPSWAP_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
221 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
222 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
223 ---
anatofuz
parents:
diff changeset
224 name: global_atomic_fcmpswap_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
225 body: |
anatofuz
parents:
diff changeset
226 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
227 %2:vgpr_32 = GLOBAL_ATOMIC_FCMPSWAP_RTN undef %0:vreg_64, undef %1:vgpr_32, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
228 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
229 ...
anatofuz
parents:
diff changeset
230
anatofuz
parents:
diff changeset
231 # GCN-LABEL: name: global_atomic_fcmpswap_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
232 # GCN: GLOBAL_ATOMIC_FCMPSWAP_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
233 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
234 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
235 ---
anatofuz
parents:
diff changeset
236 name: global_atomic_fcmpswap_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
237 body: |
anatofuz
parents:
diff changeset
238 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
239 %2:vreg_64 = GLOBAL_ATOMIC_FCMPSWAP_X2_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
240 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
241 ...
anatofuz
parents:
diff changeset
242
anatofuz
parents:
diff changeset
243 # GCN-LABEL: name: global_atomic_fmax_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
244 # GCN: GLOBAL_ATOMIC_FMAX_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
245 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
246 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
247 ---
anatofuz
parents:
diff changeset
248 name: global_atomic_fmax_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
249 body: |
anatofuz
parents:
diff changeset
250 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
251 %2:vgpr_32 = GLOBAL_ATOMIC_FMAX_RTN undef %0:vreg_64, undef %1:vgpr_32, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
252 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
253 ...
anatofuz
parents:
diff changeset
254
anatofuz
parents:
diff changeset
255 # GCN-LABEL: name: global_atomic_fmax_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
256 # GCN: GLOBAL_ATOMIC_FMAX_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
257 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
258 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
259 ---
anatofuz
parents:
diff changeset
260 name: global_atomic_fmax_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
261 body: |
anatofuz
parents:
diff changeset
262 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
263 %2:vreg_64 = GLOBAL_ATOMIC_FMAX_X2_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
264 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
265 ...
anatofuz
parents:
diff changeset
266
anatofuz
parents:
diff changeset
267 # GCN-LABEL: name: global_atomic_fmin_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
268 # GCN: GLOBAL_ATOMIC_FMIN_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
269 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
270 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
271 ---
anatofuz
parents:
diff changeset
272 name: global_atomic_fmin_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
273 body: |
anatofuz
parents:
diff changeset
274 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
275 %2:vgpr_32 = GLOBAL_ATOMIC_FMIN_RTN undef %0:vreg_64, undef %1:vgpr_32, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
276 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
277 ...
anatofuz
parents:
diff changeset
278
anatofuz
parents:
diff changeset
279 # GCN-LABEL: name: global_atomic_fmin_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
280 # GCN: GLOBAL_ATOMIC_FMIN_X2_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
281 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
282 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
283 ---
anatofuz
parents:
diff changeset
284 name: global_atomic_fmin_x2_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
285 body: |
anatofuz
parents:
diff changeset
286 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
287 %2:vreg_64 = GLOBAL_ATOMIC_FMIN_X2_RTN undef %0:vreg_64, undef %1:vreg_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
288 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
289 ...
anatofuz
parents:
diff changeset
290
anatofuz
parents:
diff changeset
291 # GCN-LABEL: name: global_atomic_fcmpswap_saddr_to_s_denorm_mode
anatofuz
parents:
diff changeset
292 # GCN: GLOBAL_ATOMIC_FCMPSWAP_SADDR
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
293 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
294 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
295 ---
anatofuz
parents:
diff changeset
296 name: global_atomic_fcmpswap_saddr_to_s_denorm_mode
anatofuz
parents:
diff changeset
297 body: |
anatofuz
parents:
diff changeset
298 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
299 GLOBAL_ATOMIC_FCMPSWAP_SADDR undef %0:vgpr_32, undef %1:vgpr_32, undef %3:sgpr_64, 0, 0, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
300 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
301 ...
anatofuz
parents:
diff changeset
302
anatofuz
parents:
diff changeset
303 # GCN-LABEL: name: global_atomic_fcmpswap_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
304 # GCN: GLOBAL_ATOMIC_FCMPSWAP_X2_SADDR_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
305 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
306 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
307 ---
anatofuz
parents:
diff changeset
308 name: global_atomic_fcmpswap_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
309 body: |
anatofuz
parents:
diff changeset
310 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
311 %2:vreg_64 = GLOBAL_ATOMIC_FCMPSWAP_X2_SADDR_RTN undef %0:vgpr_32, undef %1:vreg_64, undef %3:sgpr_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
312 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
313 ...
anatofuz
parents:
diff changeset
314
anatofuz
parents:
diff changeset
315 # GCN-LABEL: name: global_atomic_fmax_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
316 # GCN: GLOBAL_ATOMIC_FMAX_SADDR_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
317 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
318 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
319 ---
anatofuz
parents:
diff changeset
320 name: global_atomic_fmax_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
321 body: |
anatofuz
parents:
diff changeset
322 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
323 %2:vgpr_32 = GLOBAL_ATOMIC_FMAX_SADDR_RTN undef %0:vgpr_32, undef %1:vgpr_32, undef %3:sgpr_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
324 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
325 ...
anatofuz
parents:
diff changeset
326
anatofuz
parents:
diff changeset
327 # GCN-LABEL: name: global_atomic_fmax_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
328 # GCN: GLOBAL_ATOMIC_FMAX_X2_SADDR_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
329 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
330 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
331 ---
anatofuz
parents:
diff changeset
332 name: global_atomic_fmax_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
333 body: |
anatofuz
parents:
diff changeset
334 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
335 %2:vreg_64 = GLOBAL_ATOMIC_FMAX_X2_SADDR_RTN undef %0:vgpr_32, undef %1:vreg_64, undef %3:sgpr_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
336 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
337 ...
anatofuz
parents:
diff changeset
338
anatofuz
parents:
diff changeset
339 # GCN-LABEL: name: global_atomic_fmin_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
340 # GCN: GLOBAL_ATOMIC_FMIN_SADDR_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
341 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
342 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
343 ---
anatofuz
parents:
diff changeset
344 name: global_atomic_fmin_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
345 body: |
anatofuz
parents:
diff changeset
346 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
347 %2:vgpr_32 = GLOBAL_ATOMIC_FMIN_SADDR_RTN undef %0:vgpr_32, undef %1:vgpr_32, undef %3:sgpr_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
348 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
349 ...
anatofuz
parents:
diff changeset
350
anatofuz
parents:
diff changeset
351 # GCN-LABEL: name: global_atomic_fmin_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
352 # GCN: GLOBAL_ATOMIC_FMIN_X2_SADDR_RTN
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
353 # GCN-NEXT: S_NOP 2
150
anatofuz
parents:
diff changeset
354 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
355 ---
anatofuz
parents:
diff changeset
356 name: global_atomic_fmin_x2_saddr_rtn_to_s_denorm_mode
anatofuz
parents:
diff changeset
357 body: |
anatofuz
parents:
diff changeset
358 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
359 %2:vreg_64 = GLOBAL_ATOMIC_FMIN_X2_SADDR_RTN undef %0:vgpr_32, undef %1:vreg_64, undef %3:sgpr_64, 0, 1, implicit $exec :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
360 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
361 ...
anatofuz
parents:
diff changeset
362
anatofuz
parents:
diff changeset
363 # GCN-LABEL: name: flat_fp_atomic_to_s_denorm_mode_waitcnt
anatofuz
parents:
diff changeset
364 # GCN: FLAT_ATOMIC_FMIN
anatofuz
parents:
diff changeset
365 # GCN-NEXT: S_WAITCNT
anatofuz
parents:
diff changeset
366 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
367 ---
anatofuz
parents:
diff changeset
368 name: flat_fp_atomic_to_s_denorm_mode_waitcnt
anatofuz
parents:
diff changeset
369 body: |
anatofuz
parents:
diff changeset
370 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
371 FLAT_ATOMIC_FMIN undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
150
anatofuz
parents:
diff changeset
372 S_WAITCNT 0
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
373 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
374 ...
anatofuz
parents:
diff changeset
375
anatofuz
parents:
diff changeset
376 # GCN-LABEL: name: flat_fp_atomic_to_s_denorm_mode_valu
anatofuz
parents:
diff changeset
377 # GCN: FLAT_ATOMIC_FMIN
anatofuz
parents:
diff changeset
378 # GCN-NEXT: V_ADD_F32_e32
anatofuz
parents:
diff changeset
379 # GCN-NEXT: S_DENORM_MODE
anatofuz
parents:
diff changeset
380 ---
anatofuz
parents:
diff changeset
381 name: flat_fp_atomic_to_s_denorm_mode_valu
anatofuz
parents:
diff changeset
382 body: |
anatofuz
parents:
diff changeset
383 bb.0:
223
5f17cb93ff66 LLVM13 (2021/7/18)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 221
diff changeset
384 FLAT_ATOMIC_FMIN undef %0:vreg_64, undef %1:vgpr_32, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store seq_cst seq_cst (s32) on `float addrspace(1)* undef`)
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
385 %2:vgpr_32 = V_ADD_F32_e32 undef %1:vgpr_32, undef %1:vgpr_32, implicit $mode, implicit $exec
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
386 S_DENORM_MODE 0, implicit-def $mode, implicit $mode
150
anatofuz
parents:
diff changeset
387 ...