Reset FPU state after calc_plane_error()
authorJohn Koleszar <jkoleszar@google.com>
Tue, 11 Oct 2011 15:43:30 +0000 (08:43 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 11 Oct 2011 15:43:30 +0000 (08:43 -0700)
Fixes a MMX/SSE2 mismatch when building with --enable-internal-stats.

Change-Id: I0c50a1f246f6916b7a5fc6f36864ceb362f25520

vp8/encoder/onyx_if.c

index cac9205..27dd2ce 100644 (file)
@@ -2400,6 +2400,7 @@ static uint64_t calc_plane_error(unsigned char *orig, int orig_stride,
         recon += recon_stride;
     }
 
+    vp8_clear_system_state();
     return total_sse;
 }