• Home
  • Raw
  • Download

Lines Matching refs:MUBUF

2 ; RUN: llc < %s -march=amdgcn -mcpu=gfx1010 -verify-machineinstrs | FileCheck -check-prefix=MUBUF %s
5 ; FIXME: The MUBUF loads in this test output are incorrect, their SOffset
7 ; rely on the frame index argument of MUBUF stack accesses to survive until PEI
11 ; into the MUBUF instruction, and so we end up emitting an incorrect offset.
17 ; MUBUF-LABEL: kernel_background_evaluate:
18 ; MUBUF: ; %bb.0: ; %entry
19 ; MUBUF-NEXT: s_load_dword s0, s[0:1], 0x24
20 ; MUBUF-NEXT: s_mov_b32 s36, SCRATCH_RSRC_DWORD0
21 ; MUBUF-NEXT: s_mov_b32 s37, SCRATCH_RSRC_DWORD1
22 ; MUBUF-NEXT: s_mov_b32 s38, -1
23 ; MUBUF-NEXT: s_mov_b32 s39, 0x31c16000
24 ; MUBUF-NEXT: s_add_u32 s36, s36, s3
25 ; MUBUF-NEXT: s_addc_u32 s37, s37, 0
26 ; MUBUF-NEXT: v_mov_b32_e32 v1, 0x2000
27 ; MUBUF-NEXT: v_mov_b32_e32 v2, 0x4000
28 ; MUBUF-NEXT: v_mov_b32_e32 v3, 0
29 ; MUBUF-NEXT: v_mov_b32_e32 v4, 0x400000
30 ; MUBUF-NEXT: s_mov_b32 s32, 0xc0000
31 ; MUBUF-NEXT: v_add_nc_u32_e64 v40, 4, 0x4000
32 ; MUBUF-NEXT: s_getpc_b64 s[4:5]
33 ; MUBUF-NEXT: s_add_u32 s4, s4, svm_eval_nodes@rel32@lo+4
34 ; MUBUF-NEXT: s_addc_u32 s5, s5, svm_eval_nodes@rel32@hi+12
35 ; MUBUF-NEXT: s_waitcnt lgkmcnt(0)
36 ; MUBUF-NEXT: v_mov_b32_e32 v0, s0
37 ; MUBUF-NEXT: s_mov_b64 s[0:1], s[36:37]
38 ; MUBUF-NEXT: s_mov_b64 s[2:3], s[38:39]
39 ; MUBUF-NEXT: s_swappc_b64 s[30:31], s[4:5]
40 ; MUBUF-NEXT: v_cmp_ne_u32_e32 vcc_lo, 0, v0
41 ; MUBUF-NEXT: s_and_saveexec_b32 s0, vcc_lo
42 ; MUBUF-NEXT: s_cbranch_execz BB0_2
43 ; MUBUF-NEXT: ; %bb.1: ; %if.then4.i
44 ; MUBUF-NEXT: s_clause 0x1
45 ; MUBUF-NEXT: buffer_load_dword v0, v40, s[36:39], 0 offen
46 ; MUBUF-NEXT: buffer_load_dword v1, v40, s[36:39], 0 offen offset:4
47 ; MUBUF-NEXT: s_waitcnt vmcnt(0)
48 ; MUBUF-NEXT: v_add_nc_u32_e32 v0, v1, v0
49 ; MUBUF-NEXT: v_mul_lo_u32 v0, 0x41c64e6d, v0
50 ; MUBUF-NEXT: v_add_nc_u32_e32 v0, 0x3039, v0
51 ; MUBUF-NEXT: buffer_store_dword v0, v0, s[36:39], 0 offen
52 ; MUBUF-NEXT: BB0_2: ; %shader_eval_surface.exit
53 ; MUBUF-NEXT: s_endpgm