summaryrefslogtreecommitdiff
path: root/util/psnr.cc
diff options
context:
space:
mode:
authorfbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90>2013-05-06 05:36:58 +0000
committerfbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90>2013-05-06 05:36:58 +0000
commitb432b7da2d8dd78db1fb4621f1be1a3c12d49cb2 (patch)
treeb6d52be459eba534f132180bfd7bbe9776b26c9a /util/psnr.cc
parent4154163e20e9325998ef3bda39322153822d94d8 (diff)
downloadlibyuv-b432b7da2d8dd78db1fb4621f1be1a3c12d49cb2.tar.gz
Fix for clobber registers on SumSquareError_SSE2 used for PSNR
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/1410004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@683 16f28f9a-4ce2-e073-06de-1de4eb20be90
Diffstat (limited to 'util/psnr.cc')
-rw-r--r--util/psnr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/psnr.cc b/util/psnr.cc
index 01b61fc..85ada62 100644
--- a/util/psnr.cc
+++ b/util/psnr.cc
@@ -159,7 +159,7 @@ static uint32 SumSquareError_SSE2(const uint8* src_a,
:
: "memory", "cc"
#if defined(__SSE2__)
- , "xmm0", "xmm1", "xmm2", "xmm5"
+ , "xmm0", "xmm1", "xmm2", "xmm3", "xmm5"
#endif
); // NOLINT
return sse;