gem5 v24.0.0.0
Loading...
Searching...
No Matches
mtbuf.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 *
15 * 3. Neither the name of the copyright holder nor the names of its
16 * contributors may be used to endorse or promote products derived from this
17 * software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31
33
34namespace gem5
35{
36
37namespace VegaISA
38{
39 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_X class methods ---
40
41 Inst_MTBUF__TBUFFER_LOAD_FORMAT_X
42 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_X(InFmt_MTBUF *iFmt)
43 : Inst_MTBUF(iFmt, "tbuffer_load_format_x")
44 {
45 setFlag(MemoryRef);
47 setFlag(GlobalSegment);
48 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_X
49
51 {
52 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_X
53
54 // --- description from .arch file ---
55 // Typed buffer load 1 dword with format conversion.
56 void
61
62 void
66
67 void
71 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_XY class methods ---
72
73 Inst_MTBUF__TBUFFER_LOAD_FORMAT_XY
74 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_XY(InFmt_MTBUF *iFmt)
75 : Inst_MTBUF(iFmt, "tbuffer_load_format_xy")
76 {
77 setFlag(MemoryRef);
79 setFlag(GlobalSegment);
80 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_XY
81
83 {
84 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_XY
85
86 // --- description from .arch file ---
87 // Typed buffer load 2 dwords with format conversion.
88 void
93
94 void
98
99 void
103 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZ class methods ---
104
105 Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZ
106 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZ(InFmt_MTBUF *iFmt)
107 : Inst_MTBUF(iFmt, "tbuffer_load_format_xyz")
108 {
109 setFlag(MemoryRef);
110 setFlag(Load);
111 setFlag(GlobalSegment);
112 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZ
113
115 {
116 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZ
117
118 // --- description from .arch file ---
119 // Typed buffer load 3 dwords with format conversion.
120 void
125
126 void
130
131 void
135 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW class methods ---
136
137 Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW
138 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW(InFmt_MTBUF *iFmt)
139 : Inst_MTBUF(iFmt, "tbuffer_load_format_xyzw")
140 {
141 setFlag(MemoryRef);
142 setFlag(Load);
143 setFlag(GlobalSegment);
144 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW
145
146 Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW
147 ::~Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW()
148 {
149 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_XYZW
150
151 // --- description from .arch file ---
152 // Typed buffer load 4 dwords with format conversion.
153 void
158
159 void
163
164 void
168 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_X class methods ---
169
170 Inst_MTBUF__TBUFFER_STORE_FORMAT_X
171 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_X(InFmt_MTBUF *iFmt)
172 : Inst_MTBUF(iFmt, "tbuffer_store_format_x")
173 {
174 setFlag(MemoryRef);
175 setFlag(Store);
176 setFlag(GlobalSegment);
177 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_X
178
180 {
181 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_X
182
183 // --- description from .arch file ---
184 // Typed buffer store 1 dword with format conversion.
185 void
190
191 void
195
196 void
200 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_XY class methods ---
201
202 Inst_MTBUF__TBUFFER_STORE_FORMAT_XY
203 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_XY(InFmt_MTBUF *iFmt)
204 : Inst_MTBUF(iFmt, "tbuffer_store_format_xy")
205 {
206 setFlag(MemoryRef);
207 setFlag(Store);
208 setFlag(GlobalSegment);
209 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_XY
210
212 {
213 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_XY
214
215 // --- description from .arch file ---
216 // Typed buffer store 2 dwords with format conversion.
217 void
222
223 void
227
228 void
232 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ class methods ---
233
234 Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ
235 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ(InFmt_MTBUF *iFmt)
236 : Inst_MTBUF(iFmt, "tbuffer_store_format_xyz")
237 {
238 setFlag(MemoryRef);
239 setFlag(Store);
240 setFlag(GlobalSegment);
241 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ
242
243 Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ
244 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ()
245 {
246 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZ
247
248 // --- description from .arch file ---
249 // Typed buffer store 3 dwords with format conversion.
250 void
255
256 void
260
261 void
265 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW class methods ---
266
267 Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW
268 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW(InFmt_MTBUF *iFmt)
269 : Inst_MTBUF(iFmt, "tbuffer_store_format_xyzw")
270 {
271 setFlag(MemoryRef);
272 setFlag(Store);
273 setFlag(GlobalSegment);
274 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW
275
276 Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW
277 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW()
278 {
279 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_XYZW
280
281 // --- description from .arch file ---
282 // Typed buffer store 4 dwords with format conversion.
283 void
288
289 void
291 GPUDynInstPtr gpuDynInst)
292 {
293 } // initiateAcc
294
295 void
300 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_X class methods ---
301
302 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_X
303 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_X(InFmt_MTBUF *iFmt)
304 : Inst_MTBUF(iFmt, "tbuffer_load_format_d16_x")
305 {
306 setFlag(MemoryRef);
307 setFlag(Load);
308 setFlag(GlobalSegment);
309 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_X
310
313 {
314 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_X
315
316 // --- description from .arch file ---
317 // Typed buffer load 1 dword with format conversion.
318 void
323
324 void
326 GPUDynInstPtr gpuDynInst)
327 {
328 } // initiateAcc
329
330 void
335 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY class methods ---
336
337 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY
338 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY(InFmt_MTBUF *iFmt)
339 : Inst_MTBUF(iFmt, "tbuffer_load_format_d16_xy")
340 {
341 setFlag(MemoryRef);
342 setFlag(Load);
343 setFlag(GlobalSegment);
344 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY
345
346 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY
347 ::~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY()
348 {
349 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XY
350
351 // --- description from .arch file ---
352 // Typed buffer load 2 dwords with format conversion.
353 void
358
359 void
361 GPUDynInstPtr gpuDynInst)
362 {
363 } // initiateAcc
364
365 void
370 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ class methods ---
371
372 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ
373 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ(
374 InFmt_MTBUF *iFmt)
375 : Inst_MTBUF(iFmt, "tbuffer_load_format_d16_xyz")
376 {
377 setFlag(MemoryRef);
378 setFlag(Load);
379 setFlag(GlobalSegment);
380 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ
381
382 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ
383 ::~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ()
384 {
385 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZ
386
387 // --- description from .arch file ---
388 // Typed buffer load 3 dwords with format conversion.
389 void
394
395 void
397 GPUDynInstPtr gpuDynInst)
398 {
399 } // initiateAcc
400
401 void
406 // --- Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW class methods ---
407
408 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW
409 ::Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW(
410 InFmt_MTBUF *iFmt)
411 : Inst_MTBUF(iFmt, "tbuffer_load_format_d16_xyzw")
412 {
413 setFlag(MemoryRef);
414 setFlag(Load);
415 setFlag(GlobalSegment);
416 } // Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW
417
418 Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW
419 ::~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW()
420 {
421 } // ~Inst_MTBUF__TBUFFER_LOAD_FORMAT_D16_XYZW
422
423 // --- description from .arch file ---
424 // Typed buffer load 4 dwords with format conversion.
425 void
430
431 void
433 GPUDynInstPtr gpuDynInst)
434 {
435 } // initiateAcc
436
437 void
442 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X class methods ---
443
444 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X
445 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X(InFmt_MTBUF *iFmt)
446 : Inst_MTBUF(iFmt, "tbuffer_store_format_d16_x")
447 {
448 setFlag(MemoryRef);
449 setFlag(Store);
450 setFlag(GlobalSegment);
451 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X
452
453 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X
454 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X()
455 {
456 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_X
457
458 // --- description from .arch file ---
459 // Typed buffer store 1 dword with format conversion.
460 void
465
466 void
468 GPUDynInstPtr gpuDynInst)
469 {
470 } // initiateAcc
471
472 void
477 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY class methods ---
478
479 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY
480 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY(InFmt_MTBUF *iFmt)
481 : Inst_MTBUF(iFmt, "tbuffer_store_format_d16_xy")
482 {
483 setFlag(MemoryRef);
484 setFlag(Store);
485 setFlag(GlobalSegment);
486 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY
487
488 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY
489 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY()
490 {
491 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XY
492
493 // --- description from .arch file ---
494 // Typed buffer store 2 dwords with format conversion.
495 void
500
501 void
503 GPUDynInstPtr gpuDynInst)
504 {
505 } // initiateAcc
506
507 void
512 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ class methods ---
513
514 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ
515 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ(InFmt_MTBUF *iFmt)
516 : Inst_MTBUF(iFmt, "tbuffer_store_format_d16_xyz")
517 {
518 setFlag(MemoryRef);
519 setFlag(Store);
520 setFlag(GlobalSegment);
521 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ
522
523 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ
524 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ()
525 {
526 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZ
527
528 // --- description from .arch file ---
529 // Typed buffer store 3 dwords with format conversion.
530 void
535
536 void
538 GPUDynInstPtr gpuDynInst)
539 {
540 } // initiateAcc
541
542 void
547 // --- Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW class methods ---
548
549 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW
550 ::Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW(InFmt_MTBUF *iFmt)
551 : Inst_MTBUF(iFmt, "tbuffer_store_format_d16_xyzw")
552 {
553 setFlag(MemoryRef);
554 setFlag(Store);
555 setFlag(GlobalSegment);
556 } // Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW
557
558 Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW
559 ::~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW()
560 {
561 } // ~Inst_MTBUF__TBUFFER_STORE_FORMAT_D16_XYZW
562
563 // --- description from .arch file ---
564 // Typed buffer store 4 dwords with format conversion.
565 void
571
572 void
577
578 void
583} // namespace VegaISA
584} // namespace gem5
void setFlag(Flags flag)
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:165
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:160
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:132
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:127
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:100
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:95
void execute(GPUDynInstPtr) override
Definition mtbuf.cc:89
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:63
void execute(GPUDynInstPtr) override
Definition mtbuf.cc:57
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:68
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:262
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:257
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:224
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:229
void initiateAcc(GPUDynInstPtr) override
Definition mtbuf.cc:192
void execute(GPUDynInstPtr) override
Definition mtbuf.cc:186
void completeAcc(GPUDynInstPtr) override
Definition mtbuf.cc:197
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Definition binary32.hh:36
std::shared_ptr< GPUDynInst > GPUDynInstPtr
Definition misc.hh:49

Generated on Tue Jun 18 2024 16:23:46 for gem5 by doxygen 1.11.0