1; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 2 3; GCN-LABEL: {{^}}max_sgprs_gfx10: 4; GCN: NumSgprs: 108 5define amdgpu_kernel void @max_sgprs_gfx10() #0 { 6 call void asm sideeffect "", "~{s[0:7]}" () 7 call void asm sideeffect "", "~{s[8:15]}" () 8 call void asm sideeffect "", "~{s[16:23]}" () 9 call void asm sideeffect "", "~{s[24:31]}" () 10 call void asm sideeffect "", "~{s[32:39]}" () 11 call void asm sideeffect "", "~{s[40:47]}" () 12 call void asm sideeffect "", "~{s[48:55]}" () 13 call void asm sideeffect "", "~{s[56:63]}" () 14 call void asm sideeffect "", "~{s[64:71]}" () 15 call void asm sideeffect "", "~{s[72:79]}" () 16 call void asm sideeffect "", "~{s[80:87]}" () 17 call void asm sideeffect "", "~{s[88:95]}" () 18 call void asm sideeffect "", "~{s[96:99]}" () 19 call void asm sideeffect "", "~{s[100:104]}" () 20 call void asm sideeffect "", "~{s105}" () 21 call void asm sideeffect "", "~{vcc}" () 22 ret void 23} 24 25attributes #0 = { nounwind "target-cpu"="gfx1010" } 26