Home | History | Annotate | Line # | Download | only in m68060
      1  1.1  is - Import new Motorola 060SP packages in /sys/arch/m68k/060SP first.
      2  1.1  is - if you had to change something in here, "make clean" here
      3  1.2  is - commit Makefile Readme.NetBSD makeas.sh makeoffs.awk
      4  1.1  is - "make" here
      5  1.1  is - commit this directory
      6  1.2  is      ----------------------------------------------------------------------
      7  1.1  is Method:
      8  1.1  is 
      9  1.1  is Out of the table, we create a wrapper for fplsp.S. It contains:
     10  1.1  is 
     11  1.1  is Single precision:
     12  1.1  is 
     13  1.1  is 	movl	sp@(4),sp@-			4
     14  1.1  is 	bsr	_060fplsp+theoffset		4
     15  1.1  is 	fmovs	fp0,sp@				4
     16  1.1  is 	movel	sp@+,d0				4
     17  1.1  is 	rts					2
     18  1.1  is 	(18 bytes)
     19  1.1  is 
     20  1.1  is Double precision:
     21  1.1  is 
     22  1.1  is 	movl	sp@(4+0),sp@-			4
     23  1.1  is 	movl	sp@(8+4),sp@-			4
     24  1.1  is 	bsr	_060fplsp+theoffset		4
     25  1.1  is 	fmovd	fp0,sp@				4
     26  1.1  is 	movel	sp@+,d0				4
     27  1.1  is 	movel	sp@+,d1				4
     28  1.1  is 	rts					2
     29  1.1  is 	(26 bytes)
     30  1.3  is 
     31  1.3  is For __SVR4_ABI, the code is much shorter... it reduces to a single jbra.
     32