Browse Source
Merge pull request #5146 from martin-frbg/issue5123
Fix "dummy2" flag reading in PPC970 S/DSCAL
tags/v0.3.30
Martin Kroeker
GitHub
7 months ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
kernel/power/scal.S
|
|
@@ -51,7 +51,7 @@ |
|
|
|
#else |
|
|
|
#define X r7 |
|
|
|
#define INCX r8 |
|
|
|
#define FLAG r12 |
|
|
|
#define FLAG r11 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
@@ -63,7 +63,7 @@ |
|
|
|
#else |
|
|
|
#define X r7 |
|
|
|
#define INCX r8 |
|
|
|
#define FLAG r12 |
|
|
|
#define FLAG r11 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
@@ -91,7 +91,7 @@ |
|
|
|
fcmpu cr0, FZERO, ALPHA |
|
|
|
bne- cr0, LL(A1I1) |
|
|
|
|
|
|
|
LDLONG FLAG, 48+64+8(SP) |
|
|
|
LDLONG FLAG, 104(SP) |
|
|
|
cmpwi cr0, FLAG, 1 |
|
|
|
beq- cr0, LL(A1I1) |
|
|
|
|
|
|
|