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

Small JIT optimizations #312

Merged
merged 2 commits into from Apr 27, 2014
Merged

Conversation

Tilka
Copy link
Member

@Tilka Tilka commented Apr 24, 2014

Any idea why we have this weird XMM register allocation order?

They are semantically equivalent and according to Agner Fog they can run
on more execution ports than their floating point counterparts (at least
on Intel CPUs).
@delroth
Copy link
Member

delroth commented Apr 24, 2014

ABI?

@Sonicadvance1
Copy link
Contributor

I'm super disappointed that those easy paired instructions aren't implemented in JIT64IL.

@Tilka
Copy link
Member Author

Tilka commented Apr 24, 2014

@delroth: You are right, ABI is the reason.

None of the XMM registers are preserved across function calls but the lower ones are used to pass parameters.

Dropped the allocation order commit.

@delroth
Copy link
Member

delroth commented Apr 24, 2014

As discussed on IRC, let's wait a few days before merging that since we had a recent JIT related breakage. This will avoid confusion if this causes more bugs.

@Tilka
Copy link
Member Author

Tilka commented Apr 25, 2014

@dolphin-emu-bot rebuild

delroth added a commit that referenced this pull request Apr 27, 2014
@delroth delroth merged commit a093b41 into dolphin-emu:master Apr 27, 2014
@Tilka Tilka deleted the small_jit_optimizations branch April 30, 2014 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants