Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc use 0 instead of %r0 for dcbst and ...



details:   https://anonhg.NetBSD.org/src/rev/126f2e63c215
branches:  trunk
changeset: 447112:126f2e63c215
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 31 18:47:46 2018 +0000

description:
use 0 instead of %r0 for dcbst and icbi otherwise binutils-2.31.1 bitch.

diffstat:

 sys/arch/powerpc/powerpc/ofwreal.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 9b4e7467b61d -r 126f2e63c215 sys/arch/powerpc/powerpc/ofwreal.S
--- a/sys/arch/powerpc/powerpc/ofwreal.S        Mon Dec 31 13:53:12 2018 +0000
+++ b/sys/arch/powerpc/powerpc/ofwreal.S        Mon Dec 31 18:47:46 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofwreal.S,v 1.13 2011/06/05 16:52:26 matt Exp $        */
+/*     $NetBSD: ofwreal.S,v 1.14 2018/12/31 18:47:46 christos Exp $    */
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -230,15 +230,15 @@
        stw     %r8,20(%r4)
        stw     %r9,24(%r4)
        stw     %r10,28(%r4)
-       dcbst   %r0,%r4
-       icbi    %r0,%r4
+       dcbst   0,%r4
+       icbi    0,%r4
        add     %r3,%r3,%r6
        add     %r4,%r4,%r6
        subf.   %r5,%r6,%r5
        bgt     1b
 
-       dcbst   %r0,%r4
-       icbi    %r0,%r4
+       dcbst   0,%r4
+       icbi    0,%r4
 
        sync
        isync



Home | Main Index | Thread Index | Old Index