New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIT: Fix caller-save registers on WIN64 #923
Conversation
lgtm |
(1 << XMM0) | (1 << XMM1) | (1 << XMM2) | (1 << XMM3) | \ | ||
(1 << XMM4) | (1 << XMM5)) | ||
(1 << (XMM0+16)) | (1 << (XMM1+16)) | (1 << (XMM2+16)) | (1 << (XMM3+16)) | \ | ||
(1 << (XMM4+16)) | (1 << (XMM5+16))) | ||
|
||
#else //64-bit Unix / OS X | ||
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
+16 is just more magic. Could we instead split that into two separate enums, and maybe do the same with the registers? Thanks. |
I'm just sticking with how the current code works; refactoring it would be a much bigger patch, I think. There's already some (XMM0<<16) in other places in the code. |
<< 16 or + 16? :) On Tue, Sep 2, 2014 at 11:13 AM, Fiora notifications@github.com wrote:
Pierre "delroth" Bourdon delroth@gmail.com |
Erm. +16. yes. xD |
At the very least I guess a comment can be made explaining the meaning behind |
I don't like it, but I guess it's fine for the time being... On Tue, Sep 2, 2014 at 3:59 PM, Lioncash notifications@github.com wrote:
Pierre "delroth" Bourdon delroth@gmail.com |
@delroth I do agree that an enum or variable constant should be used to represent it. However if it's interspersed like @FioraAeterna says, then I think it is out of scope for what this PR does. |
Fine by me if we get a comment, and a follow-up PR :) |
daa72c9
to
6655c77
Compare
JIT: Fix caller-save registers on WIN64
No description provided.