Skip to content

Commit

Permalink
MOVUPS to be safe.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Mar 5, 2018
1 parent 91b565a commit b6cbbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Common/VertexDecoderX86.cpp
Expand Up @@ -229,7 +229,7 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec, int
// Keep the scale/offset in a few fp registers if we need it.
if (prescaleStep) {
MOV(PTRBITS, R(tempReg1), ImmPtr(&gstate_c.uv));
MOVAPS(fpScaleOffsetReg, MatR(tempReg1));
MOVUPS(fpScaleOffsetReg, MatR(tempReg1));
if ((dec.VertexType() & GE_VTYPE_TC_MASK) == GE_VTYPE_TC_8BIT) {
MOV(PTRBITS, R(tempReg2), ImmPtr(&by128_11));
MULPS(fpScaleOffsetReg, MatR(tempReg2));
Expand Down

0 comments on commit b6cbbce

Please sign in to comment.