~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/neon_minmax.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 -mcpu=cortex-a8 | FileCheck %s
 
2
 
 
3
define float @fmin_ole(float %x) nounwind {
 
4
;CHECK: fmin_ole:
 
5
;CHECK: vmin.f32
 
6
  %cond = fcmp ole float 1.0, %x
 
7
  %min1 = select i1 %cond, float 1.0, float %x
 
8
  ret float %min1
 
9
}
 
10
 
 
11
define float @fmin_ole_zero(float %x) nounwind {
 
12
;CHECK: fmin_ole_zero:
 
13
;CHECK-NOT: vmin.f32
 
14
  %cond = fcmp ole float 0.0, %x
 
15
  %min1 = select i1 %cond, float 0.0, float %x
 
16
  ret float %min1
 
17
}
 
18
 
 
19
define float @fmin_ult(float %x) nounwind {
 
20
;CHECK: fmin_ult:
 
21
;CHECK: vmin.f32
 
22
  %cond = fcmp ult float %x, 1.0
 
23
  %min1 = select i1 %cond, float %x, float 1.0
 
24
  ret float %min1
 
25
}
 
26
 
 
27
define float @fmax_ogt(float %x) nounwind {
 
28
;CHECK: fmax_ogt:
 
29
;CHECK: vmax.f32
 
30
  %cond = fcmp ogt float 1.0, %x
 
31
  %max1 = select i1 %cond, float 1.0, float %x
 
32
  ret float %max1
 
33
}
 
34
 
 
35
define float @fmax_uge(float %x) nounwind {
 
36
;CHECK: fmax_uge:
 
37
;CHECK: vmax.f32
 
38
  %cond = fcmp uge float %x, 1.0
 
39
  %max1 = select i1 %cond, float %x, float 1.0
 
40
  ret float %max1
 
41
}
 
42
 
 
43
define float @fmax_uge_zero(float %x) nounwind {
 
44
;CHECK: fmax_uge_zero:
 
45
;CHECK-NOT: vmax.f32
 
46
  %cond = fcmp uge float %x, 0.0
 
47
  %max1 = select i1 %cond, float %x, float 0.0
 
48
  ret float %max1
 
49
}
 
50
 
 
51
define float @fmax_olt_reverse(float %x) nounwind {
 
52
;CHECK: fmax_olt_reverse:
 
53
;CHECK: vmax.f32
 
54
  %cond = fcmp olt float %x, 1.0
 
55
  %max1 = select i1 %cond, float 1.0, float %x
 
56
  ret float %max1
 
57
}
 
58
 
 
59
define float @fmax_ule_reverse(float %x) nounwind {
 
60
;CHECK: fmax_ule_reverse:
 
61
;CHECK: vmax.f32
 
62
  %cond = fcmp ult float 1.0, %x
 
63
  %max1 = select i1 %cond, float %x, float 1.0
 
64
  ret float %max1
 
65
}
 
66
 
 
67
define float @fmin_oge_reverse(float %x) nounwind {
 
68
;CHECK: fmin_oge_reverse:
 
69
;CHECK: vmin.f32
 
70
  %cond = fcmp oge float %x, 1.0
 
71
  %min1 = select i1 %cond, float 1.0, float %x
 
72
  ret float %min1
 
73
}
 
74
 
 
75
define float @fmin_ugt_reverse(float %x) nounwind {
 
76
;CHECK: fmin_ugt_reverse:
 
77
;CHECK: vmin.f32
 
78
  %cond = fcmp ugt float 1.0, %x
 
79
  %min1 = select i1 %cond, float %x, float 1.0
 
80
  ret float %min1
 
81
}