Skip to content

Commit 05cfe0d

Browse files
aikstewartsmith
authored andcommitted
Stop using 3-operand cmp[l][i] for latest binutils
Since a5721ba270, binutils does not support 3-operand cmp[l][i]. This adds (previously optional) parameter L. Hre is the binutils commit: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=a5721ba270ddf860e0e5a45bba456214e8eac2be;hp=b82317dd347991288e4cca4772e951c672fca8cc Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
1 parent e44f3be commit 05cfe0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asm/head.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ enter_pm_state:
523523
std %r1,CPUTHREAD_SAVE_R1(%r13)
524524

525525
/* Winkle or nap ? */
526-
cmpli %cr0,%r3,0
526+
cmpli %cr0,0,%r3,0
527527
bne 1f
528528

529529
/* nap sequence */
@@ -739,7 +739,7 @@ enter_nap:
739739
std %r0,0(%r1)
740740
ptesync
741741
ld %r0,0(%r1)
742-
1: cmp %cr0,%r0,%r0
742+
1: cmp %cr0,0,%r0,%r0
743743
bne 1b
744744
nap
745745
b .

0 commit comments

Comments
 (0)