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
parent
commit
103b32fdb7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      kernel/x86/lsame.S

+ 2
- 2
kernel/x86/lsame.S 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


Loading…
Cancel
Save