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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/neon_ld1.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 -mattr=+neon | grep vldr.64 | count 4
 
2
; RUN: llc < %s -march=arm -mattr=+neon | grep vstr.64
 
3
; RUN: llc < %s -march=arm -mattr=+neon | grep vmov
 
4
 
 
5
define void @t1(<2 x i32>* %r, <4 x i16>* %a, <4 x i16>* %b) nounwind {
 
6
entry:
 
7
        %0 = load <4 x i16>* %a, align 8                ; <<4 x i16>> [#uses=1]
 
8
        %1 = load <4 x i16>* %b, align 8                ; <<4 x i16>> [#uses=1]
 
9
        %2 = add <4 x i16> %0, %1               ; <<4 x i16>> [#uses=1]
 
10
        %3 = bitcast <4 x i16> %2 to <2 x i32>          ; <<2 x i32>> [#uses=1]
 
11
        store <2 x i32> %3, <2 x i32>* %r, align 8
 
12
        ret void
 
13
}
 
14
 
 
15
define <2 x i32> @t2(<4 x i16>* %a, <4 x i16>* %b) nounwind readonly {
 
16
entry:
 
17
        %0 = load <4 x i16>* %a, align 8                ; <<4 x i16>> [#uses=1]
 
18
        %1 = load <4 x i16>* %b, align 8                ; <<4 x i16>> [#uses=1]
 
19
        %2 = sub <4 x i16> %0, %1               ; <<4 x i16>> [#uses=1]
 
20
        %3 = bitcast <4 x i16> %2 to <2 x i32>          ; <<2 x i32>> [#uses=1]
 
21
        ret <2 x i32> %3
 
22
}