~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/pack.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=+v6 | \
 
2
; RUN:   grep pkhbt | count 5
 
3
; RUN: llc < %s -march=arm -mattr=+v6 | \
 
4
; RUN:   grep pkhtb | count 4
 
5
 
 
6
define i32 @test1(i32 %X, i32 %Y) {
 
7
        %tmp1 = and i32 %X, 65535               ; <i32> [#uses=1]
 
8
        %tmp4 = shl i32 %Y, 16          ; <i32> [#uses=1]
 
9
        %tmp5 = or i32 %tmp4, %tmp1             ; <i32> [#uses=1]
 
10
        ret i32 %tmp5
 
11
}
 
12
 
 
13
define i32 @test1a(i32 %X, i32 %Y) {
 
14
        %tmp19 = and i32 %X, 65535              ; <i32> [#uses=1]
 
15
        %tmp37 = shl i32 %Y, 16         ; <i32> [#uses=1]
 
16
        %tmp5 = or i32 %tmp37, %tmp19           ; <i32> [#uses=1]
 
17
        ret i32 %tmp5
 
18
}
 
19
 
 
20
define i32 @test2(i32 %X, i32 %Y) {
 
21
        %tmp1 = and i32 %X, 65535               ; <i32> [#uses=1]
 
22
        %tmp3 = shl i32 %Y, 12          ; <i32> [#uses=1]
 
23
        %tmp4 = and i32 %tmp3, -65536           ; <i32> [#uses=1]
 
24
        %tmp57 = or i32 %tmp4, %tmp1            ; <i32> [#uses=1]
 
25
        ret i32 %tmp57
 
26
}
 
27
 
 
28
define i32 @test3(i32 %X, i32 %Y) {
 
29
        %tmp19 = and i32 %X, 65535              ; <i32> [#uses=1]
 
30
        %tmp37 = shl i32 %Y, 18         ; <i32> [#uses=1]
 
31
        %tmp5 = or i32 %tmp37, %tmp19           ; <i32> [#uses=1]
 
32
        ret i32 %tmp5
 
33
}
 
34
 
 
35
define i32 @test4(i32 %X, i32 %Y) {
 
36
        %tmp1 = and i32 %X, 65535               ; <i32> [#uses=1]
 
37
        %tmp3 = and i32 %Y, -65536              ; <i32> [#uses=1]
 
38
        %tmp46 = or i32 %tmp3, %tmp1            ; <i32> [#uses=1]
 
39
        ret i32 %tmp46
 
40
}
 
41
 
 
42
define i32 @test5(i32 %X, i32 %Y) {
 
43
        %tmp17 = and i32 %X, -65536             ; <i32> [#uses=1]
 
44
        %tmp2 = bitcast i32 %Y to i32           ; <i32> [#uses=1]
 
45
        %tmp4 = lshr i32 %tmp2, 16              ; <i32> [#uses=2]
 
46
        %tmp5 = or i32 %tmp4, %tmp17            ; <i32> [#uses=1]
 
47
        ret i32 %tmp5
 
48
}
 
49
 
 
50
define i32 @test5a(i32 %X, i32 %Y) {
 
51
        %tmp110 = and i32 %X, -65536            ; <i32> [#uses=1]
 
52
        %tmp37 = lshr i32 %Y, 16                ; <i32> [#uses=1]
 
53
        %tmp39 = bitcast i32 %tmp37 to i32              ; <i32> [#uses=1]
 
54
        %tmp5 = or i32 %tmp39, %tmp110          ; <i32> [#uses=1]
 
55
        ret i32 %tmp5
 
56
}
 
57
 
 
58
define i32 @test6(i32 %X, i32 %Y) {
 
59
        %tmp1 = and i32 %X, -65536              ; <i32> [#uses=1]
 
60
        %tmp37 = lshr i32 %Y, 12                ; <i32> [#uses=1]
 
61
        %tmp38 = bitcast i32 %tmp37 to i32              ; <i32> [#uses=1]
 
62
        %tmp4 = and i32 %tmp38, 65535           ; <i32> [#uses=1]
 
63
        %tmp59 = or i32 %tmp4, %tmp1            ; <i32> [#uses=1]
 
64
        ret i32 %tmp59
 
65
}
 
66
 
 
67
define i32 @test7(i32 %X, i32 %Y) {
 
68
        %tmp1 = and i32 %X, -65536              ; <i32> [#uses=1]
 
69
        %tmp3 = ashr i32 %Y, 18         ; <i32> [#uses=1]
 
70
        %tmp4 = and i32 %tmp3, 65535            ; <i32> [#uses=1]
 
71
        %tmp57 = or i32 %tmp4, %tmp1            ; <i32> [#uses=1]
 
72
        ret i32 %tmp57
 
73
}