~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Thumb2/thumb2-tst.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
 
 
4
; 0x000000bb = 187
 
5
define i1 @f1(i32 %a) {
 
6
    %tmp = and i32 %a, 187
 
7
    %tmp1 = icmp ne i32 %tmp, 0
 
8
    ret i1 %tmp1
 
9
}
 
10
; CHECK: f1:
 
11
; CHECK:        tst.w   r0, #187
 
12
 
 
13
; 0x000000bb = 187
 
14
define i1 @f2(i32 %a) {
 
15
    %tmp = and i32 %a, 187
 
16
    %tmp1 = icmp eq i32 0, %tmp
 
17
    ret i1 %tmp1
 
18
}
 
19
; CHECK: f2:
 
20
; CHECK:        tst.w   r0, #187
 
21
 
 
22
; 0x00aa00aa = 11141290
 
23
define i1 @f3(i32 %a) {
 
24
    %tmp = and i32 %a, 11141290 
 
25
    %tmp1 = icmp eq i32 %tmp, 0
 
26
    ret i1 %tmp1
 
27
}
 
28
; CHECK: f3:
 
29
; CHECK:        tst.w   r0, #11141290
 
30
 
 
31
; 0x00aa00aa = 11141290
 
32
define i1 @f4(i32 %a) {
 
33
    %tmp = and i32 %a, 11141290 
 
34
    %tmp1 = icmp ne i32 0, %tmp
 
35
    ret i1 %tmp1
 
36
}
 
37
; CHECK: f4:
 
38
; CHECK:        tst.w   r0, #11141290
 
39
 
 
40
; 0xcc00cc00 = 3422604288
 
41
define i1 @f5(i32 %a) {
 
42
    %tmp = and i32 %a, 3422604288
 
43
    %tmp1 = icmp ne i32 %tmp, 0
 
44
    ret i1 %tmp1
 
45
}
 
46
; CHECK: f5:
 
47
; CHECK:        tst.w   r0, #-872363008
 
48
 
 
49
; 0xcc00cc00 = 3422604288
 
50
define i1 @f6(i32 %a) {
 
51
    %tmp = and i32 %a, 3422604288
 
52
    %tmp1 = icmp eq i32 0, %tmp
 
53
    ret i1 %tmp1
 
54
}
 
55
; CHECK: f6:
 
56
; CHECK:        tst.w   r0, #-872363008
 
57
 
 
58
; 0xdddddddd = 3722304989
 
59
define i1 @f7(i32 %a) {
 
60
    %tmp = and i32 %a, 3722304989
 
61
    %tmp1 = icmp eq i32 %tmp, 0
 
62
    ret i1 %tmp1
 
63
}
 
64
; CHECK: f7:
 
65
; CHECK:        tst.w   r0, #-572662307
 
66
 
 
67
; 0xdddddddd = 3722304989
 
68
define i1 @f8(i32 %a) {
 
69
    %tmp = and i32 %a, 3722304989
 
70
    %tmp1 = icmp ne i32 0, %tmp
 
71
    ret i1 %tmp1
 
72
}
 
73
; CHECK: f8:
 
74
; CHECK:        tst.w   r0, #-572662307
 
75
 
 
76
; 0x00110000 = 1114112
 
77
define i1 @f9(i32 %a) {
 
78
    %tmp = and i32 %a, 1114112
 
79
    %tmp1 = icmp ne i32 %tmp, 0
 
80
    ret i1 %tmp1
 
81
}
 
82
; CHECK: f9:
 
83
; CHECK:        tst.w   r0, #1114112
 
84
 
 
85
; 0x00110000 = 1114112
 
86
define i1 @f10(i32 %a) {
 
87
    %tmp = and i32 %a, 1114112
 
88
    %tmp1 = icmp eq i32 0, %tmp
 
89
    ret i1 %tmp1
 
90
}
 
91
; CHECK: f10:
 
92
; CHECK:        tst.w   r0, #1114112