forked from OSchip/llvm-project
R600: Fix encoding of CF_END_{EG, R600} instructions
The EOP bit was not being encoded. llvm-svn: 180734
This commit is contained in:
parent
2b06530ed6
commit
8367067e02
|
@ -906,6 +906,7 @@ class CF_WORD1_EG {
|
|||
let Word1{9-8} = COND;
|
||||
let Word1{15-10} = COUNT;
|
||||
let Word1{20} = VALID_PIXEL_MODE;
|
||||
let Word1{21} = END_OF_PROGRAM;
|
||||
let Word1{29-22} = CF_INST;
|
||||
let Word1{31} = BARRIER;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
; RUN: llc < %s -march=r600 -mcpu=redwood --show-mc-encoding | FileCheck %s
|
||||
|
||||
; CHECK: CF_END ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x80]
|
||||
define void @eop() {
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue