~ubuntu-branches/ubuntu/maverick/clamav/maverick-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/bits.ll

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran, Stephen Gran, Michael Tautschnig
  • Date: 2010-04-26 21:41:18 UTC
  • mfrom: (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100426214118-i6lo606wnh7ywfj6
Tags: 0.96+dfsg-4
[ Stephen Gran ]
* Fixed typo in clamav-milter's postinst

[ Michael Tautschnig ]
* Fixed typo in clamav-freshclam's postinst (closes: #579271)
* Debconf translation updates
  - Portuguese (closes: #579068)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=arm > %t
 
2
; RUN: grep and      %t | count 1
 
3
; RUN: grep orr      %t | count 1
 
4
; RUN: grep eor      %t | count 1
 
5
; RUN: grep mov.*lsl %t | count 1
 
6
; RUN: grep mov.*asr %t | count 1
 
7
 
 
8
define i32 @f1(i32 %a, i32 %b) {
 
9
entry:
 
10
        %tmp2 = and i32 %b, %a          ; <i32> [#uses=1]
 
11
        ret i32 %tmp2
 
12
}
 
13
 
 
14
define i32 @f2(i32 %a, i32 %b) {
 
15
entry:
 
16
        %tmp2 = or i32 %b, %a           ; <i32> [#uses=1]
 
17
        ret i32 %tmp2
 
18
}
 
19
 
 
20
define i32 @f3(i32 %a, i32 %b) {
 
21
entry:
 
22
        %tmp2 = xor i32 %b, %a          ; <i32> [#uses=1]
 
23
        ret i32 %tmp2
 
24
}
 
25
 
 
26
define i32 @f4(i32 %a, i32 %b) {
 
27
entry:
 
28
        %tmp3 = shl i32 %a, %b          ; <i32> [#uses=1]
 
29
        ret i32 %tmp3
 
30
}
 
31
 
 
32
define i32 @f5(i32 %a, i32 %b) {
 
33
entry:
 
34
        %tmp3 = ashr i32 %a, %b         ; <i32> [#uses=1]
 
35
        ret i32 %tmp3
 
36
}