~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/fpcmp.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s
 
2
 
 
3
define i32 @f1(float %a) {
 
4
;CHECK: f1:
 
5
;CHECK: vcmpe.f32
 
6
;CHECK: movmi
 
7
entry:
 
8
        %tmp = fcmp olt float %a, 1.000000e+00          ; <i1> [#uses=1]
 
9
        %tmp1 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
10
        ret i32 %tmp1
 
11
}
 
12
 
 
13
define i32 @f2(float %a) {
 
14
;CHECK: f2:
 
15
;CHECK: vcmpe.f32
 
16
;CHECK: moveq
 
17
entry:
 
18
        %tmp = fcmp oeq float %a, 1.000000e+00          ; <i1> [#uses=1]
 
19
        %tmp2 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
20
        ret i32 %tmp2
 
21
}
 
22
 
 
23
define i32 @f3(float %a) {
 
24
;CHECK: f3:
 
25
;CHECK: vcmpe.f32
 
26
;CHECK: movgt
 
27
entry:
 
28
        %tmp = fcmp ogt float %a, 1.000000e+00          ; <i1> [#uses=1]
 
29
        %tmp3 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
30
        ret i32 %tmp3
 
31
}
 
32
 
 
33
define i32 @f4(float %a) {
 
34
;CHECK: f4:
 
35
;CHECK: vcmpe.f32
 
36
;CHECK: movge
 
37
entry:
 
38
        %tmp = fcmp oge float %a, 1.000000e+00          ; <i1> [#uses=1]
 
39
        %tmp4 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
40
        ret i32 %tmp4
 
41
}
 
42
 
 
43
define i32 @f5(float %a) {
 
44
;CHECK: f5:
 
45
;CHECK: vcmpe.f32
 
46
;CHECK: movls
 
47
entry:
 
48
        %tmp = fcmp ole float %a, 1.000000e+00          ; <i1> [#uses=1]
 
49
        %tmp5 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
50
        ret i32 %tmp5
 
51
}
 
52
 
 
53
define i32 @f6(float %a) {
 
54
;CHECK: f6:
 
55
;CHECK: vcmpe.f32
 
56
;CHECK: movne
 
57
entry:
 
58
        %tmp = fcmp une float %a, 1.000000e+00          ; <i1> [#uses=1]
 
59
        %tmp6 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
60
        ret i32 %tmp6
 
61
}
 
62
 
 
63
define i32 @g1(double %a) {
 
64
;CHECK: g1:
 
65
;CHECK: vcmpe.f64
 
66
;CHECK: movmi
 
67
entry:
 
68
        %tmp = fcmp olt double %a, 1.000000e+00         ; <i1> [#uses=1]
 
69
        %tmp7 = zext i1 %tmp to i32              ; <i32> [#uses=1]
 
70
        ret i32 %tmp7
 
71
}