hrydgard/ppsspp — pull request #7074 by unknownbrackets (2014-11-09 02:51:04+00:00)
Title: x86jit: More fpu optimizations

These gain 10-15 points in a few games I tested, which is only around 1%, but might be better on some architectures or games.

Specifically:
* Implements fpu rounding conversions in jit other than cvt.w.s (used by some games, e.g. Kingdom Hearts.)
* Fixes a few places where regs were stored to mem and then overwritten anyway, or otherwise unnecessarily.
* Optimizes the case of loading a known immediate 0 into an fpu reg.
* Small improvement to 3-ops of the form "add.s x, y, y" / "mul.s x, y, y".
* Kills a couple minor MOVSS to self. Maybe the emitter should nix that, even...

-[Unknown]