-
Notifications
You must be signed in to change notification settings - Fork 57
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
[GEN] Replace inline assembler for non VS6 builds #508
Conversation
94384b9
to
bbc3758
Compare
Pushed update for this last night. Should be good to go now. |
bbc3758
to
5fe44c1
Compare
5fe44c1
to
e3c3e39
Compare
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.
There is still assembler code in mpu.cpp, lcw.cpp, wwprofile.cpp, wwdebug.h, PerfTimer.h. These things were solved in the ZH version of this change.
e3c3e39
to
5cd45b7
Compare
Requested fixes ammended to the original commit and a new commit added with changes to the other ASM containing code. There was far less ASM in the Generals code in the end compared to Zero hour. |
5cd45b7
to
960f50b
Compare
63350dc
to
b1adbfe
Compare
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.
There still is assembler in WWProfile_Get_Ticks, Calculate_Processor_Speed. Perhaps some of it can be resolved.
b1adbfe
to
ea0bec3
Compare
Updated cpu detection and profiling code to instead use MSVC intrinsic instructions. |
6b5bfcf
to
ac1e264
Compare
Fuel the JET! |
ac1e264
to
bfdc034
Compare
bfdc034
to
49e99e4
Compare
updated to be in line with recent changes to ZH PR. |
This replaces the inline ASM in non VS6 builds that causes crashing during running of the application. This is a combination of code suggestions by myself and fixes by xezon. This fix doesn't include other ASM changes seen in the Zero hour ASM change, this only resolves ASM that is causing crashes.
49e99e4
to
b4ae0d2
Compare
Played a bit. Looks good. |
This replaces the inline ASM in non VS6 builds that causes crashing during running of the application.
This is a combination of code suggestions by myself and fixes by xezon.
This fix doesn't include other ASM changes seen in the Zero hour ASM change, this only resolves ASM that is causing crashes.