Fix unwanted case-sensitivity in x86 LSAME for (AMD) processors without CMOV

Problem was already noticed some years ago in #238, but back then the problem was only corrected in one of the #ifdef branches.
Fixes #2214
This commit is contained in:
Martin Kroeker
2019-08-13 10:19:10 +02:00
committed by GitHub
parent abea977ded
commit aef9804089

View File

@@ -56,13 +56,13 @@
#ifndef HAVE_CMOV
movl %eax, %ecx
subl $32, %ecx
jle .L1
jl .L1
movl %ecx, %eax
.L1:
movl %edx, %ecx
subl $32, %ecx
jle .L2
jl .L2
movl %ecx, %edx
.L2:
subl %eax, %edx