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