We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4879e commit b9bfc8cCopy full SHA for b9bfc8c
kernel/power/scal.S
@@ -47,19 +47,23 @@
47
#ifndef __64BIT__
48
#define X r6
49
#define INCX r7
50
+#define FLAG r11
51
#else
52
#define X r7
53
#define INCX r8
54
+#define FLAG r12
55
#endif
56
57
58
#if defined(_AIX) || defined(__APPLE__)
59
#if !defined(__64BIT__) && defined(DOUBLE)
60
#define X r8
61
#define INCX r9
62
+#define FLAG r13
63
64
65
66
67
68
69
@@ -84,9 +88,12 @@
84
88
cmpwi cr0, N, 0
85
89
blelr- cr0
86
90
87
-// fcmpu cr0, FZERO, ALPHA
-// bne- cr0, LL(A1I1)
- b LL(A1I1)
91
+ fcmpu cr0, FZERO, ALPHA
92
+ bne- cr0, LL(A1I1)
93
+
94
+ ld FLAG, 48+64+8(SP)
95
+ cmpwi cr0, FLAG, 1
96
+ beq- cr0, LL(A1I1)
97
98
cmpwi cr0, INCX, SIZE
99
bne- cr0, LL(A0IN)
0 commit comments