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/ppc/filter_altivec.asm:18
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 w_8x8 v4, r7, r0, r8 w_8x8 v5, r7, r0, r8 ...
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
681
740
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:20
;# 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 destination is not lar...
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
761
820
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:21
;# 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 instead of a temporary buffer. addi...
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
801
860
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:22
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 v8, v1, v2, v15 ...
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
841
900
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:23
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 ;# v0 = correctly-ordered ...
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
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
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_altivec.asm
921
980
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:25
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, 0 .by...
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
961
1,012
webmproject/libvpx:vp8/common/ppc/filter_altivec.asm:26
.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, 3, 16, 17, 18, 19, 0, 0, 0, 0, 0, 0, 0, 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
1,001
1,012
webmproject/libvpx:vp8/common/ppc/filter_bilinear_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_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:2
;# If there isn't any filtering to be done for the horizontal, then ;# just skip to the second pass. beq \jump_label load_c v20, hfilter_b, r5, r9, r0 ;# setup constants ;# v14 permutation value for alignment load_c v28, b_hperm_b, 0, r9, r0 ;# rounding added in on the multiply v...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
41
100
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:3
vmsummbm v24, v20, v24, v18 vmsummbm v25, v20, v25, v18 vpkswus v24, v24, v25 ;# v24 = 0 4 8 C 1 5 9 D (16-bit) vsrh v24, v24, v19 ;# divide v0, v1 by 128 vpkuhus \V, v24, v24 ;# \V = scrambled 8-bit result .endm .macro hfilter_8 V, increment_counter lvsl v17, 0, r3 ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
81
140
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:4
.endm .macro write_aligned_8 V, increment_counter stvx \V, 0, r7 .if \increment_counter add r7, r7, r8 .endif .endm .macro vfilter_16 P0 P1 vmuleub v22, \P0, v20 ;# 64 + 4 positive taps vadduhm v22, v18, v22 vmuloub v23, \P0, v20 vadduhm v23, v18, v23 vmuleub v24, \P1, v21 ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:5
;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict4x4_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xf830 ori r12, r12, 0xfff8 mtspr 256, r12 ;# set VRSAVE stwu ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
161
220
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:6
load_and_align_8 v2, 1 load_and_align_8 v3, 1 load_and_align_8 v4, 1 second_pass_4x4_b: vspltish v20, 8 vspltish v18, 3 vslh v18, v20, v18 ;# 0x0040 0040 0040 0040 0040 0040 0040 0040 load_vfilter v20, v21 vfilter_16 v0, v1 vfilter_16 v1, v2 vfilter_16 v2, v3 vfilte...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
201
260
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:7
mtspr 256, r11 ;# reset old VRSAVE blr .align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict8x4_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xf830 ori r12...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
241
300
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:8
second_pass_8x4_pre_copy_b: slwi r6, r6, 5 ;# index into vertical filter array load_and_align_8 v0, 1 load_and_align_8 v1, 1 load_and_align_8 v2, 1 load_and_align_8 v3, 1 load_and_align_8 v4, 1 second_pass_8x4_b: vspltish v20, 8 vspltish v18, 3 vslh v18, v20, v...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
281
340
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:9
addi r7, r7, 16 stvx v2, 0, r7 exit_8x4: addi r1, r1, 32 ;# recover stack mtspr 256, r11 ;# reset old VRSAVE blr .align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_pred...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
321
380
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:10
;# Finished filtering main horizontal block. If there is no ;# vertical filtering, jump to storing the data. Otherwise ;# load up and filter the additional line that is needed ;# for the vertical filter. beq store_out_8x8_b hfilter_8 v8, 0 b second_pass_8x8_b second_pass_8x8_pre_co...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
361
420
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:11
cmpi cr0, r8, 8 beq cr0, store_aligned_8x8_b w_8x8 v0, r7, r0, r8 w_8x8 v1, r7, r0, r8 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 b exit_8x8 store_aligned_8x8_b: ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
401
460
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:12
;# r3 src_ptr ;# r4 pitch ;# r10 16 ;# r12 32 ;# v17 perm intput ;# v18 rounding ;# v19 shift ;# v20 filter taps ;# v21 tmp ;# v22 tmp ;# v23 tmp ;# v24 tmp ;# v25 tmp ;# v26 tmp ;# v27 tmp ;# v28 perm output ;# .macro hfilter_16 V, increment_counter lvsl v17, 0, r3 ;# permutate value...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
441
500
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:13
;# set 2 vsldoi v23, v21, v22, 2 vmsummbm v26, v20, v23, v18 ;# set 3 vsldoi v23, v21, v22, 3 vmsummbm v27, v20, v23, v18 vpkswus v24, v24, v25 ;# v24 = 0 4 8 C 1 5 9 D (16-bit) vpkswus v25, v26, v27 ;# v25 = 2 6 A E 3 7 B F vsrh v24, v24, v19 ;# divide v0, v1 b...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
481
540
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:14
.align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict16x16_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xfff8 mtspr 256, r12 ;# set VRSAVE ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
521
580
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:15
b second_pass_16x16_b second_pass_16x16_pre_copy_b: slwi r6, r6, 5 ;# index into vertical filter array load_and_align_16 v0, 1 load_and_align_16 v1, 1 load_and_align_16 v2, 1 load_and_align_16 v3, 1 load_and_align_16 v4, 1 load_and_align_16 v5, 1 load_and_ali...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
561
620
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:16
vfilter_16 v9, v10 vfilter_16 v10, v11 vfilter_16 v11, v12 vfilter_16 v12, v13 vfilter_16 v13, v14 vfilter_16 v14, v15 vfilter_16 v15, v16 store_out_16x16_b: write_16 v0, 1 write_16 v1, 1 write_16 v2, 1 write_16 v3, 1 write_16 v4, 1 write_16 v5, 1 write_16 v6...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
601
660
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:17
.byte 48, 80, 0, 0, 48, 80, 0, 0, 48, 80, 0, 0, 48, 80, 0, 0 .byte 32, 96, 0, 0, 32, 96, 0, 0, 32, 96, 0, 0, 32, 96, 0, 0 .byte 16,112, 0, 0, 16,112, 0, 0, 16,112, 0, 0, 16,112, 0, 0 .align 4 vfilter_b: .byte 128,128,128,128,128,128,128,128,128,128,128,128,128,128,128...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/filter_bilinear_altivec.asm
641
677
webmproject/libvpx:vp8/common/ppc/filter_bilinear_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_bilinear_altivec.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/common/ppc/filter_bilinear_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/filter_bilinear_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_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:2
;# just skip to the second pass. beq \jump_label load_c v20, hfilter_b, r5, r9, r0 ;# setup constants ;# v14 permutation value for alignment load_c v28, b_hperm_b, 0, r9, r0 ;# rounding added in on the multiply vspltisw v21, 8 vspltisw v18, 3 vslw v18, v21, v18 ;# 0x...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
41
100
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:4
.macro write_aligned_8 V, increment_counter stvx \V, 0, r7 .if \increment_counter add r7, r7, r8 .endif .endm .macro vfilter_16 P0 P1 vmuleub v22, \P0, v20 ;# 64 + 4 positive taps vadduhm v22, v18, v22 vmuloub v23, \P0, v20 vadduhm v23, v18, v23 vmuleub v24, \P1, v21 vad...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:5
;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict4x4_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xf830 ori r12, r12, 0xfff8 mtspr 256, r12 ;# set VRSAVE stwu r1,-32(r1) ;# c...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
161
220
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:6
load_and_align_8 v3, 1 load_and_align_8 v4, 1 second_pass_4x4_b: vspltish v20, 8 vspltish v18, 3 vslh v18, v20, v18 ;# 0x0040 0040 0040 0040 0040 0040 0040 0040 load_vfilter v20, v21 vfilter_16 v0, v1 vfilter_16 v1, v2 vfilter_16 v2, v3 vfilter_16 v3, v4 store_out_4x4_...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
201
260
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:7
blr .align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict8x4_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xf830 ori r12, r12, 0xfff8 mtspr 256, r12 ;# set ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
241
300
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:8
slwi r6, r6, 5 ;# index into vertical filter array load_and_align_8 v0, 1 load_and_align_8 v1, 1 load_and_align_8 v2, 1 load_and_align_8 v3, 1 load_and_align_8 v4, 1 second_pass_8x4_b: vspltish v20, 8 vspltish v18, 3 vslh v18, v20, v18 ;# 0x0040 0040 0040 0040 00...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
281
340
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:9
stvx v2, 0, r7 exit_8x4: addi r1, r1, 32 ;# recover stack mtspr 256, r11 ;# reset old VRSAVE blr .align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict8x8_ppc: mfspr ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
321
380
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:10
;# vertical filtering, jump to storing the data. Otherwise ;# load up and filter the additional line that is needed ;# for the vertical filter. beq store_out_8x8_b hfilter_8 v8, 0 b second_pass_8x8_b second_pass_8x8_pre_copy_b: slwi r6, r6, 5 ;# index into vertical filt...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
361
420
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:12
;# r4 pitch ;# r10 16 ;# r12 32 ;# v17 perm intput ;# v18 rounding ;# v19 shift ;# v20 filter taps ;# v21 tmp ;# v22 tmp ;# v23 tmp ;# v24 tmp ;# v25 tmp ;# v26 tmp ;# v27 tmp ;# v28 perm output ;# .macro hfilter_16 V, increment_counter lvsl v17, 0, r3 ;# permutate value for alignment ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
441
500
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:13
vsldoi v23, v21, v22, 2 vmsummbm v26, v20, v23, v18 ;# set 3 vsldoi v23, v21, v22, 3 vmsummbm v27, v20, v23, v18 vpkswus v24, v24, v25 ;# v24 = 0 4 8 C 1 5 9 D (16-bit) vpkswus v25, v26, v27 ;# v25 = 2 6 A E 3 7 B F vsrh v24, v24, v19 ;# divide v0, v1 by 128 vsr...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
481
540
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:14
.align 2 ;# r3 unsigned char * src ;# r4 int src_pitch ;# r5 int x_offset ;# r6 int y_offset ;# r7 unsigned char * dst ;# r8 int dst_pitch bilinear_predict16x16_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xfff8 mtspr 256, r12 ;# set VRSAVE ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
521
580
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:15
b second_pass_16x16_b second_pass_16x16_pre_copy_b: slwi r6, r6, 5 ;# index into vertical filter array load_and_align_16 v0, 1 load_and_align_16 v1, 1 load_and_align_16 v2, 1 load_and_align_16 v3, 1 load_and_align_16 v4, 1 load_and_align_16 v5, 1 load_and_ali...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
561
620
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:16
vfilter_16 v10, v11 vfilter_16 v11, v12 vfilter_16 v12, v13 vfilter_16 v13, v14 vfilter_16 v14, v15 vfilter_16 v15, v16 store_out_16x16_b: write_16 v0, 1 write_16 v1, 1 write_16 v2, 1 write_16 v3, 1 write_16 v4, 1 write_16 v5, 1 write_16 v6, 1 write_16 v7, 1...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
601
660
webmproject/libvpx:vp8/common/ppc/filter_bilinear_altivec.asm:17
.byte 32, 96, 0, 0, 32, 96, 0, 0, 32, 96, 0, 0, 32, 96, 0, 0 .byte 16,112, 0, 0, 16,112, 0, 0, 16,112, 0, 0, 16,112, 0, 0 .align 4 vfilter_b: .byte 128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128 .byte 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/filter_bilinear_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/filter_bilinear_altivec.asm
641
676
webmproject/libvpx:vp8/common/ppc/idctllm_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/idctllm_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/idctllm_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:2
vupkhsh v3, v1 vaddsws v6, v2, v3 ;# a1 = ip[0]+ip[8] vsubsws v7, v2, v3 ;# b1 = ip[0]-ip[8] vupklsh v0, v0 vmulosh v4, v0, v8 vsraw v4, v4, v12 vaddsws v4, v4, v0 ;# ip[ 4] * sin(pi/8) * sqrt(2) vupklsh v1, v1 vmulosh v5, v1, v9 vsraw v5, v5, v12 ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/idctllm_altivec.asm
41
100
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:3
vperm v1, v4, v5, v11 ;# a1 b1 c1 d1 vperm v2, v6, v7, v10 ;# a2 b2 c2 d2 vperm v3, v6, v7, v11 ;# a3 b3 c3 d3 ;# second pass vaddsws v6, v0, v2 ;# a1 = ip[0]+ip[8] vsubsws v7, v0, v2 ;# b1 = ip[0]-ip[8] vmulosh v4, v1, v8 vsraw v4, v4, v12 vaddsw...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/idctllm_altivec.asm
81
140
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:4
vaddshs v0, v0, v6 vaddshs v1, v1, v6 vsrah v0, v0, v7 vsrah v1, v1, v7 ;# transpose output vmrghh v2, v0, v1 ;# a0 c0 a1 c1 a2 c2 a3 c3 vmrglh v3, v0, v1 ;# b0 d0 b1 d1 b2 d2 b3 d3 vmrghh v0, v2, v3 ;# a0 b0 c0 d0 a1 b1 c1 d1 vmrglh v1, v2, v3 ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/idctllm_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:5
stw r6, 0(r4) lwz r6, 12(r1) stw r6, 4(r4) addi r1, r1, 416 ;# recover stack mtspr 256, r11 ;# reset old VRSAVE blr .align 4 sinpi8sqrt2: .short 35468, 35468, 35468, 35468, 35468, 35468, 35468, 35468 .align 4 cospi8sqrt2minus1: .short 2009...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/idctllm_altivec.asm
161
189
webmproject/libvpx:vp8/common/ppc/idctllm_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/idctllm_altivec.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vp8/common/ppc/idctllm_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/idctllm_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/idctllm_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/idctllm_altivec.asm
1
60
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:2
vaddsws v6, v2, v3 ;# a1 = ip[0]+ip[8] vsubsws v7, v2, v3 ;# b1 = ip[0]-ip[8] vupklsh v0, v0 vmulosh v4, v0, v8 vsraw v4, v4, v12 vaddsws v4, v4, v0 ;# ip[ 4] * sin(pi/8) * sqrt(2) vupklsh v1, v1 vmulosh v5, v1, v9 vsraw v5, v5, v12 ;# ip[12] * co...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/idctllm_altivec.asm
41
100
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:3
vperm v2, v6, v7, v10 ;# a2 b2 c2 d2 vperm v3, v6, v7, v11 ;# a3 b3 c3 d3 ;# second pass vaddsws v6, v0, v2 ;# a1 = ip[0]+ip[8] vsubsws v7, v0, v2 ;# b1 = ip[0]-ip[8] vmulosh v4, v1, v8 vsraw v4, v4, v12 vaddsws v4, v4, v1 ;# ip[ 4] * sin(pi/8) * sq...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/idctllm_altivec.asm
81
140
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:4
vaddshs v0, v0, v6 vaddshs v1, v1, v6 vsrah v0, v0, v7 vsrah v1, v1, v7 ;# transpose output vmrghh v2, v0, v1 ;# a0 c0 a1 c1 a2 c2 a3 c3 vmrglh v3, v0, v1 ;# b0 d0 b1 d1 b2 d2 b3 d3 vmrghh v0, v2, v3 ;# a0 b0 c0 d0 a1 b1 c1 d1 vmrglh v1, v2, v3 ...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/idctllm_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/idctllm_altivec.asm:5
lwz r6, 12(r1) stw r6, 4(r4) addi r1, r1, 416 ;# recover stack mtspr 256, r11 ;# reset old VRSAVE blr .align 4 sinpi8sqrt2: .short 35468, 35468, 35468, 35468, 35468, 35468, 35468, 35468 .align 4 cospi8sqrt2minus1: .short 20091, 20091, 20091, 20091,...
powerpc
nasm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/idctllm_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/idctllm_altivec.asm
161
188
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:3
;# ;# ;# Except for bits s and d, the other relationships between register ;# number (= high-order part of address) bits are at the disposal of ;# the programmer. ;# ;# To avoid excess transposes, we filter all 3 vertical luma subblock ;# edges together. This requires a single 16x16 transpose, which, in ;# ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
81
140
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:4
Tpair v26,v27, v5,v13 Tpair v28,v29, v6,v14 Tpair v30,v31, v7,v15 .endm .macro t16_odd Tpair v0,v1, v16,v24 Tpair v2,v3, v17,v25 Tpair v4,v5, v18,v26 Tpair v6,v7, v19,v27 Tpair v8,v9, v20,v28 Tpair v10,v11, v21,v29 Tpair v12,v13, v22,v30 Tpair v14,v15, v23,v31 .endm ;# Whole...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:5
;# ;# We begin by reading the data 32 bits at a time (using scalar operations) ;# into a temporary array, reading the rows of the array into vector registers, ;# with the following layout: ;# ;# v0 = 0 16 32 48 4 20 36 52 8 24 40 56 12 28 44 60 ;# v1 = 1 17 33 49 5 21 ... 45 61 ;# v2 = ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
161
220
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:6
vmrghw v4, v0, v1 vmrglw v5, v0, v1 vmrghw v6, v2, v3 vmrglw v7, v2, v3 ;# d=0 s=1 =0= =1= =2= 3->4 4->5 5->3 vperm v0, v4, v6, \Vlo vperm v1, v4, v6, \Vhi vperm v2, v5, v7, \Vlo vperm v3, v5, v7, \Vhi .endm ;# end Transpose4times4x4 ;# Normal mb vertical edg...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
201
260
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:7
;# ;# x = 0; do Tpair( V(2x),V(2x+1), V(x),V(x+4)) while( ++x < 4); ;# ;# The input/output is in registers v0...v7. We use v10...v17 as mirrors; ;# preserving v8 = sign converter. ;# ;# Inverse transpose is similar, except here I -> (I+3) mod 7 and the ;# result lands in the "mirror" registers v10...v17 ;# .m...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
241
300
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:8
vmrglb v3, v17, v25 vmrghb v4, v18, v26 vmrglb v5, v18, v26 vmrghb v6, v19, v27 vmrglb v7, v19, v27 vmrghb v8, v20, v28 vmrglb v9, v20, v28 vmrghb v10, v21, v29 vmrglb v11, v21, v29 vmrghb v12, v22, v30 vmrglb v13, v22, v30 vmrghb v14, v23, v31 vmrglb v15, v2...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
281
340
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:9
vmrglb v11, v21, v29 vmrghb v12, v22, v30 vmrglb v13, v22, v30 vmrghb v14, v23, v31 vmrglb v15, v23, v31 vmrghb v16, v0, v8 vmrglb v17, v0, v8 vmrghb v18, v1, v9 vmrglb v19, v1, v9 vmrghb v20, v2, v10 vmrglb v21, v2, v10 vmrghb v22, v3, v11 vmrglb v23, v3, v1...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
321
380
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:10
;# RES = Max( RES, abs( A-B)), trashes TMP .macro max_abs RES, TMP, A, B vsububs \TMP, \A, \B vmaxub \RES, \RES, \TMP vsububs \TMP, \B, \A vmaxub \RES, \RES, \TMP .endm .macro Masks ;# build masks ;# input is all 8 bit unsigned (0-255). need to ;# do abs(vala-valb) > limit. but no need ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
361
420
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:11
lvx \LI, 0, \RLI ;# limit lvx \TH, 0, \RTH ;# thresh vspltisb v11, 8 vspltisb v12, 4 vslb v11, v11, v12 ;# 0x80808080808080808080808080808080 .endm .macro load_data_y ;# setup strides/pointers to be able to access ;# all of the data add r5, r4, r4 ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
401
460
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:12
vand v13, v13, v10 ;# f &= hev .endif vsubsbs v14, \Q0, \P0 ;# -126 <= X = Q0-P0 <= +126 vaddsbs v13, v13, v14 vaddsbs v13, v13, v14 vaddsbs v13, v13, v14 ;# A = c( c(P1-Q1) + 3*(Q0-P0)) vandc v13, v13, v8 ;# f &= mask vspltisb v8, 3 vspltisb v9, 4 vadd...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
441
500
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:13
vandc v13, v13, v8 ;# f &= mask vand v15, v13, v10 ;# f2 = f & hev ;# save bottom 3 bits so that we round one side +4 and the other +3 vspltisb v8, 3 vspltisb v9, 4 vaddsbs v14, v15, v9 ;# f1 = c (f+4) vaddsbs v15, v15, v8 ;# f2 = c (f+3) vsrab v14, v14, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
481
540
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:14
vaddsbs v1, v1, v10 vxor v6, v6, v11 vxor v1, v1, v11 ;# roughly 2/7th difference across boundary vspltish v10, 7 vaddubm v12, v8, v8 vmulosb v14, v12, v13 ;# A = c( c(P1-Q1) + 3*(Q0-P0)) vmulesb v15, v12, v13 vaddshs v14, v14, v9 vaddshs v15, v15, v9 vsrah v14, v...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
521
580
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:15
vaddsbs v3, v3, v10 vxor v4, v4, v11 vxor v3, v3, v11 .endm .macro SBFilter Masks common_adjust v3, v4, v2, v5, 1 ;# outer tap adjustments vspltisb v8, 1 vaddubm v13, v13, v8 ;# f += 1 vsrab v13, v13, v8 ;# f >>= 1 vandc v13, v13, v10 ;# f &= ~hev...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
561
620
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:16
stvx v1, r7, r6 ;# P2 stvx v2, 0, r6 ;# P1 stvx v3, r7, r3 ;# P0 stvx v4, 0, r3 ;# Q0 stvx v5, r4, r3 ;# Q1 stvx v6, r5, r3 ;# Q2 mtspr 256, r11 ;# reset old VRSAVE blr .align 2 ;# r3 unsigned char...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
601
660
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:17
;# and 4 after for a total of 8 bytes. Reading 16 bytes inorder to get 4 is a bit ;# of a waste. So this is an even uglier way to get around that. ;# Using the regular register file words are read in and then saved back out to ;# memory to align and order them up. Then they are read in using the ;# vector regist...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
641
700
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:18
la r9, -48(r1) ;# temporary space for reading in vectors sub r3, r3, r4 RLVmb v0, r9 RLVmb v1, r9 RLVmb v2, r9 RLVmb v3, r9 RLVmb v4, r9 RLVmb v5, r9 RLVmb v6, r9 RLVmb v7, r9 transpose8x16_fwd build_constants r5, r6, r7, v8, v9, v10 vp8_mbfilter ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
681
740
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:19
.endm .macro WL V, R, P stvx \V, 0, \R add \R, \R, \P .endm .macro Fil P3, P2, P1, P0, Q0, Q1, Q2, Q3 ;# K = |P0-P1| already Abs v14, v13, \Q0, \Q1 ;# M = |Q0-Q1| vmaxub v14, v14, v4 ;# M = max( |P0-P1|, |Q0-Q1|) vcmpgtub v10, v14, v0 Abs ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
721
780
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:20
.align 2 ;# r3 unsigned char *s ;# r4 int p ;# r5 const signed char *flimit ;# r6 const signed char *limit ;# r7 const signed char *thresh loop_filter_vertical_edge_y_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xffff mtspr 256, r12 ;# ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
761
820
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:21
Fil v16, v17, v18, v19, v20, v21, v22, v23 Fil v20, v21, v22, v23, v24, v25, v26, v27 Fil v24, v25, v26, v27, v28, v29, v30, v31 Transpose16x16 addi r9, r3, 0 WL v16, r9, r4 WL v17, r9, r4 WL v18, r9, r4 WL v19, r9, r4 WL v20, r9, r4 WL v21, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
801
860
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:22
lvx \U, \Offs, r3 lvx \V, \Offs, r4 vperm \Dest, \U, \V, \VMask ;# Dest = active part of U then V .endm .macro hwrite_uv New, U, V, Offs, Umask, Vmask vperm \U, \New, \U, \Umask ;# Combine new pels with siblings vperm \V, \New, \V, \Vmask stvx \U, \Offs, r3 ;# Write ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
841
900
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:23
.macro vresult_sel V load_g \V, 8(r7) .endm ;# always write P1,P0,Q0,Q1 .macro store_chroma_h uresult_sel v11 vresult_sel v12 hwrite_uv v2, v18, v19, r8, v11, v12 hwrite_uv v3, v20, v21, r9, v11, v12 hwrite_uv v4, v22, v23, 0, v11, v12 hwrite_uv v5, v24, v25, r5, v11, v12 .endm .ali...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
881
940
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:24
blr .align 2 ;# r3 unsigned char *u ;# r4 unsigned char *v ;# r5 int p ;# r6 const signed char *flimit ;# r7 const signed char *limit ;# r8 const signed char *thresh loop_filter_horizontal_edge_uv_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xffff...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
921
980
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:25
.macro W V, R stvx \V, 0, \R lwz r0,12(\R) stwux r0, r4, r5 lwz r0, 8(\R) stw r0,-4(r4) lwz r0, 4(\R) stwux r0, r3, r5 lwz r0, 0(\R) stw r0,-4(r3) .endm .macro chroma_vread R sub r3, r3, r5 ;# back up one line for simplicity sub r4, r4...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
961
1,020
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:26
W v14, \R W v13, \R W v12, \R W v11, \R W v10, \R .endm .align 2 ;# r3 unsigned char *u ;# r4 unsigned char *v ;# r5 int p ;# r6 const signed char *flimit ;# r7 const signed char *limit ;# r8 const signed char *thresh mbloop_filter_vertical_edge_uv_ppc: mfspr r11, 256 ;# get ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,001
1,060
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:27
;# r8 const signed char *thresh loop_filter_vertical_edge_uv_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xc000 mtspr 256, r12 ;# set VRSAVE la r9, -48(r1) ;# temporary space for reading in vectors chroma_vread r9 ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,041
1,100
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:28
lvx v2, 0, r7 lvx v3, r8, r7 lis r12, _B_hihi@ha la r0, _B_hihi@l(r12) lvx v16, 0, r0 lis r12, _B_lolo@ha la r0, _B_lolo@l(r12) lvx v17, 0, r0 Transpose4times4x4 v16, v17 vp8_simple_filter vxor v0, v0, v11 vxor v3, v3, v11 ;# cv...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,081
1,140
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:29
neg r5, r4 ;# r5 = -1 * stride add r6, r5, r5 ;# r6 = -2 * stride lvx v0, r6, r3 ;# v0 = P1 = 16 pels two rows above edge lvx v1, r5, r3 ;# v1 = P0 = 16 pels one row above edge lvx v2, 0, r3 ;# v2 = Q0 = 16 pels one row below edge ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,121
1,180
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:30
vspltisb v11, 8 vspltisb v12, 4 vslb v11, v11, v12 ;# 0x80808080808080808080808080808080 la r5, -96(r1) ;# temporary space for reading in vectors ;# Store 4 pels at word "Offs" in temp array, then advance r7 ;# to next row and read another 4 pels from the frame buffer. ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,161
1,220
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:31
WLV 8 WLV 12 WLV 1 WLV 5 WLV 9 WLV 13 WLV 2 WLV 6 WLV 10 WLV 14 WLV 3 WLV 7 WLV 11 WLV 15 mtspr 256, r11 ;# reset old VRSAVE blr .data _chromaSelectors: .long _B_hihi .long _B_Ures0 .long _B_Vres0 .long 0 .long ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,201
1,253
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:32
_B_lolo: .byte 8, 9, 10, 11, 12, 13, 14, 15, 24, 25, 26, 27, 28, 29, 30, 31 .align 4 _B_Vres0: .byte 8, 9, 10, 11, 12, 13, 14, 15, 24, 25, 26, 27, 28, 29, 30, 31 .align 4 _B_Ures0: .byte 0, 1, 2, 3, 4, 5, 6, 7, 24, 25, 26, 27, 28, 29, 30, 31 .align 4 _B_hihi: .byte 0, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vp8/common/ppc/loopfilter_filters_altivec.asm
1,241
1,253
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:3
;# ;# Except for bits s and d, the other relationships between register ;# number (= high-order part of address) bits are at the disposal of ;# the programmer. ;# ;# To avoid excess transposes, we filter all 3 vertical luma subblock ;# edges together. This requires a single 16x16 transpose, which, in ;# the...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
81
140
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:4
Tpair v28,v29, v6,v14 Tpair v30,v31, v7,v15 .endm .macro t16_odd Tpair v0,v1, v16,v24 Tpair v2,v3, v17,v25 Tpair v4,v5, v18,v26 Tpair v6,v7, v19,v27 Tpair v8,v9, v20,v28 Tpair v10,v11, v21,v29 Tpair v12,v13, v22,v30 Tpair v14,v15, v23,v31 .endm ;# Whole transpose takes 4*16 = 64 ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
121
180
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:5
;# We begin by reading the data 32 bits at a time (using scalar operations) ;# into a temporary array, reading the rows of the array into vector registers, ;# with the following layout: ;# ;# v0 = 0 16 32 48 4 20 36 52 8 24 40 56 12 28 44 60 ;# v1 = 1 17 33 49 5 21 ... 45 61 ;# v2 = 2 ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
161
220
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:6
vmrglw v5, v0, v1 vmrghw v6, v2, v3 vmrglw v7, v2, v3 ;# d=0 s=1 =0= =1= =2= 3->4 4->5 5->3 vperm v0, v4, v6, \Vlo vperm v1, v4, v6, \Vhi vperm v2, v5, v7, \Vlo vperm v3, v5, v7, \Vhi .endm ;# end Transpose4times4x4 ;# Normal mb vertical edge filter transpose. ;# ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
201
260
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:7
;# x = 0; do Tpair( V(2x),V(2x+1), V(x),V(x+4)) while( ++x < 4); ;# ;# The input/output is in registers v0...v7. We use v10...v17 as mirrors; ;# preserving v8 = sign converter. ;# ;# Inverse transpose is similar, except here I -> (I+3) mod 7 and the ;# result lands in the "mirror" registers v10...v17 ;# .macr...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
241
300
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:8
vmrghb v4, v18, v26 vmrglb v5, v18, v26 vmrghb v6, v19, v27 vmrglb v7, v19, v27 vmrghb v8, v20, v28 vmrglb v9, v20, v28 vmrghb v10, v21, v29 vmrglb v11, v21, v29 vmrghb v12, v22, v30 vmrglb v13, v22, v30 vmrghb v14, v23, v31 vmrglb v15, v23, v31 vmrghb v16, v...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
281
340
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:9
vmrghb v12, v22, v30 vmrglb v13, v22, v30 vmrghb v14, v23, v31 vmrglb v15, v23, v31 vmrghb v16, v0, v8 vmrglb v17, v0, v8 vmrghb v18, v1, v9 vmrglb v19, v1, v9 vmrghb v20, v2, v10 vmrglb v21, v2, v10 vmrghb v22, v3, v11 vmrglb v23, v3, v11 vmrghb v24, v4, v12...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
321
380
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:10
.macro max_abs RES, TMP, A, B vsububs \TMP, \A, \B vmaxub \RES, \RES, \TMP vsububs \TMP, \B, \A vmaxub \RES, \RES, \TMP .endm .macro Masks ;# build masks ;# input is all 8 bit unsigned (0-255). need to ;# do abs(vala-valb) > limit. but no need to compare each ;# value to the limit. ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
361
420
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:11
lvx \TH, 0, \RTH ;# thresh vspltisb v11, 8 vspltisb v12, 4 vslb v11, v11, v12 ;# 0x80808080808080808080808080808080 .endm .macro load_data_y ;# setup strides/pointers to be able to access ;# all of the data add r5, r4, r4 ;# r5 = 2 * stride sub r6, r3, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
401
460
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:12
.endif vsubsbs v14, \Q0, \P0 ;# -126 <= X = Q0-P0 <= +126 vaddsbs v13, v13, v14 vaddsbs v13, v13, v14 vaddsbs v13, v13, v14 ;# A = c( c(P1-Q1) + 3*(Q0-P0)) vandc v13, v13, v8 ;# f &= mask vspltisb v8, 3 vspltisb v9, 4 vaddsbs v14, v13, v9 ;# f1 = c (f+4) ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
441
500
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:13
vandc v13, v13, v8 ;# f &= mask vand v15, v13, v10 ;# f2 = f & hev ;# save bottom 3 bits so that we round one side +4 and the other +3 vspltisb v8, 3 vspltisb v9, 4 vaddsbs v14, v15, v9 ;# f1 = c (f+4) vaddsbs v15, v15, v8 ;# f2 = c (f+3) vsrab v14, v14, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
481
540
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:14
vxor v6, v6, v11 vxor v1, v1, v11 ;# roughly 2/7th difference across boundary vspltish v10, 7 vaddubm v12, v8, v8 vmulosb v14, v12, v13 ;# A = c( c(P1-Q1) + 3*(Q0-P0)) vmulesb v15, v12, v13 vaddshs v14, v14, v9 vaddshs v15, v15, v9 vsrah v14, v14, v10 ;# >>= 7 ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
521
580
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:15
vxor v4, v4, v11 vxor v3, v3, v11 .endm .macro SBFilter Masks common_adjust v3, v4, v2, v5, 1 ;# outer tap adjustments vspltisb v8, 1 vaddubm v13, v13, v8 ;# f += 1 vsrab v13, v13, v8 ;# f >>= 1 vandc v13, v13, v10 ;# f &= ~hev vsubsbs v5, v5, v13...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
561
620
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:16
stvx v2, 0, r6 ;# P1 stvx v3, r7, r3 ;# P0 stvx v4, 0, r3 ;# Q0 stvx v5, r4, r3 ;# Q1 stvx v6, r5, r3 ;# Q2 mtspr 256, r11 ;# reset old VRSAVE blr .align 2 ;# r3 unsigned char *s ;# r4 int p ;# r5 const signed c...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
601
660
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:17
;# of a waste. So this is an even uglier way to get around that. ;# Using the regular register file words are read in and then saved back out to ;# memory to align and order them up. Then they are read in using the ;# vector register file. .macro RLVmb V, R lwzux r0, r3, r4 stw r0, 4(\R) lwz ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
641
700
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:18
la r9, -48(r1) ;# temporary space for reading in vectors sub r3, r3, r4 RLVmb v0, r9 RLVmb v1, r9 RLVmb v2, r9 RLVmb v3, r9 RLVmb v4, r9 RLVmb v5, r9 RLVmb v6, r9 RLVmb v7, r9 transpose8x16_fwd build_constants r5, r6, r7, v8, v9, v10 vp8_mbfilter ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
681
740
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:19
.macro WL V, R, P stvx \V, 0, \R add \R, \R, \P .endm .macro Fil P3, P2, P1, P0, Q0, Q1, Q2, Q3 ;# K = |P0-P1| already Abs v14, v13, \Q0, \Q1 ;# M = |Q0-Q1| vmaxub v14, v14, v4 ;# M = max( |P0-P1|, |Q0-Q1|) vcmpgtub v10, v14, v0 Abs v4, ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
721
780
webmproject/libvpx:vp8/common/ppc/loopfilter_filters_altivec.asm:20
.align 2 ;# r3 unsigned char *s ;# r4 int p ;# r5 const signed char *flimit ;# r6 const signed char *limit ;# r7 const signed char *thresh loop_filter_vertical_edge_y_ppc: mfspr r11, 256 ;# get old VRSAVE oris r12, r11, 0xffff ori r12, r12, 0xffff mtspr 256, r12 ;# ...
powerpc
masm-like
macro-heavy
webmproject/libvpx
vp8/common/ppc/loopfilter_filters_altivec.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vp8/common/ppc/loopfilter_filters_altivec.asm
761
820