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

Remove leftover references to OpenCL from the Visual Studio vcxproj file for VideoCommon. #24

Merged
merged 1 commit into from Feb 2, 2014

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Feb 2, 2014

No description provided.

…d OpenCL/OCLTextureDecoder.h in the Visual Studio vcxproj file.
@Sonicadvance1
Copy link
Contributor

LGTM

Sonicadvance1 added a commit that referenced this pull request Feb 2, 2014
Remove leftover references to OpenCL from the Visual Studio vcxproj file for VideoCommon.
@Sonicadvance1 Sonicadvance1 merged commit 70f66ad into dolphin-emu:master Feb 2, 2014
@lioncash lioncash deleted the remove-ocl-references branch February 2, 2014 17:59
@ghost ghost mentioned this pull request Feb 11, 2021
Sintendo pushed a commit to Sintendo/dolphin that referenced this pull request Sep 25, 2022
When a guest register is an immediate, it may be necessary to move this
value into a register. This is handled by gpr.R(), which lacks context
on how the register will be used. This leads to cases where the
immediate is written to a register, only for it to be overwritten. Take
for example this code generated by srwx:

0x5280031b   mov    w27, #0x18
0x53187edb   lsr    w27, w22, dolphin-emu#24

gpr.BindToRegister() does have this context through the do_load
parameter, but didn't handle immediates. By adding this logic, we can
intelligently skip the write when do_load is false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants