id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:2 | vsubl.u8 q11, d0, d4 ;calculate diff
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
;VPADAL adds adjacent pairs of elements of a vector, and accumulates
;the results into the elements of the destination vector. The explanation
;in ARM ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:3 | ;sub r0, r1, r0, lsr #8
; while sum is signed, sum * sum is always positive and must be treated as
; unsigned to avoid propagating the sign bit.
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [r12] ;store sse
vshr.u32 d10, d10, #8
vsub.u32 d0, d1, d10
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:4 | vsubl.u8 q13, d2, d6
vsubl.u8 q14, d3, d7
vpadal.s16 q8, q11 ;calculate sum
vmlal.s16 q9, d22, d22 ;calculate sse
vmlal.s16 q10, d23, d23
subs r12, r12, #1
vpadal.s16 q8, q12
vmlal.s16 q9, d24, d24
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:5 | ENDP
;=================================
;unsigned int vp8_variance8x16_c(
; unsigned char *src_ptr,
; int source_stride,
; unsigned char *ref_ptr,
; int recon_stride,
; unsigned int *sse)
|vp8_variance8x16_neon| PROC
vpush {q5}
vmov.i8 q8, #0 ;q8 - sum
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:6 | vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
ldr r12, [sp, #16] ;load *sse from stack
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:7 | vld1.8 {d5}, [r2], r3
vld1.8 {d2}, [r0], r1
vld1.8 {d6}, [r2], r3
vld1.8 {d3}, [r0], r1
vld1.8 {d7}, [r2], r3
vsubl.u8 q11, d0, d4 ;calculate diff
vsubl.u8 q12, d1, d5
vsubl.u8 q13, d2, d6
vsubl.u8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 241 | 291 |
webmproject/libvpx:vp8/common/arm/neon/variance_neon.asm:8 | vshr.u32 d10, d10, #6
vsub.u32 d0, d1, d10
vmov.32 r0, d0[0] ;return
vpop {q5}
bx lr
ENDP
END | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/variance_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/variance_neon.asm | 281 | 291 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:2 | cmp r2, #0 ;skip first_pass filter if xoffset=0
beq secondpass_bfilter16x16_only
add r2, r12, r2, lsl #3 ;calculate filter location
cmp r3, #0 ;skip second_pass filter if yoffset=0
vld1.s32 {d31}, [r2] ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:3 | vext.8 d5, d5, d6, #1
vext.8 d8, d8, d9, #1
vext.8 d11, d11, d12, #1
vmlal.u8 q7, d2, d1 ;(src_ptr[0] * Filter[1])
vmlal.u8 q9, d5, d1
vmlal.u8 q11, d8, d1
vmlal.u8 q13, d11, d1
vext.8 d3, d3, d4, #1
vext.8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:4 | ;First-pass filtering for rest 5 lines
vld1.u8 {d14, d15, d16}, [r0], r1
vmull.u8 q9, d2, d0 ;(src_ptr[0] * Filter[0])
vmull.u8 q10, d3, d0
vmull.u8 q11, d5, d0
vmull.u8 q12, d6, d0
vmull.u8 q13, d8, d0
vmull.u8 q14, d9, d0
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:5 | vmlal.u8 q2, d12, d1 ;(src_ptr[0] * Filter[1])
vmlal.u8 q4, d15, d1
vqrshrn.u16 d10, q9, #7 ;shift/round/saturate to u8
vqrshrn.u16 d11, q10, #7
vqrshrn.u16 d12, q11, #7
vqrshrn.u16 d13, q12, #7
vqrshrn.u16 d14, q13, #7
vqrshrn.u16 d1... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:6 | vmull.u8 q3, d24, d0
vld1.u8 {d30, d31}, [lr]!
vmull.u8 q4, d25, d0
vmull.u8 q5, d26, d0
vmull.u8 q6, d27, d0
vmull.u8 q7, d28, d0
vmull.u8 q8, d29, d0
vmlal.u8 q1, d24, d1 ;(src_ptr[pixel_step] * Filter[1])
vmlal.u8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:7 | firstpass_bfilter16x16_only
mov r2, #4 ;loop counter
sub sp, sp, #528 ;reserve space on stack for temporary storage
vdup.8 d0, d31[0] ;first_pass filter (d0 d1)
vdup.8 d1, d31[4]
mov r3, sp
;First... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 241 | 300 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:8 | vext.8 d12, d12, d13, #1
vmlal.u8 q8, d3, d1 ;(src_ptr[0] * Filter[1])
vmlal.u8 q10, d6, d1
vmlal.u8 q12, d9, d1
vmlal.u8 q14, d12, d1
subs r2, r2, #1
vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8
vqrshrn.u... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 281 | 340 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:9 | vp8e_filt_blk2d_spo16x16_loop_neon
vld1.u8 {d24, d25}, [r0], r1
vmull.u8 q1, d22, d0 ;(src_ptr[0] * Filter[0])
vld1.u8 {d26, d27}, [r0], r1
vmull.u8 q2, d23, d0
vld1.u8 {d28, d29}, [r0], r1
vmull.u8 q3, d24, d0
vld1.u8 {d30, d3... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 321 | 380 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:10 | bne vp8e_filt_blk2d_spo16x16_loop_neon
b sub_pixel_variance16x16_neon
;----------------------------
;variance16x16
sub_pixel_variance16x16_neon
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 361 | 420 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:11 | vmlal.s16 q10, d29, d29
bne sub_pixel_variance16x16_neon_loop
vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 401 | 425 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:2 | beq secondpass_bfilter16x16_only
add r2, r12, r2, lsl #3 ;calculate filter location
cmp r3, #0 ;skip second_pass filter if yoffset=0
vld1.s32 {d31}, [r2] ;load first_pass filter
beq firstpass_bfilter16x16_only
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:3 | vext.8 d8, d8, d9, #1
vext.8 d11, d11, d12, #1
vmlal.u8 q7, d2, d1 ;(src_ptr[0] * Filter[1])
vmlal.u8 q9, d5, d1
vmlal.u8 q11, d8, d1
vmlal.u8 q13, d11, d1
vext.8 d3, d3, d4, #1
vext.8 d6, d6, d7, #1
vext.8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:4 | vld1.u8 {d14, d15, d16}, [r0], r1
vmull.u8 q9, d2, d0 ;(src_ptr[0] * Filter[0])
vmull.u8 q10, d3, d0
vmull.u8 q11, d5, d0
vmull.u8 q12, d6, d0
vmull.u8 q13, d8, d0
vmull.u8 q14, d9, d0
vext.8 d2, d2, d3, #1 ;c... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:5 | vmlal.u8 q4, d15, d1
vqrshrn.u16 d10, q9, #7 ;shift/round/saturate to u8
vqrshrn.u16 d11, q10, #7
vqrshrn.u16 d12, q11, #7
vqrshrn.u16 d13, q12, #7
vqrshrn.u16 d14, q13, #7
vqrshrn.u16 d15, q14, #7
vqrshrn.u16 d16, q1, #7
vqrshrn.u16 d17, q2, ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:6 | vld1.u8 {d30, d31}, [lr]!
vmull.u8 q4, d25, d0
vmull.u8 q5, d26, d0
vmull.u8 q6, d27, d0
vmull.u8 q7, d28, d0
vmull.u8 q8, d29, d0
vmlal.u8 q1, d24, d1 ;(src_ptr[pixel_step] * Filter[1])
vmlal.u8 q2, d25, d1
vmlal.u8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:7 | mov r2, #4 ;loop counter
sub sp, sp, #528 ;reserve space on stack for temporary storage
vdup.8 d0, d31[0] ;first_pass filter (d0 d1)
vdup.8 d1, d31[4]
mov r3, sp
;First Pass: output_height lines x out... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 241 | 300 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:8 | vmlal.u8 q8, d3, d1 ;(src_ptr[0] * Filter[1])
vmlal.u8 q10, d6, d1
vmlal.u8 q12, d9, d1
vmlal.u8 q14, d12, d1
subs r2, r2, #1
vqrshrn.u16 d14, q7, #7 ;shift/round/saturate to u8
vqrshrn.u16 d15, q8, #7
vqrshrn.u16 d1... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 281 | 340 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:10 | bne vp8e_filt_blk2d_spo16x16_loop_neon
b sub_pixel_variance16x16_neon
;----------------------------
;variance16x16
sub_pixel_variance16x16_neon
vmov.i8 q8, #0 ;q8 - sum
vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 361 | 420 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:11 | bne sub_pixel_variance16x16_neon_loop
vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vst1.32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | fba3110b09d5cea055a74a9b755be95d7ceb5147 | github | media | https://github.com/webmproject/libvpx/blob/fba3110b09d5cea055a74a9b755be95d7ceb5147/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 401 | 423 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | BSD-3-Clause | e50c842755993b183c1c56d72000be7918bf0bfb | github | media | https://github.com/webmproject/libvpx/blob/e50c842755993b183c1c56d72000be7918bf0bfb/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:2 | ;First Pass: output_height lines x output_width columns (16x16)
vp8_filt_fpo16x16s_4_0_loop_neon
vld1.u8 {d0, d1, d2, d3}, [r0], r1 ;load src data
vld1.8 {q11}, [r2], r3
vld1.u8 {d4, d5, d6, d7}, [r0], r1
vld1.8 {q12}, [r2], r3
vld1.u8 {d8, d9, d10, d11... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:3 | vpadal.s16 q8, q5
vmlal.s16 q9, d10, d10
vmlal.s16 q10, d11, d11
vpadal.s16 q8, q6
vmlal.s16 q9, d12, d12
vmlal.s16 q10, d13, d13
vpadal.s16 q8, q7
vmlal.s16 q9, d14, d14
vmlal.s16 q10, d15, d15
vpadal.s16 q8, q0 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:4 | vpop {d8-d15}
pop {pc}
ENDP
;================================================
;unsigned int vp8_variance_halfpixvar16x16_v_neon
;(
; unsigned char *src_ptr, r0
; int src_pixels_per_line, r1
; unsigned char *dst_ptr, r2
; int dst_pixels_per_line, r3
; unsigned int *ss... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:5 | vrhadd.u8 q6, q6, q15
vsubl.u8 q11, d0, d2 ;diff
vsubl.u8 q12, d1, d3
vsubl.u8 q13, d4, d6
vsubl.u8 q14, d5, d7
vsubl.u8 q0, d8, d10
vsubl.u8 q1, d9, d11
vsubl.u8 q2, d12, d14
vsubl.u8 q3, d13, d15
vpadal... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:6 | vmlal.s16 q9, d6, d6
vmlal.s16 q10, d7, d7
bne vp8_filt_spo16x16s_0_4_loop_neon
vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 201 | 260 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:7 | vmov.i8 q13, #0 ;q8 - sum
vext.8 q1, q0, q1, #1 ;construct src_ptr[1]
vmov.i8 q14, #0 ;q9, q10 - sse
vmov.i8 q15, #0
mov r12, #4 ;loop counter
vrhadd.u8 q0, q0, q1 ;(... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 241 | 300 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:8 | vsubl.u8 q10, d1, d11
vsubl.u8 q11, d2, d12
vsubl.u8 q12, d3, d13
vsubl.u8 q0, d4, d14 ;diff
vsubl.u8 q1, d5, d15
vsubl.u8 q5, d6, d16
vsubl.u8 q6, d7, d17
vpadal.s16 q13, q9 ;sum
vmlal.s16 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 281 | 340 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:9 | vpadal.s16 q13, q6 ;sum
vmlal.s16 q14, d12, d12 ;sse
vmlal.s16 q15, d13, d13
bne vp8_filt16x16s_4_4_loop_neon
vadd.u32 q15, q14, q15 ;accumulate sse
vpaddl.s32 q0, q13 ;accumulate sum
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 321 | 380 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:10 | vpush {d8-d15}
ldr r4, [sp, #72] ;load *dst_ptr from stack
ldr r12, [sp, #76] ;load dst_pixels_per_line from stack
ldr lr, [sp, #80] ;load *sse from stack
cmp r2, #0 ;skip first_pass filter if xoffs... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 361 | 420 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:11 | vrhadd.u8 q0, q0, q1
vrhadd.u8 q1, q1, q2
vrhadd.u8 q2, q2, q3
vrhadd.u8 q3, q3, q4
subs r2, r2, #1
vst1.u8 {d0, d1 ,d2, d3}, [r3]! ;store result
vmov q0, q4
vst1.u8 {d4, d5, d6, d7}, [r3]!
bne vp8e_filt_... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 401 | 460 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:12 | vext.8 q11, q10, q11, #1
vext.8 q13, q12, q13, #1
vext.8 q15, q14, q15, #1
vrhadd.u8 q0, q0, q1 ;(src_ptr[0]+src_ptr[1])/round/shift right 1
vrhadd.u8 q1, q2, q3
vrhadd.u8 q2, q4, q5
vrhadd.u8 q3, q6, q7
vrhadd.u8 q4, q8,... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 441 | 500 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:13 | vrhadd.u8 q1, q1, q2
vld1.u8 {d12, d13}, [r0], r1
vrhadd.u8 q2, q2, q3
vld1.u8 {d14, d15}, [r0], r1
vrhadd.u8 q3, q3, q4
vld1.u8 {d16, d17}, [r0], r1
vrhadd.u8 q4, q4, q5
vrhadd.u8 q5, q5, q6
vrhadd.u8 q6, q6, q7
vrhadd.u8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 481 | 540 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:14 | vld1.8 {q6}, [r3]!
vld1.8 {q7}, [r4], r12
vsubl.u8 q11, d0, d2 ;diff
vsubl.u8 q12, d1, d3
vsubl.u8 q13, d4, d6
vsubl.u8 q14, d5, d7
vsubl.u8 q0, d8, d10
vsubl.u8 q1, d9, d11
vsubl.u8 q2, d12, d14
vsub... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 521 | 580 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm:15 | bne sub_pixel_variance16x16s_neon_loop
vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vst1.32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm | 561 | 583 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:2 | vld1.u8 {q1}, [r0], r1 ;load src data
vld1.u32 {d31}, [r2] ;load first_pass filter
vld1.u8 {q2}, [r0], r1
vdup.8 d0, d31[0] ;first_pass filter (d0 d1)
vld1.u8 {q3}, [r0], r1
vdup.8 d1, d31[4]
vld1.u8 {q4},... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 41 | 100 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:3 | vmull.u8 q10, d10, d0
vext.8 d3, d2, d3, #1 ;construct src_ptr[-1]
vext.8 d5, d4, d5, #1
vext.8 d7, d6, d7, #1
vext.8 d9, d8, d9, #1
vext.8 d11, d10, d11, #1
vmlal.u8 q6, d3, d1 ;(src_ptr[1] * Filter[1])
vmlal... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 81 | 140 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:4 | vmull.u8 q8, d29, d0
vmlal.u8 q1, d23, d1 ;(src_ptr[pixel_step] * Filter[1])
vmlal.u8 q2, d24, d1
vmlal.u8 q3, d25, d1
vmlal.u8 q4, d26, d1
vmlal.u8 q5, d27, d1
vmlal.u8 q6, d28, d1
vmlal.u8 q7, d29, d1
vmlal.u8 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:5 | vmov.i8 q9, #0 ;q9, q10 - sse
vmov.i8 q10, #0
mov r12, #2
sub_pixel_variance8x8_neon_loop
vld1.8 {d0}, [r4], r5 ;load dst data
subs r12, r12, #1
vld1.8 {d1}, [r4], r5
vld1.8 {d2}, [r4], r5
v... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:6 | vadd.u32 q10, q9, q10 ;accumulate sse
vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [lr] ;store sse
vshr.u32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | 33df6d1fc1d268b4901b74b4141f83594266f041 | github | media | https://github.com/webmproject/libvpx/blob/33df6d1fc1d268b4901b74b4141f83594266f041/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 201 | 225 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | e50c842755993b183c1c56d72000be7918bf0bfb | github | media | https://github.com/webmproject/libvpx/blob/e50c842755993b183c1c56d72000be7918bf0bfb/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 1 | 60 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:4 | vmlal.u8 q1, d23, d1 ;(src_ptr[pixel_step] * Filter[1])
vmlal.u8 q2, d24, d1
vmlal.u8 q3, d25, d1
vmlal.u8 q4, d26, d1
vmlal.u8 q5, d27, d1
vmlal.u8 q6, d28, d1
vmlal.u8 q7, d29, d1
vmlal.u8 q8, d30, d1
vqrshrn.u16 d... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | e50c842755993b183c1c56d72000be7918bf0bfb | github | media | https://github.com/webmproject/libvpx/blob/e50c842755993b183c1c56d72000be7918bf0bfb/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 121 | 180 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:5 | vmov.i8 q10, #0
mov r12, #2
sub_pixel_variance8x8_neon_loop
vld1.8 {d0}, [r4], r5 ;load dst data
subs r12, r12, #1
vld1.8 {d1}, [r4], r5
vld1.8 {d2}, [r4], r5
vsubl.u8 q4, d22, d0 ;calculate diff
... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | e50c842755993b183c1c56d72000be7918bf0bfb | github | media | https://github.com/webmproject/libvpx/blob/e50c842755993b183c1c56d72000be7918bf0bfb/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 161 | 220 |
webmproject/libvpx:vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm:6 | vpaddl.s32 q0, q8 ;accumulate sum
vpaddl.u32 q1, q10
vadd.s64 d0, d0, d1
vadd.u64 d1, d2, d3
vmull.s32 q5, d0, d0
vst1.32 {d1[0]}, [lr] ;store sse
vshr.u32 d10, d10, #6
vsub.u32 d0, d1, d10
vmov.32 ... | arm | masm-like | handwritten | webmproject/libvpx | vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | BSD-3-Clause | e50c842755993b183c1c56d72000be7918bf0bfb | github | media | https://github.com/webmproject/libvpx/blob/e50c842755993b183c1c56d72000be7918bf0bfb/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm | 201 | 222 |
webmproject/libvpx:vp8/common/ppc/copy_altivec.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | powerpc | nasm-like | handwritten | webmproject/libvpx | vp8/common/ppc/copy_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/copy_altivec.asm | 1 | 47 |
webmproject/libvpx:vp8/common/ppc/copy_altivec.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... | powerpc | nasm-like | handwritten | webmproject/libvpx | vp8/common/ppc/copy_altivec.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/common/ppc/copy_altivec.asm | 1 | 47 |
webmproject/libvpx:vp8/common/ppc/copy_altivec.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sourc... | powerpc | nasm-like | handwritten | webmproject/libvpx | vp8/common/ppc/copy_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/copy_altivec.asm | 1 | 46 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:1 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 1 | 60 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:2 | vspltb v4, v0, 4
vspltb v5, v0, 5
vspltb v0, v0, 0
.endm
.macro vpre_load
Vprolog
li r10, 16
lvx v10, 0, r9 ;# v10..v14 = first 5 rows
lvx v11, r10, r9
addi r9, r9, 32
lvx v12, 0, r9
lvx v13, r10, r9
addi r9, r9, 32
lvx v14, 0,... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 41 | 100 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:3 | vsrh v16, v16, v7 ;# divide by 128
vsrh v17, v17, v7 ;# v16 v17 = evens, odds
vmrghh v18, v16, v17 ;# v18 v19 = 16-bit result in order
vmrglh v19, v16, v17
vpkuhus \P0, v18, v19 ;# P0 = 8-bit result
.endm
.macro vinterp_no_store_8x8 P0 P1 P2 P3 P4 P5
vmuleub v24, \... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 81 | 140 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:4 | Vinterp \P0, \P1, \P2, \P3, \P4, \P5
.endm
.macro luma_vtwo
luma_v v10, v11, v12, v13, v14, v15
luma_v v11, v12, v13, v14, v15, v10
.endm
.macro luma_vfour
luma_vtwo
luma_v v12, v13, v14, v15, v10, v11
luma_v v13, v14, v15, v10, v11, v12
.endm
.macro luma_vsix
luma_vfour
luma_v v14, v15, ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 121 | 180 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:5 | .macro interp_8x8 R
vperm v20, \R, \R, v16 ;# v20 = 0123 1234 2345 3456
vperm v21, \R, \R, v17 ;# v21 = 4567 5678 6789 789A
Interp4 v20, v20, v21 ;# v20 = result 0 1 2 3
vperm \R, \R, \R, v18 ;# R = 89AB 9ABC ABCx BCxx
Interp4 v21, v21, \R ;# v21 = result 4 5 6 7
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 161 | 220 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:6 | mtspr 256, r12 ;# set VRSAVE
stwu r1,-32(r1) ;# create space on the stack
slwi. r5, r5, 5 ;# index into horizontal filter array
vspltish v19, 7
;# If there isn't any filtering to be done for the horizontal, then
;# just skip to the second pass.
beq- v... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 201 | 260 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:7 | interp_8x8 v4
interp_8x8 v5
;# Finished filtering main horizontal block. If there is no
;# vertical filtering, jump to storing the data. Otherwise
;# load up and filter the additional 5 lines that are needed
;# for the vertical filter.
beq- store_4x4
;# only needed if there is a ve... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 241 | 300 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:8 | Read8x8 v5, r3, r4, 1
Read8x8 v6, r3, r4, 1
Read8x8 v7, r3, r4, 1
Read8x8 v8, r3, r4, 0
slwi r6, r6, 4 ;# index into vertical filter array
second_pass_4x4:
load_c v20, b_hilo_4x4, 0, r9, r10
load_c v21, b_hilo, 0, r9, r10
;# reposition input so that it can go through the
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 281 | 340 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:9 | vinterp_no_store_8x8 v0, v1, v2, v3, v4, v5
stvx v0, 0, r1
lwz r0, 0(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 4(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 8(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 12(r1)
stw r0, 0(r7)
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 321 | 380 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:10 | stw r0, 0(r7)
exit_4x4:
addi r1, r1, 32 ;# recover stack
mtspr 256, r11 ;# reset old VRSAVE
blr
.macro w_8x8 V, D, R, P
stvx \V, 0, r1
lwz \R, 0(r1)
stw \R, 0(r7)
lwz \R, 4(r1)
stw \R, 4(r7)
add \D, \D, \P
.endm
.align 2
;... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 361 | 420 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:11 | ;# just skip to the second pass.
beq- second_pass_pre_copy_8x4
load_hfilter v13, v14
;# rounding added in on the multiply
vspltisw v16, 8
vspltisw v15, 3
vslw v15, v16, v15 ;# 0x00000040000000400000004000000040
;# Load up permutation constants
load_c v16, B_0123, 0, r9, r... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 401 | 460 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:12 | ;# if the second filter is not null then need to back off by 2*pitch
sub r9, r9, r4
sub r9, r9, r4
Read8x8 v0, r9, r4, 1
Read8x8 v1, r9, r4, 0
Read8x8 v6, r3, r4, 1
Read8x8 v7, r3, r4, 1
Read8x8 v8, r3, r4, 0
interp_8x8 v0
interp_8x8 v1
interp_8x8 v6
interp_8x8 v7
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 441 | 500 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:13 | vspltish v15, 8
vspltish v20, 3
vslh v20, v15, v20 ;# 0x0040 0040 0040 0040 0040 0040 0040 0040
vspltb v14, v13, 1
vspltb v15, v13, 2
vspltb v16, v13, 3
vspltb v17, v13, 4
vspltb v18, v13, 5
vspltb v13, v13, 0
vinterp_no_store_8x8 v0, v1, v2, v3, v4, v5
vinterp... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 481 | 540 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:14 | cmpi cr0, r8, 8
beq cr0, store_aligned2_8x4
w_8x8 v2, r7, r0, r8
w_8x8 v3, r7, r0, r8
w_8x8 v4, r7, r0, r8
w_8x8 v5, r7, r0, r8
b exit_8x4
store_aligned2_8x4:
load_c v10, b_hilo, 0, r9, r10
vperm v2, v2, v3, v10
vperm v4, v4, v5, v10
stvx v2, 0, r... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 521 | 580 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:15 | mfspr r11, 256 ;# get old VRSAVE
oris r12, r11, 0xffff
ori r12, r12, 0xffc0
mtspr 256, r12 ;# set VRSAVE
stwu r1,-32(r1) ;# create space on the stack
slwi. r5, r5, 5 ;# index into horizontal filter array
vspltish v19, 7
;# If there... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 561 | 620 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:16 | slwi. r6, r6, 4 ;# index into vertical filter array
;# filter a line
interp_8x8 v2
interp_8x8 v3
interp_8x8 v4
interp_8x8 v5
interp_8x8 v6
interp_8x8 v7
interp_8x8 v8
interp_8x8 v9
;# Finished filtering main horizontal block. If there is no
;# vertical filteri... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 601 | 660 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:17 | ;# if the second filter is not null then need to back off by 2*pitch
sub r3, r3, r4
sub r3, r3, r4
li r10, 16
Read8x8 v0, r3, r4, 1
Read8x8 v1, r3, r4, 1
Read8x8 v2, r3, r4, 1
Read8x8 v3, r3, r4, 1
Read8x8 v4, r3, r4, 1
Read8x8 v5, r3, r4, 1
Read8x8 v6, r3, r... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 641 | 700 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:18 | vinterp_no_store_8x8 v5, v6, v7, v8, v9, v10
vinterp_no_store_8x8 v6, v7, v8, v9, v10, v11
vinterp_no_store_8x8 v7, v8, v9, v10, v11, v12
cmpi cr0, r8, 8
beq cr0, store_aligned_8x8
w_8x8 v0, r7, r0, r8
w_8x8 v1, r7, r0, r8
w_8x8 v2, r7, r0, r8
w_8x8 v3, r7, r0, r8
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 681 | 740 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:19 | w_8x8 v2, r7, r0, r8
w_8x8 v3, r7, r0, r8
w_8x8 v4, r7, r0, r8
w_8x8 v5, r7, r0, r8
w_8x8 v6, r7, r0, r8
w_8x8 v7, r7, r0, r8
w_8x8 v8, r7, r0, r8
w_8x8 v9, r7, r0, r8
b exit_8x8
store_aligned2_8x8:
load_c v10, b_hilo, 0, r9, r10
vperm v2, v2, v3, v10
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 721 | 780 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:20 | ;# r6 int y_offset
;# r7 unsigned char * dst
;# r8 int dst_pitch
;# Two pass filtering. First pass is Horizontal edges, second pass is vertical
;# edges. One of the filters can be null, but both won't be. Needs to use a
;# temporary buffer because the source buffer can't be modified and the buffer
;# for the des... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 761 | 820 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:21 | load_c v14, b_hperm, 0, r9, r10
;# These statements are guessing that there won't be a second pass,
;# but if there is then inside the bypass they need to be set
li r0, 16 ;# prepare for no vertical filter
;# Change the output pointer and pitch to be the actual
;# desination in... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 801 | 860 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:22 | li r12, 32
horizontal_loop_16x16:
lvsl v15, 0, r3 ;# permutate value for alignment
;# input to filter is 21 bytes wide, output is 16 bytes.
;# input will can span three vectors if not aligned correctly.
lvx v1, 0, r3
lvx v2, r10, r3
lvx v3, r12, r3
vperm ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 841 | 900 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:23 | vmsummbm v3, v5, v11, v6
vpkswus v0, v0, v1 ;# v0 = 0 4 8 C 1 5 9 D (16-bit)
vpkswus v1, v2, v3 ;# v1 = 2 6 A E 3 7 B F
vsrh v0, v0, v13 ;# divide v0, v1 by 128
vsrh v1, v1, v13
vpkuhus v0, v0, v1 ;# v0 = scrambled 8-bit result
vperm v0, v0, v0, v14 ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 881 | 940 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:24 | copy_horizontal_loop_16x21:
lvsl v15, 0, r3 ;# permutate value for alignment
lvx v1, 0, r3
lvx v2, r10, r3
vperm v8, v1, v2, v15
stvx v8, 0, r9
addi r9, r9, 16
add r3, r3, r4
bdnz copy_horizontal_loop_16x21
second_pass_16x16:
;# always rea... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 921 | 980 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:25 | .align 4
HFilter:
.byte 0, 0,128, 0, 0, 0,128, 0, 0, 0,128, 0, 0, 0,128, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, -6,123, 12, 0, -6,123, 12, 0, -6,123, 12, 0, -6,123, 12
.byte -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 961 | 1,013 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:26 | .byte 4, 5, 6, 7, 5, 6, 7, 8, 6, 7, 8, 9, 7, 8, 9, 10
.align 4
B_89AB:
.byte 8, 9, 10, 11, 9, 10, 11, 12, 10, 11, 12, 13, 11, 12, 13, 14
.align 4
b_hilo:
.byte 0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23
.align 4
b_hilo_4x4:
.byte 0, 1, 2, ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | c2140b8af169a6d93a70efc403a5956f5ec84dba | github | media | https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_altivec.asm | 1,001 | 1,013 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 94c52e4da8a3532989c84f6b0da695dfaeb18449 | github | media | https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/common/ppc/filter_altivec.asm | 1 | 60 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:1 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
; file in the root of the sourc... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 1 | 60 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:2 | vspltb v5, v0, 5
vspltb v0, v0, 0
.endm
.macro vpre_load
Vprolog
li r10, 16
lvx v10, 0, r9 ;# v10..v14 = first 5 rows
lvx v11, r10, r9
addi r9, r9, 32
lvx v12, 0, r9
lvx v13, r10, r9
addi r9, r9, 32
lvx v14, 0, r9
.endm
.macro Msum... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 41 | 100 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:3 | vsrh v17, v17, v7 ;# v16 v17 = evens, odds
vmrghh v18, v16, v17 ;# v18 v19 = 16-bit result in order
vmrglh v19, v16, v17
vpkuhus \P0, v18, v19 ;# P0 = 8-bit result
.endm
.macro vinterp_no_store_8x8 P0 P1 P2 P3 P4 P5
vmuleub v24, \P0, v13 ;# 64 + 4 positive taps
vadduhm... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 81 | 140 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:4 | .endm
.macro luma_vtwo
luma_v v10, v11, v12, v13, v14, v15
luma_v v11, v12, v13, v14, v15, v10
.endm
.macro luma_vfour
luma_vtwo
luma_v v12, v13, v14, v15, v10, v11
luma_v v13, v14, v15, v10, v11, v12
.endm
.macro luma_vsix
luma_vfour
luma_v v14, v15, v10, v11, v12, v13
luma_v v15, v1... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 121 | 180 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:5 | vperm v20, \R, \R, v16 ;# v20 = 0123 1234 2345 3456
vperm v21, \R, \R, v17 ;# v21 = 4567 5678 6789 789A
Interp4 v20, v20, v21 ;# v20 = result 0 1 2 3
vperm \R, \R, \R, v18 ;# R = 89AB 9ABC ABCx BCxx
Interp4 v21, v21, \R ;# v21 = result 4 5 6 7
vpkswus \R, v20, v21 ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 161 | 220 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:6 | stwu r1,-32(r1) ;# create space on the stack
slwi. r5, r5, 5 ;# index into horizontal filter array
vspltish v19, 7
;# If there isn't any filtering to be done for the horizontal, then
;# just skip to the second pass.
beq- vertical_only_4x4
;# load up horizontal fil... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 201 | 260 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:7 | interp_8x8 v5
;# Finished filtering main horizontal block. If there is no
;# vertical filtering, jump to storing the data. Otherwise
;# load up and filter the additional 5 lines that are needed
;# for the vertical filter.
beq- store_4x4
;# only needed if there is a vertical filter pres... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 241 | 300 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:8 | Read8x8 v6, r3, r4, 1
Read8x8 v7, r3, r4, 1
Read8x8 v8, r3, r4, 0
slwi r6, r6, 4 ;# index into vertical filter array
second_pass_4x4:
load_c v20, b_hilo_4x4, 0, r9, r10
load_c v21, b_hilo, 0, r9, r10
;# reposition input so that it can go through the
;# filtering phase wit... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 281 | 340 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:9 | stvx v0, 0, r1
lwz r0, 0(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 4(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 8(r1)
stw r0, 0(r7)
add r7, r7, r8
lwz r0, 12(r1)
stw r0, 0(r7)
b exit_4x4
store_4x4:
stvx v2, 0... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 321 | 380 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:10 | exit_4x4:
addi r1, r1, 32 ;# recover stack
mtspr 256, r11 ;# reset old VRSAVE
blr
.macro w_8x8 V, D, R, P
stvx \V, 0, r1
lwz \R, 0(r1)
stw \R, 0(r7)
lwz \R, 4(r1)
stw \R, 4(r7)
add \D, \D, \P
.endm
.align 2
;# r3 unsigned char ... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 361 | 420 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:11 | beq- second_pass_pre_copy_8x4
load_hfilter v13, v14
;# rounding added in on the multiply
vspltisw v16, 8
vspltisw v15, 3
vslw v15, v16, v15 ;# 0x00000040000000400000004000000040
;# Load up permutation constants
load_c v16, B_0123, 0, r9, r10
load_c v17, B_4567, 0, r9, r10
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 401 | 460 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:12 | sub r9, r9, r4
sub r9, r9, r4
Read8x8 v0, r9, r4, 1
Read8x8 v1, r9, r4, 0
Read8x8 v6, r3, r4, 1
Read8x8 v7, r3, r4, 1
Read8x8 v8, r3, r4, 0
interp_8x8 v0
interp_8x8 v1
interp_8x8 v6
interp_8x8 v7
interp_8x8 v8
b second_pass_8x4
second_pass_pre_copy_8x4:
... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 441 | 500 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:13 | vspltish v20, 3
vslh v20, v15, v20 ;# 0x0040 0040 0040 0040 0040 0040 0040 0040
vspltb v14, v13, 1
vspltb v15, v13, 2
vspltb v16, v13, 3
vspltb v17, v13, 4
vspltb v18, v13, 5
vspltb v13, v13, 0
vinterp_no_store_8x8 v0, v1, v2, v3, v4, v5
vinterp_no_store_8x8 v1, v2... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 481 | 540 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:14 | beq cr0, store_aligned2_8x4
w_8x8 v2, r7, r0, r8
w_8x8 v3, r7, r0, r8
w_8x8 v4, r7, r0, r8
w_8x8 v5, r7, r0, r8
b exit_8x4
store_aligned2_8x4:
load_c v10, b_hilo, 0, r9, r10
vperm v2, v2, v3, v10
vperm v4, v4, v5, v10
stvx v2, 0, r7
addi r7, r7, 1... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 521 | 580 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:15 | oris r12, r11, 0xffff
ori r12, r12, 0xffc0
mtspr 256, r12 ;# set VRSAVE
stwu r1,-32(r1) ;# create space on the stack
slwi. r5, r5, 5 ;# index into horizontal filter array
vspltish v19, 7
;# If there isn't any filtering to be done for the horizontal... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 561 | 620 |
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:17 | sub r3, r3, r4
sub r3, r3, r4
li r10, 16
Read8x8 v0, r3, r4, 1
Read8x8 v1, r3, r4, 1
Read8x8 v2, r3, r4, 1
Read8x8 v3, r3, r4, 1
Read8x8 v4, r3, r4, 1
Read8x8 v5, r3, r4, 1
Read8x8 v6, r3, r4, 1
Read8x8 v7, r3, r4, 1
Read8x8 v8, r3, r4, 1
Read8x8 v9... | powerpc | nasm-like | macro-heavy | webmproject/libvpx | vp8/common/ppc/filter_altivec.asm | BSD-3-Clause | 0ea50ce9cb4b65eee6afa1d041fe8beb5abda667 | github | media | https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm | 641 | 700 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.