Skip to content

Commit 9e24121

Browse files
authored
temporarily(?) disable da=0 shortcut to handle x=Inf or NAN
1 parent a11f086 commit 9e24121

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kernel/x86/scal.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@
6868
ftst
6969
fnstsw %ax
7070
andb $68, %ah
71-
je .L300 # Alpha != ZERO
71+
// je .L300 # Alpha != ZERO
72+
jmp .L300
7273

7374
/* Alpha == ZERO */
74-
// cmpl $1,%esi
75-
// jne .L104
76-
jmp .L104
75+
cmpl $1,%esi
76+
jne .L104
7777

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

0 commit comments

Comments
 (0)