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 Mark a temporary as __USEd



details:   https://anonhg.NetBSD.org/src/rev/f295975e76e9
branches:  trunk
changeset: 793744:f295975e76e9
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 25 14:16:25 2014 +0000

description:
Mark a temporary as __USEd

diffstat:

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

diffs (27 lines):

diff -r b7cc29e43328 -r f295975e76e9 sys/arch/powerpc/fpu/fpu_sqrt.c
--- a/sys/arch/powerpc/fpu/fpu_sqrt.c   Tue Feb 25 14:10:09 2014 +0000
+++ b/sys/arch/powerpc/fpu/fpu_sqrt.c   Tue Feb 25 14:16:25 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_sqrt.c,v 1.4 2005/12/11 12:18:42 christos Exp $ */
+/*     $NetBSD: fpu_sqrt.c,v 1.5 2014/02/25 14:16:25 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_sqrt.c,v 1.4 2005/12/11 12:18:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_sqrt.c,v 1.5 2014/02/25 14:16:25 martin Exp $");
 
 #include <sys/types.h>
 #if defined(DIAGNOSTIC)||defined(DEBUG)
@@ -381,7 +381,7 @@
        bit = 1 << 31;
        EVEN_DOUBLE;
        t3 = bit;
-       FPU_SUBS(d3, x3, t3);
+       FPU_SUBS(d3, x3, t3); __USE(d3);
        FPU_SUBCS(d2, x2, t2);
        FPU_SUBCS(d1, x1, t1);
        FPU_SUBC(d0, x0, t0);



Home | Main Index | Thread Index | Old Index