mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix a typo in asm string of BP* family of instructions. With this fix
I am able to compile/assemble/link/run /bin/echo from FreeBSD. llvm-svn: 183537
This commit is contained in:
parent
8be98a268d
commit
8439b144e6
@ -308,7 +308,7 @@ let Predicates = [Is64Bit] in {
|
||||
|
||||
let Uses = [ICC] in
|
||||
def BPXCC : BranchSP<0, (ins brtarget:$dst, CCOp:$cc),
|
||||
"bp$cc %xcc, $dst",
|
||||
"b$cc %xcc, $dst",
|
||||
[(SPbrxcc bb:$dst, imm:$cc)]>;
|
||||
|
||||
// Conditional moves on %xcc.
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
; CHECK: cmpri
|
||||
; CHECK: cmp %i1, 1
|
||||
; CHECK: bpe %xcc,
|
||||
; CHECK: be %xcc,
|
||||
define void @cmpri(i64* %p, i64 %x) {
|
||||
entry:
|
||||
%tobool = icmp eq i64 %x, 1
|
||||
@ -19,7 +19,7 @@ if.end:
|
||||
|
||||
; CHECK: cmprr
|
||||
; CHECK: cmp %i1, %i2
|
||||
; CHECK: bpgu %xcc,
|
||||
; CHECK: bgu %xcc,
|
||||
define void @cmprr(i64* %p, i64 %x, i64 %y) {
|
||||
entry:
|
||||
%tobool = icmp ugt i64 %x, %y
|
||||
|
Loading…
Reference in New Issue
Block a user