Browse Source

temporarily(?) disable da=0 shortcut to handle x=Inf or NAN

tags/v0.3.28^2
Martin Kroeker GitHub 1 year ago
parent
commit
9e24121e7e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      kernel/x86/scal.S

+ 4
- 4
kernel/x86/scal.S View File

@@ -68,12 +68,12 @@
ftst
fnstsw %ax
andb $68, %ah
je .L300 # Alpha != ZERO
// je .L300 # Alpha != ZERO
jmp .L300

/* Alpha == ZERO */
// cmpl $1,%esi
// jne .L104
jmp .L104
cmpl $1,%esi
jne .L104

movl %edx, %ecx # ecx = n
sarl $3, %ecx # (n >> 3)


Loading…
Cancel
Save