You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
25
external/llvm/test/CodeGen/ARM/fpcmp_ueq.ll
vendored
25
external/llvm/test/CodeGen/ARM/fpcmp_ueq.ll
vendored
@ -1,25 +0,0 @@
|
||||
; RUN: llc -mtriple arm-apple-darwin -filetype asm -o - %s | FileCheck -check-prefix CHECK-ARMv4 %s
|
||||
; RUN: llc -mtriple armv7-apple-darwin -mcpu=cortex-a8 -filetype asm -o - %s | FileCheck -check-prefix CHECK-ARMv7 %s
|
||||
|
||||
define i32 @f7(float %a, float %b) {
|
||||
entry:
|
||||
%tmp = fcmp ueq float %a,%b
|
||||
%retval = select i1 %tmp, i32 666, i32 42
|
||||
ret i32 %retval
|
||||
}
|
||||
|
||||
; CHECK-ARMv4-LABEL: f7:
|
||||
; CHECK-ARMv4-DAG: bl ___eqsf2
|
||||
; CHECK-ARMv4-DAG: bl ___unordsf2
|
||||
; CHECK-ARMv4: cmp r0, #0
|
||||
; CHECK-ARMv4: movne r0, #1
|
||||
; CHECK-ARMv4: orrs r0, r0,
|
||||
; CHECK-ARMv4: moveq r0, #42
|
||||
|
||||
; CHECK-ARMv7-LABEL: f7:
|
||||
; CHECK-ARMv7: vcmp.f32
|
||||
; CHECK-ARMv7: vmrs APSR_nzcv, fpscr
|
||||
; CHECK-ARMv7: movweq
|
||||
; CHECK-ARMv7-NOT: vmrs
|
||||
; CHECK-ARMv7: movwvs
|
||||
|
Reference in New Issue
Block a user