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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/fmacs.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=+vfp2 | FileCheck %s -check-prefix=VFP2
 
2
; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=1 | FileCheck %s -check-prefix=NFP1
 
3
; RUN: llc < %s -march=arm -mattr=+neon -arm-use-neon-fp=0 | FileCheck %s -check-prefix=NFP0
 
4
; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
 
5
; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s -check-prefix=CORTEXA9
 
6
 
 
7
define float @test(float %acc, float %a, float %b) {
 
8
entry:
 
9
        %0 = fmul float %a, %b
 
10
        %1 = fadd float %acc, %0
 
11
        ret float %1
 
12
}
 
13
 
 
14
; VFP2: test:
 
15
; VFP2:         vmla.f32        s2, s1, s0
 
16
 
 
17
; NFP1: test:
 
18
; NFP1:         vmul.f32        d0, d1, d0
 
19
; NFP0: test:
 
20
; NFP0:         vmla.f32        s2, s1, s0
 
21
 
 
22
; CORTEXA8: test:
 
23
; CORTEXA8:     vmul.f32        d0, d1, d0
 
24
; CORTEXA9: test:
 
25
; CORTEXA9:     vmla.f32        s2, s1, s0