Skip to content
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 OPmsw codegen #759

Merged
merged 1 commit into from
Feb 23, 2012
Merged

Fix OPmsw codegen #759

merged 1 commit into from
Feb 23, 2012

Conversation

yebblies
Copy link
Member

Restricting the optimization to integral types only was wrong - the problems I thought this was fixing were actually caused by the code emitted by float %= float destroying eax while using it as a pointer. The test case for this is already included in runnable/arrayop.d

Prevent fnstsw from clobbering ax when doing floating point mod assign.
WalterBright added a commit that referenced this pull request Feb 23, 2012
@WalterBright WalterBright merged commit 1d1bc36 into dlang:master Feb 23, 2012
@WalterBright
Copy link
Member

Yes, you made the right fix to cg87.c

@yebblies
Copy link
Member Author

=) Only took four hours to find.

@yebblies yebblies deleted the issue1149 branch December 15, 2014 11:19
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