CVS commit: src/sys/arch/m68k/fpsp

2022-04-08 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Apr  8 14:33:24 UTC 2022

Modified Files:
src/sys/arch/m68k/fpsp: round.sa

Log Message:
s/postions/positions/


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/round.sa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/m68k/fpsp/round.sa
diff -u src/sys/arch/m68k/fpsp/round.sa:1.5 src/sys/arch/m68k/fpsp/round.sa:1.6
--- src/sys/arch/m68k/fpsp/round.sa:1.5	Fri Apr  8 10:17:53 2022
+++ src/sys/arch/m68k/fpsp/round.sa	Fri Apr  8 14:33:24 2022
@@ -1,4 +1,4 @@
-*	$NetBSD: round.sa,v 1.5 2022/04/08 10:17:53 andvar Exp $
+*	$NetBSD: round.sa,v 1.6 2022/04/08 14:33:24 andvar Exp $
 
 *	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
 *	M68000 Hi-Performance Microprocessor Division
@@ -530,7 +530,7 @@ dnrm_lp:
 	beq.b	not_E3			;not type E3 exception
 	bfextu	WBTEMP_GRS(a6){6:3},d2	;extract guard,round, sticky  bit
 	move.l	#29,d0
-	lsl.l	d0,d2			;shift g,r,s to their postions
+	lsl.l	d0,d2			;shift g,r,s to their positions
 	move.l	d2,d0
 not_E3:
 	move.l	(sp)+,d2		;restore d2



CVS commit: src/sys/arch/m68k/fpsp

2022-04-08 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Fri Apr  8 14:33:24 UTC 2022

Modified Files:
src/sys/arch/m68k/fpsp: round.sa

Log Message:
s/postions/positions/


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/round.sa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/m68k/fpsp

2021-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Dec  5 07:04:30 UTC 2021

Modified Files:
src/sys/arch/m68k/fpsp: ssin.sa

Log Message:
s/Overwirte/Overwrite/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/ssin.sa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/m68k/fpsp/ssin.sa
diff -u src/sys/arch/m68k/fpsp/ssin.sa:1.5 src/sys/arch/m68k/fpsp/ssin.sa:1.6
--- src/sys/arch/m68k/fpsp/ssin.sa:1.5	Sat Aug 21 23:00:31 2021
+++ src/sys/arch/m68k/fpsp/ssin.sa	Sun Dec  5 07:04:30 2021
@@ -1,4 +1,4 @@
-*	$NetBSD: ssin.sa,v 1.5 2021/08/21 23:00:31 andvar Exp $
+*	$NetBSD: ssin.sa,v 1.6 2021/12/05 07:04:30 msaitoh Exp $
 
 *	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
 *	M68000 Hi-Performance Microprocessor Division
@@ -64,7 +64,7 @@
 *	2. If |X| >= 15Pi or |X| < 2**(-40), go to 7.
 *
 *	3. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let
-*		k = N mod 4, so in particular, k = 0,1,2,or 3. Overwirte
+*		k = N mod 4, so in particular, k = 0,1,2,or 3. Overwrite
 *		k by k := k + AdjN.
 *
 *	4. If k is even, go to 6.



CVS commit: src/sys/arch/m68k/fpsp

2021-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Dec  5 07:04:30 UTC 2021

Modified Files:
src/sys/arch/m68k/fpsp: ssin.sa

Log Message:
s/Overwirte/Overwrite/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/ssin.sa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Re: CVS commit: src/sys/arch/m68k/fpsp

2015-09-06 Thread Masao Uebayashi
On Mon, Sep 7, 2015 at 7:01 AM, David Laight  wrote:
> On Sat, Sep 05, 2015 at 09:39:43AM +0900, Masao Uebayashi wrote:
>> The reason of this is that config(1) have no idea of library at this
>> moment.  Makefile.kern.inc has also a convention that all *.o files
>> have to be built under the top of kernel build directory.  libkern &
>> libcompat have speicalized make(1) rules, that work but look ugly.
>> I'd consider to extend config(1) to support library...

The first `this' referred to a rule I added to fix build:

fpsp.o: ${FPSP}
ln -sf ${FPSP} fpsp.o

where ${FPSP} is an absolute path to ${.OBJDIR}/lib/fpsp/fpsp.o.

m68k defined ${FPSP} as ${MD_OBJS}, but I changed paths in ${MD_OBJS}
to be normalized to just file names (no /) to simplify explicit rule
generation.  Now that I introduced ${MD_LIBS}, whose paths are not
normalized, that symlink is no longer needed & removed.

(As a bonus, fpsp.o is linked at last, not just after start code.
Like other libraries.)

> Please can you keep some context in your emails.
> The 'this' is the first line is a reference to something unknown.
>
> Oh, and one historic reason for the kernel objects being in a .a
> file was to allow builds on systems with short command line length
> limits.
>
> David
>
> --
> David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/m68k/fpsp

2015-09-06 Thread David Laight
On Sat, Sep 05, 2015 at 09:39:43AM +0900, Masao Uebayashi wrote:
> The reason of this is that config(1) have no idea of library at this
> moment.  Makefile.kern.inc has also a convention that all *.o files
> have to be built under the top of kernel build directory.  libkern &
> libcompat have speicalized make(1) rules, that work but look ugly.
> I'd consider to extend config(1) to support library...

Please can you keep some context in your emails.
The 'this' is the first line is a reference to something unknown.

Oh, and one historic reason for the kernel objects being in a .a
file was to allow builds on systems with short command line length
limits.

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/sys/arch/m68k/fpsp

2015-09-04 Thread Masao Uebayashi
The reason of this is that config(1) have no idea of library at this
moment.  Makefile.kern.inc has also a convention that all *.o files
have to be built under the top of kernel build directory.  libkern &
libcompat have speicalized make(1) rules, that work but look ugly.
I'd consider to extend config(1) to support library...