mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +00:00
Remove UNSAFE flag. (#134)
This flag was for SunOS 3 and 4 on sun3 hardware (68k). It enabled some unsafe optimizations via assembler. This hasn't actually been built since the DOS port (since the header for this was renamed, but the code in `xc.c` wasn't updated). The optimizations here made assumptions that were specific to the 68k hardware and register allocation. They aren't likely to be of much use moving forward, and we've got plenty of safe performance improvements from the last 30 years of hardware advances.
This commit is contained in:
@@ -27,7 +27,6 @@ sparc True if we're compiling on a SPARC machine.
|
||||
mc68020 True if we're compiling on a Motorola 680x0 machine.
|
||||
sun3 We're compiling for a Sun-3.
|
||||
|
||||
UNSAFE If true, enables the "fast" version of 68020 opcodes.
|
||||
NOASM If true, suppress any attempt to include assembler
|
||||
versions of things in the emulator. In 'lispemul.c',
|
||||
if this is true, disables:
|
||||
@@ -36,7 +35,6 @@ NOASM If true, suppress any attempt to include assembler
|
||||
SUN4_OS4_IL
|
||||
OPDISP
|
||||
NATIVETRAN
|
||||
UNSAFE
|
||||
PROFILE
|
||||
and enables NOASMFNCALL
|
||||
C_ONLY
|
||||
|
||||
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -O2
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
|
||||
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DSUN3_OS3_IL -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -33,7 +33,7 @@ OEXT = .o
|
||||
OPTFLAGS = -O2
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
|
||||
@@ -10,7 +10,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright multi'. -osamu '90/02/07]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -37,7 +37,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright x'. -osamu '90/02/27]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -10,7 +10,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright multi'. -osamu '90/02/07]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
|
||||
@@ -37,7 +37,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright x'. -osamu '90/02/27]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DNEW_STORAGE -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user