Annotation of sys/arch/m68k/fpsp/L_ENTRY.AWK, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: L_ENTRY.AWK,v 1.2 1996/05/29 21:05:21 niklas Exp $
! 2: # $NetBSD: L_ENTRY.AWK,v 1.2 1994/10/26 07:48:34 cgd Exp $
! 3:
! 4: # MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
! 5: # M68000 Hi-Performance Microprocessor Division
! 6: # M68040 Software Package
! 7: #
! 8: # M68040 Software Package Copyright (c) 1993, 1994 Motorola Inc.
! 9: # All rights reserved.
! 10: #
! 11: # THE SOFTWARE is provided on an "AS IS" basis and without warranty.
! 12: # To the maximum extent permitted by applicable law,
! 13: # MOTOROLA DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED,
! 14: # INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
! 15: # PARTICULAR PURPOSE and any warranty against infringement with
! 16: # regard to the SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF)
! 17: # and any accompanying written materials.
! 18: #
! 19: # To the maximum extent permitted by applicable law,
! 20: # IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER
! 21: # (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
! 22: # PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR
! 23: # OTHER PECUNIARY LOSS) ARISING OF THE USE OR INABILITY TO USE THE
! 24: # SOFTWARE. Motorola assumes no responsibility for the maintenance
! 25: # and support of the SOFTWARE.
! 26: #
! 27: # You are hereby granted a copyright license to use, modify, and
! 28: # distribute the SOFTWARE so long as this entire notice is retained
! 29: # without alteration in any modified and/or redistributed versions,
! 30: # and that such modified versions are clearly identified as such.
! 31: # No licenses are granted by implication, estoppel or otherwise
! 32: # under any patents or trademarks of Motorola, Inc.
! 33:
! 34: # L_ENTRY.AWK 1.1 3/27/91
! 35:
! 36: BEGIN{
! 37: print "echo \" section 8\""
! 38: print "echo \" include l_fpsp.h\""
! 39: print "echo \"\""
! 40: print "echo \" xref tag\""
! 41: print "echo \" xref szero\""
! 42: print "echo \" xref sinf\""
! 43: print "echo \" xref sopr_inf\""
! 44: print "echo \" xref sone\""
! 45: print "echo \" xref spi_2\""
! 46: print "echo \" xref szr_inf\""
! 47: print "echo \" xref src_nan\""
! 48: print "echo \" xref t_operr\""
! 49: print "echo \" xref t_dz2\""
! 50: print "echo \" xref snzrinx\""
! 51: print "echo \" xref ld_pone\""
! 52: print "echo \" xref ld_pinf\""
! 53: print "echo \" xref ld_ppi2\""
! 54: print "echo \" xref ssincosz\""
! 55: print "echo \" xref ssincosi\""
! 56: print "echo \" xref ssincosnan\""
! 57: print "echo \" xref setoxm1i\""
! 58: utmp = 100
! 59: }
! 60:
! 61: $4=="MONADIC"{
! 62: printf "sed 's/_OPs_/" $1 "/g' MONADIC." SYS " | "
! 63: printf "sed 's/_OPd_/" $2 "/g' | "
! 64: printf "sed 's/_OPx_/" $3 "/g' | "
! 65: printf "sed 's/_OPr_/" $5 "/g' | "
! 66: printf "sed 's/_OPz_/" $6 "/g' | "
! 67: printf "sed 's/_OPi_/" $7 "/g' | "
! 68: printf "sed 's/_OPn_/" $8 "/g' | "
! 69: printf "sed 's/_OPm_/" $9 "/g' | "
! 70: utmp += 1
! 71: printf "sed 's/_TMP_/" PREFIX utmp "/g'\n "
! 72: }
! 73:
! 74: $4=="DYADIC"{
! 75: printf "sed 's/_OPs_/" $1 "/g' DYADIC." SYS " | "
! 76: printf "sed 's/_OPd_/" $2 "/g' | "
! 77: printf "sed 's/_OPx_/" $3 "/g' | "
! 78: printf "sed 's/_OPa_/" $5 "/g' | "
! 79: utmp += 1
! 80: printf "sed 's/_TMP_/" PREFIX utmp "/g'\n"
! 81: }
! 82:
! 83: END{
! 84: print "echo \" end\""
! 85: }
CVSweb