Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

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 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.
@waywardmonkeys
Copy link
Contributor Author

This and #133 are things that I'm looking at as I work towards some other changes for the use of __builtin_*_overflow() for math ... I want to clean up and make these code paths a lot easier to follow, once we don't need custom assembler for the optimizations.

Copy link
Collaborator

@nbriggs nbriggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nbriggs nbriggs merged commit 0880b2f into Interlisp:master Dec 26, 2020
@waywardmonkeys waywardmonkeys deleted the remove-UNSAFE branch December 27, 2020 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants