mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
R600: Fix encoding of CF_END_{EG, R600} instructions
The EOP bit was not being encoded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
8393b99ed0
commit
015f586bc9
2 files changed
+7
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user