[PATCH] Fix typo in z13 bdiv_dbm1c.

Stefan Liebler stli at linux.ibm.com
Thu Sep 28 16:26:18 CEST 2023


The returned limb was retrieved from v6 instead of v2.
This is also observable in failing testcase t-fat.
---
 mpn/s390_64/z13/bdiv_dbm1c.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpn/s390_64/z13/bdiv_dbm1c.asm b/mpn/s390_64/z13/bdiv_dbm1c.asm
index 76dd4ec2a..3998debe8 100644
--- a/mpn/s390_64/z13/bdiv_dbm1c.asm
+++ b/mpn/s390_64/z13/bdiv_dbm1c.asm
@@ -86,7 +86,7 @@ L(top):	lg	%r1, 0(idx,up)
 	la	idx, 16(idx)
 	brctg	n, L(top)
 
-L(end):	vlgvg	%r2, %v6, 0
+L(end):	vlgvg	%r2, %v2, 0
 	lmg	%r6, %r9, 48(%r15)
 	br	%r14
 EPILOGUE()
-- 
2.41.0



More information about the gmp-devel mailing list