~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to gas/testsuite/gas/hppa/basic/media.s

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .LEVEL 2.0
 
2
        .code
 
3
        .align 4
 
4
; PA2.0 multimedia (halfword) instruction tests
 
5
;
 
6
; We could/should test some of the corner cases for register and 
 
7
; immediate fields.  We should also check the assorted field
 
8
; selectors to make sure they're handled correctly.
 
9
 
 
10
        hadd %r7,%r11,%r12
 
11
        hadd,ss %r7,%r11,%r12
 
12
        hadd,us %r7,%r11,%r12
 
13
 
 
14
        havg %r7,%r11,%r12
 
15
        hshl %r7,13,%r11
 
16
        hshladd %r7,1,%r11,%r12
 
17
        hshladd %r7,2,%r11,%r12
 
18
        hshladd %r7,3,%r11,%r12
 
19
        hshr %r7,13,%r11
 
20
        hshr,s %r7,13,%r11
 
21
        hshr,u %r7,13,%r11
 
22
        hshradd %r7,1,%r11,%r12
 
23
        hshradd %r7,2,%r11,%r12
 
24
        hshradd %r7,3,%r11,%r12
 
25
 
 
26
        hsub %r14,%r22,%r9
 
27
        hsub,ss %r14,%r22,%r9
 
28
        hsub,us %r14,%r22,%r9
 
29
 
 
30
        mixh,l %r14,%r22,%r9
 
31
        mixh,r %r14,%r22,%r9
 
32
        mixw,l %r14,%r22,%r9
 
33
        mixw,r %r14,%r22,%r9
 
34
 
 
35
        permh,0321 %r22,%r9
 
36
        permh,2222 %r22,%r9
 
37
        permh,3030 %r22,%r9
 
38