mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
R600: Emit ISA for CALL_FS_* instructions
Reviewed-by: Vincent Lejeune <vljn@ovi.com> Tested-By: Aaron Watry <awatry@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5c8c24ed5
commit
58bf662c06
@ -262,7 +262,6 @@ void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||
}
|
||||
case AMDGPU::CF_CALL_FS_EG:
|
||||
case AMDGPU::CF_CALL_FS_R600:
|
||||
return;
|
||||
case AMDGPU::CF_TC_EG:
|
||||
case AMDGPU::CF_VC_EG:
|
||||
case AMDGPU::CF_TC_R600:
|
||||
|
15
test/CodeGen/R600/call_fs.ll
Normal file
15
test/CodeGen/R600/call_fs.ll
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
; RUN: llc < %s -march=r600 -mcpu=redwood -show-mc-encoding -o - | FileCheck --check-prefix=EG-CHECK %s
|
||||
; RUN: llc < %s -march=r600 -mcpu=rv710 -show-mc-encoding -o - | FileCheck --check-prefix=R600-CHECK %s
|
||||
|
||||
; EG-CHECK: @call_fs
|
||||
; EG-CHECK: CALL_FS ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x84]
|
||||
; R600-CHECK: @call_fs
|
||||
; R600-CHECK:CALL_FS ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x89]
|
||||
|
||||
|
||||
define void @call_fs() #0 {
|
||||
ret void
|
||||
}
|
||||
|
||||
attributes #0 = { "ShaderType"="1" } ; Vertex Shader
|
Loading…
x
Reference in New Issue
Block a user