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
fix Issue 7387 - call instruction does not understand $ #11624
Conversation
Thanks for your pull request, @WalterBright! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#11624" |
//else if (popnd.disp >= short.min && | ||
//popnd.disp <= short.max && global.params.is16bit) | ||
//us = CONSTRUCT_FLAGS(OpndSize._16, _rel, _flbl,0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to leave a reminder if I ever ported it back to DMC. That piece is necessary for 16 bit assembler.
ubuntu/g++ doesn't like this: "block displacement of -157 exceeds the maximum offset of -128 to 127." |
Yeah, and of course there is no clue what file it was. |
I was hoping the problem would show up on one of the other tests. |
I'm ashamed to admit the "block displacement" message is coming from my code :-( |
The failure happens when compiling A quick use of
|
Thanks, @MoonlightSentinel . It looks like the |
ddcfd9d
to
605c054
Compare
amend + force push please, in order to get it merged. |
autotester win32 failed with:
Gah, what does that have to do with this patch? |
Nothing but in this case the only way to get the PR merged is to restart the auto-test check. |
No, once auto-merge is applied the PR has a higher priority at the auto-tester and auto-tester will continuously build the PR until its merged. It's different to normal CIs. |
The matching order in the table was wrong, and the old 16 bit code generation was causing trouble.