Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm
diff --git a/libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm b/libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm
index adc353d2006e21d854529ff1e7874ae13ba2408c..7daecb925a9855d3cafca9a92163e6a08e3749fb 100644
--- a/libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm
+++ b/libvpx/source/libvpx/vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm
@@ -23,10 +23,6 @@
|vp8_variance8x8_armv6| PROC
push {r4-r10, lr}
-
- pld [r0, r1, lsl #0]
- pld [r2, r3, lsl #0]
-
mov r12, #8 ; set loop counter to 8 (=block height)
mov r4, #0 ; initialize sum = 0
mov r5, #0 ; initialize sse = 0
@@ -39,10 +35,8 @@ loop
mov lr, #0 ; constant zero
usub8 r8, r6, r7 ; calculate difference
- pld [r0, r1, lsl #1]
sel r10, r8, lr ; select bytes with positive difference
usub8 r9, r7, r6 ; calculate difference with reversed operands
- pld [r2, r3, lsl #1]
sel r8, r9, lr ; select bytes with negative difference
; calculate partial sums

Powered by Google App Engine
This is Rietveld 408576698