mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
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
7d9df9376a
commit
a22d2b47f3
@ -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;
|
||||
}
|
||||
|
6
test/CodeGen/R600/cf_end.ll
Normal file
6
test/CodeGen/R600/cf_end.ll
Normal file
@ -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…
x
Reference in New Issue
Block a user