File: x86-64-inval-avx512f.s

package info (click to toggle)
binutils 2.31.1-16
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 309,412 kB
  • sloc: ansic: 1,161,194; asm: 638,508; cpp: 128,829; exp: 68,580; makefile: 55,828; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (56 lines) | stat: -rw-r--r-- 1,414 bytes parent folder | download | duplicates (5)
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
# Check illegal AVX512F instructions
	.text
	.allow_index_reg
_start:
	mov {sae}, %rax{%k1}
	mov {sae}, %rax
	mov %rbx, %rax{%k2}
	vaddps %zmm3, %zmm1, %zmm2{z}{%k1}{z}
	vaddps %zmm3, %zmm1{%k3}, %zmm2{z}
	vaddps %zmm3, %zmm1{%k1}, %zmm2{%k2}

	vcvtps2pd (%rax), %zmm1{1to8}
	vcvtps2pd (%rax){1to16}, %zmm1

	vcvtps2pd (%rax){%k1}, %zmm1
	vcvtps2pd (%rax){z}, %zmm1

	vgatherqpd (%rdi),%zmm6{%k1}
	vgatherqpd (%zmm2),%zmm6{%k1}
	vpscatterdd %zmm6,(%rdi){%k1}
	vpscatterdd %zmm6,(%zmm2){%k1}

	.intel_syntax noprefix
	mov rax{k1}, {sae}
	mov rax, {sae}
	mov rax{k2}, rbx
	vaddps zmm2{z}{k1}{z}, zmm1, zmm3
	vaddps zmm2{z}, zmm1{k3}, zmm3
	vaddps zmm2{k2}, zmm1{k1}, zmm3

	vcvtps2pd zmm1{1to8}, [rax]
	vcvtps2pd zmm1, [rax]{1to16}

	vcvtps2pd zmm1, [rax]{k1}
	vcvtps2pd zmm1, [rax]{z}

	vgatherqpd zmm6{k1}, ZMMWORD PTR [rdi]
	vgatherqpd zmm6{k1}, ZMMWORD PTR [zmm2+riz]
	vpscatterdd ZMMWORD PTR [rdi]{k1}, zmm6
	vpscatterdd ZMMWORD PTR [zmm2+riz]{k1}, zmm6

	vaddps zmm2, zmm1, QWORD PTR [rax]{1to8}
	vaddps zmm2, zmm1, QWORD PTR [rax]{1to16}
	vaddpd zmm2, zmm1, DWORD PTR [rax]{1to8}
	vaddpd zmm2, zmm1, DWORD PTR [rax]{1to16}
	vaddps zmm2, zmm1, ZMMWORD PTR [rax]{1to16}
	vaddps zmm2, zmm1, DWORD PTR [rax]
	vaddpd zmm2, zmm1, QWORD PTR [rax]

	.att_syntax prefix
	vaddps %zmm0, %zmm1, %zmm2{%rcx}
	vaddps %zmm0, %zmm1, %zmm2{z}

	.intel_syntax noprefix
	vaddps zmm2{rcx}, zmm1, zmm0
	vaddps zmm2{z}, zmm1, zmm0