~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/h-register-store.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (1.39.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 11.
  • 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
; RUN: llc < %s -march=x86-64 > %t
 
2
; RUN: grep mov %t | count 6
 
3
; RUN: grep {movb       %ah, (%rsi)} %t | count 3
 
4
; RUN: llc < %s -march=x86 > %t
 
5
; RUN: grep mov %t | count 3
 
6
; RUN: grep {movb       %ah, (%e} %t | count 3
 
7
 
 
8
; Use h-register extract and store.
 
9
 
 
10
define void @foo16(i16 inreg %p, i8* inreg %z) nounwind {
 
11
  %q = lshr i16 %p, 8
 
12
  %t = trunc i16 %q to i8
 
13
  store i8 %t, i8* %z
 
14
  ret void
 
15
}
 
16
define void @foo32(i32 inreg %p, i8* inreg %z) nounwind {
 
17
  %q = lshr i32 %p, 8
 
18
  %t = trunc i32 %q to i8
 
19
  store i8 %t, i8* %z
 
20
  ret void
 
21
}
 
22
define void @foo64(i64 inreg %p, i8* inreg %z) nounwind {
 
23
  %q = lshr i64 %p, 8
 
24
  %t = trunc i64 %q to i8
 
25
  store i8 %t, i8* %z
 
26
  ret void
 
27
}