R600: Fix encoding of CF_END_{EG, R600} instructions

The EOP bit was not being encoded.

llvm-svn: 180734
This commit is contained in:
Tom Stellard 2013-04-29 22:23:54 +00:00
parent 2b06530ed6
commit 8367067e02
2 changed files with 7 additions and 0 deletions

View File

@ -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;
}

View 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
}