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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Thumb2/thumb2-rsb2.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=thumb -mattr=+thumb2 | FileCheck %s
 
2
 
 
3
; 171 = 0x000000ab
 
4
define i32 @f1(i32 %a) {
 
5
    %tmp = sub i32 171, %a
 
6
    ret i32 %tmp
 
7
}
 
8
; CHECK: f1:
 
9
; CHECK:        rsb.w   r0, r0, #171
 
10
 
 
11
; 1179666 = 0x00120012
 
12
define i32 @f2(i32 %a) {
 
13
    %tmp = sub i32 1179666, %a
 
14
    ret i32 %tmp
 
15
}
 
16
; CHECK: f2:
 
17
; CHECK:        rsb.w   r0, r0, #1179666
 
18
 
 
19
; 872428544 = 0x34003400
 
20
define i32 @f3(i32 %a) {
 
21
    %tmp = sub i32 872428544, %a
 
22
    ret i32 %tmp
 
23
}
 
24
; CHECK: f3:
 
25
; CHECK:        rsb.w   r0, r0, #872428544
 
26
 
 
27
; 1448498774 = 0x56565656
 
28
define i32 @f4(i32 %a) {
 
29
    %tmp = sub i32 1448498774, %a
 
30
    ret i32 %tmp
 
31
}
 
32
; CHECK: f4:
 
33
; CHECK:        rsb.w   r0, r0, #1448498774
 
34
 
 
35
; 66846720 = 0x03fc0000
 
36
define i32 @f5(i32 %a) {
 
37
    %tmp = sub i32 66846720, %a
 
38
    ret i32 %tmp
 
39
}
 
40
; CHECK: f5:
 
41
; CHECK:        rsb.w   r0, r0, #66846720