~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/x86-64-crc32.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
# Check 64bit crc32 in SSE4.2
 
2
 
 
3
        .text
 
4
foo:
 
5
 
 
6
crc32b (%rsi), %eax
 
7
crc32b (%rsi), %rax
 
8
crc32w (%rsi), %eax
 
9
crc32l (%rsi), %eax
 
10
crc32q (%rsi), %rax
 
11
crc32  %al, %eax
 
12
crc32b  %al, %eax
 
13
crc32  %al, %rax
 
14
crc32b  %al, %rax
 
15
crc32  %ax, %eax
 
16
crc32w  %ax, %eax
 
17
crc32  %eax, %eax
 
18
crc32l  %eax, %eax
 
19
crc32  %rax, %rax
 
20
crc32q  %rax, %rax
 
21
 
 
22
.intel_syntax noprefix
 
23
crc32  rax,byte ptr [rsi]
 
24
crc32  eax,byte ptr [rsi]
 
25
crc32  eax, word ptr [rsi]
 
26
crc32  eax,dword ptr [rsi]
 
27
crc32  rax,qword ptr [rsi]
 
28
crc32  eax,al
 
29
crc32  rax,al
 
30
crc32  eax, ax
 
31
crc32  eax,eax
 
32
crc32  rax,rax
 
33
 
 
34
.p2align 4,0