diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-09 08:35:06 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-09 08:35:06 +0000 |
commit | 3085a3031ee959d41ac83d2f5a8d3db9b2cc6224 (patch) | |
tree | 1d13af5821009e39007e3276b991f72ec3fa0346 | |
parent | d805ac21fc31e62f47a8b82883c9373dc41ccda2 (diff) | |
parent | 37defcc8cb12f6668ddeee6afd5b5545b84ca489 (diff) | |
download | libyuv-oreo-dr3-release.tar.gz |
release-request-66ee9889-2756-44aa-9b4c-91e7b5c1058c-for-git_oc-dr1-release-3988462 snap-temp-L14700000061937187android-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-release
Change-Id: I2af3589ee4be1232c1489250448183ef49a55f5a
-rw-r--r-- | files/source/row_dspr2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/files/source/row_dspr2.cc b/files/source/row_dspr2.cc index 466dd5d9..11f78e0d 100644 --- a/files/source/row_dspr2.cc +++ b/files/source/row_dspr2.cc @@ -68,7 +68,7 @@ void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { "pref 0, 64(%[src]) \n" "pref 30, 32(%[dst]) \n" // In case the a1 > t9 don't use "pref 30" at all - "sgtu $v1, %[dst], $t9 \n" + "sltu $v1, $t9, %[dst] \n" "bgtz $v1, $loop16w \n" "nop \n" // otherwise, start with using pref30 @@ -119,7 +119,7 @@ void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { "sw $t7, 60(%[dst]) \n" "addiu %[dst], %[dst], 64 \n" // adding 64 to dest - "sgtu $v1, %[dst], $t9 \n" + "sltu $v1, $t9, %[dst] \n" "bne %[dst], $a3, $loop16w \n" " addiu %[src], %[src], 64 \n" // adding 64 to src "move %[count], $t8 \n" @@ -221,7 +221,7 @@ void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { "pref 30, 32(%[dst]) \n" // safe, as we have at least 64 bytes ahead // In case the a1 > t9 don't use "pref 30" at all - "sgtu $v1, %[dst], $t9 \n" + "sltu $v1, $t9, %[dst] \n" "bgtz $v1, $ua_loop16w \n" // skip "pref 30,64(a1)" for too short arrays " nop \n" @@ -292,7 +292,7 @@ void CopyRow_MIPS(const uint8* src, uint8* dst, int count) { "sw $t7, 60(%[dst]) \n" "addiu %[dst],%[dst],64 \n" // adding 64 to dest - "sgtu $v1,%[dst],$t9 \n" + "sltu $v1,$t9,%[dst] \n" "bne %[dst],$a3,$ua_loop16w \n" " addiu %[src],%[src],64 \n" // adding 64 to src "move %[count],$t8 \n" |