~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Thumb2/thumb2-cmn.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=thumb -mattr=+thumb2 | FileCheck %s
 
2
 
 
3
define i1 @f1(i32 %a, i32 %b) {
 
4
    %nb = sub i32 0, %b
 
5
    %tmp = icmp ne i32 %a, %nb
 
6
    ret i1 %tmp
 
7
}
 
8
; CHECK: f1:
 
9
; CHECK:        cmn.w   r0, r1
 
10
 
 
11
define i1 @f2(i32 %a, i32 %b) {
 
12
    %nb = sub i32 0, %b
 
13
    %tmp = icmp ne i32 %nb, %a
 
14
    ret i1 %tmp
 
15
}
 
16
; CHECK: f2:
 
17
; CHECK:        cmn.w   r0, r1
 
18
 
 
19
define i1 @f3(i32 %a, i32 %b) {
 
20
    %nb = sub i32 0, %b
 
21
    %tmp = icmp eq i32 %a, %nb
 
22
    ret i1 %tmp
 
23
}
 
24
; CHECK: f3:
 
25
; CHECK:        cmn.w   r0, r1
 
26
 
 
27
define i1 @f4(i32 %a, i32 %b) {
 
28
    %nb = sub i32 0, %b
 
29
    %tmp = icmp eq i32 %nb, %a
 
30
    ret i1 %tmp
 
31
}
 
32
; CHECK: f4:
 
33
; CHECK:        cmn.w   r0, r1
 
34
 
 
35
define i1 @f5(i32 %a, i32 %b) {
 
36
    %tmp = shl i32 %b, 5
 
37
    %nb = sub i32 0, %tmp
 
38
    %tmp1 = icmp eq i32 %nb, %a
 
39
    ret i1 %tmp1
 
40
}
 
41
; CHECK: f5:
 
42
; CHECK:        cmn.w   r0, r1, lsl #5
 
43
 
 
44
define i1 @f6(i32 %a, i32 %b) {
 
45
    %tmp = lshr i32 %b, 6
 
46
    %nb = sub i32 0, %tmp
 
47
    %tmp1 = icmp ne i32 %nb, %a
 
48
    ret i1 %tmp1
 
49
}
 
50
; CHECK: f6:
 
51
; CHECK:        cmn.w   r0, r1, lsr #6
 
52
 
 
53
define i1 @f7(i32 %a, i32 %b) {
 
54
    %tmp = ashr i32 %b, 7
 
55
    %nb = sub i32 0, %tmp
 
56
    %tmp1 = icmp eq i32 %a, %nb
 
57
    ret i1 %tmp1
 
58
}
 
59
; CHECK: f7:
 
60
; CHECK:        cmn.w   r0, r1, asr #7
 
61
 
 
62
define i1 @f8(i32 %a, i32 %b) {
 
63
    %l8 = shl i32 %a, 24
 
64
    %r8 = lshr i32 %a, 8
 
65
    %tmp = or i32 %l8, %r8
 
66
    %nb = sub i32 0, %tmp
 
67
    %tmp1 = icmp ne i32 %a, %nb
 
68
    ret i1 %tmp1
 
69
}
 
70
; CHECK: f8:
 
71
; CHECK:        cmn.w   r0, r0, ror #8
 
72