~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/i386/sse4_2.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Streaming SIMD extensions 4.2 Instructions
 
2
 
 
3
        .text
 
4
foo:
 
5
        crc32           %cl,%ebx
 
6
        crc32           %cx,%ebx
 
7
        crc32           %ecx,%ebx
 
8
        crc32b          (%ecx),%ebx
 
9
        crc32w          (%ecx),%ebx
 
10
        crc32l          (%ecx),%ebx
 
11
        crc32b          %cl,%ebx
 
12
        crc32w          %cx,%ebx
 
13
        crc32l          %ecx,%ebx
 
14
        pcmpgtq         (%ecx),%xmm0
 
15
        pcmpgtq         %xmm1,%xmm0
 
16
        pcmpestri       $0x0,(%ecx),%xmm0
 
17
        pcmpestri       $0x0,%xmm1,%xmm0
 
18
        pcmpestrm       $0x1,(%ecx),%xmm0
 
19
        pcmpestrm       $0x1,%xmm1,%xmm0
 
20
        pcmpistri       $0x2,(%ecx),%xmm0
 
21
        pcmpistri       $0x2,%xmm1,%xmm0
 
22
        pcmpistrm       $0x3,(%ecx),%xmm0
 
23
        pcmpistrm       $0x3,%xmm1,%xmm0
 
24
        popcnt          (%ecx),%bx
 
25
        popcnt          (%ecx),%ebx
 
26
        popcntw         (%ecx),%bx
 
27
        popcntl         (%ecx),%ebx
 
28
        popcnt          %cx,%bx
 
29
        popcnt          %ecx,%ebx
 
30
        popcntw         %cx,%bx
 
31
        popcntl         %ecx,%ebx
 
32
 
 
33
 
 
34
        .intel_syntax noprefix
 
35
        crc32  ebx,cl
 
36
        crc32  ebx,cx
 
37
        crc32  ebx,ecx
 
38
        crc32  ebx,BYTE PTR [ecx]
 
39
        crc32  ebx,WORD PTR [ecx]
 
40
        crc32  ebx,DWORD PTR [ecx]
 
41
        crc32  ebx,cl
 
42
        crc32  ebx,cx
 
43
        crc32  ebx,ecx
 
44
        pcmpgtq xmm0,XMMWORD PTR [ecx]
 
45
        pcmpgtq xmm0,xmm1
 
46
        pcmpestri xmm0,XMMWORD PTR [ecx],0x0
 
47
        pcmpestri xmm0,xmm1,0x0
 
48
        pcmpestrm xmm0,XMMWORD PTR [ecx],0x1
 
49
        pcmpestrm xmm0,xmm1,0x1
 
50
        pcmpistri xmm0,XMMWORD PTR [ecx],0x2
 
51
        pcmpistri xmm0,xmm1,0x2
 
52
        pcmpistrm xmm0,XMMWORD PTR [ecx],0x3
 
53
        pcmpistrm xmm0,xmm1,0x3
 
54
        popcnt bx,WORD PTR [ecx]
 
55
        popcnt ebx,DWORD PTR [ecx]
 
56
        popcnt bx,WORD PTR [ecx]
 
57
        popcnt ebx,DWORD PTR [ecx]
 
58
        popcnt bx,cx
 
59
        popcnt ebx,ecx
 
60
        popcnt bx,cx
 
61
        popcnt ebx,ecx
 
62
 
 
63
        .p2align        4,0