xref: /aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/call_fs.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=r600 -mcpu=redwood -show-mc-encoding -o - | FileCheck --check-prefix=EG %s
3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=r600 -mcpu=rv710 -show-mc-encoding -o - | FileCheck --check-prefix=R600 %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker; EG: .long 257
6*9880d681SAndroid Build Coastguard Worker; EG: {{^}}call_fs:
7*9880d681SAndroid Build Coastguard Worker; EG: CALL_FS  ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x84]
8*9880d681SAndroid Build Coastguard Worker; R600: .long 257
9*9880d681SAndroid Build Coastguard Worker; R600: {{^}}call_fs:
10*9880d681SAndroid Build Coastguard Worker; R600:CALL_FS ; encoding: [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x89]
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker
13*9880d681SAndroid Build Coastguard Workerdefine amdgpu_vs void @call_fs() {
14*9880d681SAndroid Build Coastguard Worker  ret void
15*9880d681SAndroid Build Coastguard Worker}
16