simple_idct: arm: Drop disabled code variant

This commit is contained in:
Diego Biurrun 2016-08-01 20:57:30 +02:00
parent e2b9993558
commit 014852e932
1 changed files with 0 additions and 7 deletions

View File

@ -148,12 +148,6 @@ endfunc
ldr a4, [a1] /* a4 = col[1:0] */ ldr a4, [a1] /* a4 = col[1:0] */
mov ip, #16384 mov ip, #16384
sub ip, ip, #1 /* ip = W4 */ sub ip, ip, #1 /* ip = W4 */
#if 0
mov v1, #(1<<(COL_SHIFT-1))
smlabt v2, ip, a4, v1 /* v2 = W4*col[1] + (1<<(COL_SHIFT-1)) */
smlabb v1, ip, a4, v1 /* v1 = W4*col[0] + (1<<(COL_SHIFT-1)) */
ldr a4, [a1, #(16*4)]
#else
mov v1, #((1<<(COL_SHIFT-1))/W4) /* this matches the C version */ mov v1, #((1<<(COL_SHIFT-1))/W4) /* this matches the C version */
add v2, v1, a4, asr #16 add v2, v1, a4, asr #16
rsb v2, v2, v2, lsl #14 rsb v2, v2, v2, lsl #14
@ -161,7 +155,6 @@ endfunc
add v1, v1, a4, asr #16 add v1, v1, a4, asr #16
ldr a4, [a1, #(16*4)] ldr a4, [a1, #(16*4)]
rsb v1, v1, v1, lsl #14 rsb v1, v1, v1, lsl #14
#endif
smulbb lr, ip, a4 smulbb lr, ip, a4
smulbt a3, ip, a4 smulbt a3, ip, a4