Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/fpu Fix copy-paste in comment. No binary ch...



details:   https://anonhg.NetBSD.org/src/rev/fb56cee6f924
branches:  trunk
changeset: 368672:fb56cee6f924
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Jul 26 16:08:33 2022 +0000

description:
Fix copy-paste in comment. No binary changes.

diffstat:

 sys/arch/powerpc/fpu/fpu_emu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r faf9fd64457b -r fb56cee6f924 sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c    Tue Jul 26 16:07:55 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c    Tue Jul 26 16:08:33 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_emu.c,v 1.34 2022/07/26 16:07:55 rin Exp $ */
+/*     $NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.34 2022/07/26 16:07:55 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -817,7 +817,7 @@
                cond = fsr & FPSCR_FPCC;
                /* Isolate condition codes */
                cond <<= 16;
-               /* Move fpu condition codes to cr[1] */
+               /* Move fpu condition codes to cr[bf/4] */
                tf->tf_cr &= ~(0xf0000000>>bf);
                tf->tf_cr |= (cond>>bf);
                DPRINTF(FPE_INSN, ("fpu_execute: cr[%d] (cr=%x) <= %x\n", bf/4, tf->tf_cr, cond));



Home | Main Index | Thread Index | Old Index