Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sh3/gen fix the mapping table. this sh3 versi...
details: https://anonhg.NetBSD.org/src/rev/48835660a6df
branches: trunk
changeset: 352024:48835660a6df
user: chs <chs%NetBSD.org@localhost>
date: Sat Mar 11 01:25:04 2017 +0000
description:
fix the mapping table. this sh3 version was originally copied from arm,
but FP_RP and FP_RM have opposite values on sh3 vs. arm.
diffstat:
lib/libc/arch/sh3/gen/flt_rounds.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 9e2834131fe0 -r 48835660a6df lib/libc/arch/sh3/gen/flt_rounds.c
--- a/lib/libc/arch/sh3/gen/flt_rounds.c Fri Mar 10 22:43:03 2017 +0000
+++ b/lib/libc/arch/sh3/gen/flt_rounds.c Sat Mar 11 01:25:04 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: flt_rounds.c,v 1.6 2015/03/19 21:22:59 joerg Exp $ */
+/* $NetBSD: flt_rounds.c,v 1.7 2017/03/11 01:25:04 chs Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: flt_rounds.c,v 1.6 2015/03/19 21:22:59 joerg Exp $");
+__RCSID("$NetBSD: flt_rounds.c,v 1.7 2017/03/11 01:25:04 chs Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -42,8 +42,8 @@
static const int map[] = {
1, /* round to nearest */
- 2, /* round to positive infinity */
- 3, /* round to negative infinity */
+ 3, /* round to positive infinity */
+ 2, /* round to negative infinity */
0 /* round to zero */
};
Home |
Main Index |
Thread Index |
Old Index