Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37911583
en ru br
ALT Linux repos
S:1.11.2-alt1
5.0: 0.13-alt1
4.1: 0.13-alt1

Group :: System/Kernel and hardware
RPM: bandwidth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: bandwidth-1.11.2-alt-ix86.patch
Download


--- utility-x86-32bit.asm~	2021-10-25 23:23:52.000000000 +0000
+++ utility-x86-32bit.asm	2022-04-15 18:47:14.917799940 +0000
@@ -29,6 +29,7 @@
 global  _get_cpuid_cache_info
 global	_get_cpuid7_ebx
 global	_get_cpuid7_ecx
+global	_get_cpuid7_edx
 
 global	get_cpuid1_ecx
 global	get_cpuid1_edx
@@ -38,6 +39,7 @@
 global  get_cpuid_cache_info
 global	get_cpuid7_ebx
 global	get_cpuid7_ecx
+global	get_cpuid7_edx
 
 	section .text
 
@@ -126,6 +128,23 @@
 	push	ebx
 	push 	ecx
 	push 	edx
+	mov	eax, 7
+	xor	ecx, ecx
+	cpuid
+        mov	eax, ecx
+	pop	edx
+	pop	ecx
+	pop	ebx
+	ret
+
+;------------------------------------------------------------------------------
+; Name:		get_cpuid7_edx
+; 
+get_cpuid7_edx:
+_get_cpuid7_edx:
+	push	ebx
+	push 	ecx
+	push 	edx
 	mov	eax, 7
 	xor	ecx, ecx
 	cpuid
--- routines-x86-32bit.asm~	2021-10-25 23:23:52.000000000 +0000
+++ routines-x86-32bit.asm	2022-04-15 17:26:28.346003309 +0000
@@ -1663,7 +1663,7 @@
 
 	mov	eax, [esp + 4]
 .L1:
-	# 32 transfers
+	; 32 transfers
 	vmovdqa	ymm0, ymm1
 	vmovdqa	ymm0, ymm2
 	vmovdqa	ymm0, ymm3
@@ -1715,7 +1715,7 @@
 _VectorToVector128:
 	mov	eax, [esp + 4]
 .L1:
-	# 32 transfers
+	; 32 transfers
 	movdqa	xmm0, xmm1
 	movdqa	xmm0, xmm2
 	movdqa	xmm0, xmm3
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin