Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

According to inc/version.h, REGISTER is for floats which may
or may not be able to be in registers due to the FPTEST macro
implementation. We shouldn't be using it here for non-float
data.

According to `inc/version.h`, `REGISTER` is for floats which may
or may not be able to be in registers due to the `FPTEST` macro
implementation. We shouldn't be using it here for non-float
data.
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.

I'm thinking that most of the "register" storage class specifications on variables are no longer relevant, since today's compilers seem to ignore them for the most part, except for disallowing taking the address either explicitly or implicitly of such a variable.

@nbriggs nbriggs merged commit 3b1bdd2 into Interlisp:master Dec 31, 2020
@waywardmonkeys waywardmonkeys deleted the remove-some-usages-of-REGISTER branch December 31, 2020 00:19
@waywardmonkeys
Copy link
Contributor Author

Yes. But I didn't want to do a global change to remove it everywhere yet ... although I do get tempted.

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