~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Thumb2/thumb2-rev16.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
; XFAIL: *
 
2
; fixme rev16 pattern is not matching
 
3
 
 
4
; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep {rev16\\W*r\[0-9\]*,\\W*r\[0-9\]*} | count 1
 
5
 
 
6
; 0xff00ff00 = 4278255360
 
7
; 0x00ff00ff = 16711935
 
8
define i32 @f1(i32 %a) {
 
9
    %l8 = shl i32 %a, 8
 
10
    %r8 = lshr i32 %a, 8
 
11
    %mask_l8 = and i32 %l8, 4278255360
 
12
    %mask_r8 = and i32 %r8, 16711935
 
13
    %tmp = or i32 %mask_l8, %mask_r8
 
14
    ret i32 %tmp
 
15
}
 
16
 
 
17
; 0xff000000 = 4278190080
 
18
; 0x00ff0000 = 16711680
 
19
; 0x0000ff00 = 65280
 
20
; 0x000000ff = 255
 
21
define i32 @f2(i32 %a) {
 
22
    %l8 = shl i32 %a, 8
 
23
    %r8 = lshr i32 %a, 8
 
24
    %masklo_l8 = and i32 %l8, 65280
 
25
    %maskhi_l8 = and i32 %l8, 4278190080
 
26
    %masklo_r8 = and i32 %r8, 255
 
27
    %maskhi_r8 = and i32 %r8, 16711680
 
28
    %tmp1 = or i32 %masklo_l8, %masklo_r8
 
29
    %tmp2 = or i32 %maskhi_l8, %maskhi_r8
 
30
    %tmp = or i32 %tmp1, %tmp2
 
31
    ret i32 %tmp
 
32
}