File: sse4_2.s

package info (click to toggle)
binutils-riscv64-unknown-elf 2.32.2019.08+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 413,812 kB
  • sloc: ansic: 2,327,452; asm: 982,944; exp: 218,246; cpp: 147,855; makefile: 63,075; sh: 33,816; yacc: 27,082; lisp: 15,389; perl: 6,480; xml: 5,239; ada: 5,117; python: 4,996; pascal: 3,266; lex: 2,272; cs: 879; f90: 535; sed: 334; awk: 165; objc: 134; fortran: 43
file content (63 lines) | stat: -rw-r--r-- 1,345 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Streaming SIMD extensions 4.2 Instructions

	.text
foo:
	crc32		%cl,%ebx
	crc32		%cx,%ebx
	crc32		%ecx,%ebx
	crc32b		(%ecx),%ebx
	crc32w		(%ecx),%ebx
	crc32l		(%ecx),%ebx
	crc32b		%cl,%ebx
	crc32w		%cx,%ebx
	crc32l		%ecx,%ebx
	pcmpgtq		(%ecx),%xmm0
	pcmpgtq		%xmm1,%xmm0
	pcmpestri	$0x0,(%ecx),%xmm0
	pcmpestri	$0x0,%xmm1,%xmm0
	pcmpestrm	$0x1,(%ecx),%xmm0
	pcmpestrm	$0x1,%xmm1,%xmm0
	pcmpistri	$0x2,(%ecx),%xmm0
	pcmpistri	$0x2,%xmm1,%xmm0
	pcmpistrm	$0x3,(%ecx),%xmm0
	pcmpistrm	$0x3,%xmm1,%xmm0
	popcnt		(%ecx),%bx
	popcnt		(%ecx),%ebx
	popcntw		(%ecx),%bx
	popcntl		(%ecx),%ebx
	popcnt		%cx,%bx
	popcnt		%ecx,%ebx
	popcntw		%cx,%bx
	popcntl		%ecx,%ebx


	.intel_syntax noprefix
	crc32  ebx,cl
	crc32  ebx,cx
	crc32  ebx,ecx
	crc32  ebx,BYTE PTR [ecx]
	crc32  ebx,WORD PTR [ecx]
	crc32  ebx,DWORD PTR [ecx]
	crc32  ebx,cl
	crc32  ebx,cx
	crc32  ebx,ecx
	pcmpgtq xmm0,XMMWORD PTR [ecx]
	pcmpgtq xmm0,xmm1
	pcmpestri xmm0,XMMWORD PTR [ecx],0x0
	pcmpestri xmm0,xmm1,0x0
	pcmpestrm xmm0,XMMWORD PTR [ecx],0x1
	pcmpestrm xmm0,xmm1,0x1
	pcmpistri xmm0,XMMWORD PTR [ecx],0x2
	pcmpistri xmm0,xmm1,0x2
	pcmpistrm xmm0,XMMWORD PTR [ecx],0x3
	pcmpistrm xmm0,xmm1,0x3
	popcnt bx,WORD PTR [ecx]
	popcnt ebx,DWORD PTR [ecx]
	popcnt bx,WORD PTR [ecx]
	popcnt ebx,DWORD PTR [ecx]
	popcnt bx,cx
	popcnt ebx,ecx
	popcnt bx,cx
	popcnt ebx,ecx

	.p2align	4,0