Browse Source

make NAN handling depend on dummy2 parameter

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

+ 10
- 3
kernel/power/scal.S View File

@@ -47,9 +47,11 @@
#ifndef __64BIT__
#define X r6
#define INCX r7
#define FLAG r11
#else
#define X r7
#define INCX r8
#define FLAG r12
#endif
#endif

@@ -57,9 +59,11 @@
#if !defined(__64BIT__) && defined(DOUBLE)
#define X r8
#define INCX r9
#define FLAG r13
#else
#define X r7
#define INCX r8
#define FLAG r12
#endif
#endif

@@ -84,9 +88,12 @@
cmpwi cr0, N, 0
blelr- cr0

// fcmpu cr0, FZERO, ALPHA
// bne- cr0, LL(A1I1)
b LL(A1I1)
fcmpu cr0, FZERO, ALPHA
bne- cr0, LL(A1I1)

ld FLAG, 48+64+8(SP)
cmpwi cr0, FLAG, 1
beq- cr0, LL(A1I1)

cmpwi cr0, INCX, SIZE
bne- cr0, LL(A0IN)


Loading…
Cancel
Save