Browse Source
Merge pull request #2216 from martin-frbg/issue2214
Remove case-sensitivity in x86 LSAME on (AMD) cpus without CMOV
tags/v0.3.8^2
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
kernel/x86/lsame.S
|
|
|
@@ -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 |
|
|
|
|