mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[X86] Fix copy paste mistake in @ccnp flag.
We were treating @ccp and @ccnp the same.
This commit is contained in:
parent
2ad28d9322
commit
e9b884a465
@ -49954,7 +49954,7 @@ static X86::CondCode parseConstraintCode(llvm::StringRef Constraint) {
|
||||
.Case("{@ccnl}", X86::COND_GE)
|
||||
.Case("{@ccnle}", X86::COND_G)
|
||||
.Case("{@ccno}", X86::COND_NO)
|
||||
.Case("{@ccnp}", X86::COND_P)
|
||||
.Case("{@ccnp}", X86::COND_NP)
|
||||
.Case("{@ccns}", X86::COND_NS)
|
||||
.Case("{@cco}", X86::COND_O)
|
||||
.Case("{@ccp}", X86::COND_P)
|
||||
|
@ -726,7 +726,7 @@ define i32 @test_ccnp(i64 %nr, i64* %addr) nounwind {
|
||||
; X32-NEXT: #APP
|
||||
; X32-NEXT: cmp %ecx,(%esi)
|
||||
; X32-NEXT: #NO_APP
|
||||
; X32-NEXT: setp %al
|
||||
; X32-NEXT: setnp %al
|
||||
; X32-NEXT: popl %esi
|
||||
; X32-NEXT: retl
|
||||
;
|
||||
@ -736,7 +736,7 @@ define i32 @test_ccnp(i64 %nr, i64* %addr) nounwind {
|
||||
; X64-NEXT: #APP
|
||||
; X64-NEXT: cmp %rdi,(%rsi)
|
||||
; X64-NEXT: #NO_APP
|
||||
; X64-NEXT: setp %al
|
||||
; X64-NEXT: setnp %al
|
||||
; X64-NEXT: retq
|
||||
entry:
|
||||
%cc = tail call i32 asm "cmp $2,$1", "={@ccnp},=*m,r,~{cc},~{dirflag},~{fpsr},~{flags}"(i64* %addr, i64 %nr) nounwind
|
||||
|
Loading…
Reference in New Issue
Block a user