media/libvpx/vp8/common/arm/neon/copymem16x16_neon.asm

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 ;
michael@0 2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
michael@0 3 ;
michael@0 4 ; Use of this source code is governed by a BSD-style license
michael@0 5 ; that can be found in the LICENSE file in the root of the source
michael@0 6 ; tree. An additional intellectual property rights grant can be found
michael@0 7 ; in the file PATENTS. All contributing project authors may
michael@0 8 ; be found in the AUTHORS file in the root of the source tree.
michael@0 9 ;
michael@0 10
michael@0 11
michael@0 12 EXPORT |vp8_copy_mem16x16_neon|
michael@0 13 ; ARM
michael@0 14 ; REQUIRE8
michael@0 15 ; PRESERVE8
michael@0 16
michael@0 17 AREA Block, CODE, READONLY ; name this block of code
michael@0 18 ;void copy_mem16x16_neon( unsigned char *src, int src_stride, unsigned char *dst, int dst_stride)
michael@0 19 ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
michael@0 20 |vp8_copy_mem16x16_neon| PROC
michael@0 21
michael@0 22 vld1.u8 {q0}, [r0], r1
michael@0 23 vld1.u8 {q1}, [r0], r1
michael@0 24 vld1.u8 {q2}, [r0], r1
michael@0 25 vst1.u8 {q0}, [r2], r3
michael@0 26 vld1.u8 {q3}, [r0], r1
michael@0 27 vst1.u8 {q1}, [r2], r3
michael@0 28 vld1.u8 {q4}, [r0], r1
michael@0 29 vst1.u8 {q2}, [r2], r3
michael@0 30 vld1.u8 {q5}, [r0], r1
michael@0 31 vst1.u8 {q3}, [r2], r3
michael@0 32 vld1.u8 {q6}, [r0], r1
michael@0 33 vst1.u8 {q4}, [r2], r3
michael@0 34 vld1.u8 {q7}, [r0], r1
michael@0 35 vst1.u8 {q5}, [r2], r3
michael@0 36 vld1.u8 {q8}, [r0], r1
michael@0 37 vst1.u8 {q6}, [r2], r3
michael@0 38 vld1.u8 {q9}, [r0], r1
michael@0 39 vst1.u8 {q7}, [r2], r3
michael@0 40 vld1.u8 {q10}, [r0], r1
michael@0 41 vst1.u8 {q8}, [r2], r3
michael@0 42 vld1.u8 {q11}, [r0], r1
michael@0 43 vst1.u8 {q9}, [r2], r3
michael@0 44 vld1.u8 {q12}, [r0], r1
michael@0 45 vst1.u8 {q10}, [r2], r3
michael@0 46 vld1.u8 {q13}, [r0], r1
michael@0 47 vst1.u8 {q11}, [r2], r3
michael@0 48 vld1.u8 {q14}, [r0], r1
michael@0 49 vst1.u8 {q12}, [r2], r3
michael@0 50 vld1.u8 {q15}, [r0], r1
michael@0 51 vst1.u8 {q13}, [r2], r3
michael@0 52 vst1.u8 {q14}, [r2], r3
michael@0 53 vst1.u8 {q15}, [r2], r3
michael@0 54
michael@0 55 mov pc, lr
michael@0 56
michael@0 57 ENDP ; |vp8_copy_mem16x16_neon|
michael@0 58
michael@0 59 END

mercurial