Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/include Really fix polyf/polyd macros. Now ret...
details: https://anonhg.NetBSD.org/src/rev/d33afe50e2f0
branches: trunk
changeset: 779516:d33afe50e2f0
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 01 06:26:38 2012 +0000
description:
Really fix polyf/polyd macros. Now returns expected results.
diffstat:
sys/arch/vax/include/asm.h | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r aa6605adcadd -r d33afe50e2f0 sys/arch/vax/include/asm.h
--- a/sys/arch/vax/include/asm.h Fri Jun 01 00:16:28 2012 +0000
+++ b/sys/arch/vax/include/asm.h Fri Jun 01 06:26:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.25 2012/05/29 17:25:38 matt Exp $ */
+/* $NetBSD: asm.h,v 1.26 2012/06/01 06:26:38 matt Exp $ */
/*
* Copyright (c) 1982, 1993
* The Regents of the University of California. All rights reserved.
@@ -110,11 +110,9 @@
movzwl \degree, %r2
movab \tbladdr, %r3
- clrd %r0
- jr 2f
+ movf (%r3)+, %r0
1:
mulf2 %r1, %r0 /* result *= arg */
-2:
addf2 (%r3)+, %r0 /* result += c[n] */
sobgtr %r2, 1b
clrf %r1 /* r1 is 0 on finish */
@@ -125,11 +123,9 @@
movzwl \degree, %r2
movab \tbladdr, %r3
- clrd %r0
- jr 2f
+ movd (%r3)+, %r0
1:
muld2 %r4, %r0 /* result *= arg */
-2:
addd2 (%r3)+, %r0 /* result += c[n] */
sobgtr %r2, 1b
clrq %r4 /* r4, r5 are 0 on finish */
Home |
Main Index |
Thread Index |
Old Index