Home | History | Annotate | Download | only in neon
      1 ;
      2 ;  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
      3 ;
      4 ;  Use of this source code is governed by a BSD-style license
      5 ;  that can be found in the LICENSE file in the root of the source
      6 ;  tree. An additional intellectual property rights grant can be found
      7 ;  in the file PATENTS.  All contributing project authors may
      8 ;  be found in the AUTHORS file in the root of the source tree.
      9 ;
     10 
     11 
     12     EXPORT  |vp8_copy_mem8x8_neon|
     13     ; ARM
     14     ; REQUIRE8
     15     ; PRESERVE8
     16 
     17     AREA    Block, CODE, READONLY ; name this block of code
     18 ;void copy_mem8x8_neon( unsigned char *src, int src_stride, unsigned char *dst, int dst_stride)
     19 ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     20 |vp8_copy_mem8x8_neon| PROC
     21 
     22     vld1.u8     {d0}, [r0], r1
     23     vld1.u8     {d1}, [r0], r1
     24     vst1.u8     {d0}, [r2], r3
     25     vld1.u8     {d2}, [r0], r1
     26     vst1.u8     {d1}, [r2], r3
     27     vld1.u8     {d3}, [r0], r1
     28     vst1.u8     {d2}, [r2], r3
     29     vld1.u8     {d4}, [r0], r1
     30     vst1.u8     {d3}, [r2], r3
     31     vld1.u8     {d5}, [r0], r1
     32     vst1.u8     {d4}, [r2], r3
     33     vld1.u8     {d6}, [r0], r1
     34     vst1.u8     {d5}, [r2], r3
     35     vld1.u8     {d7}, [r0], r1
     36     vst1.u8     {d6}, [r2], r3
     37     vst1.u8     {d7}, [r2], r3
     38 
     39     mov     pc, lr
     40 
     41     ENDP  ; |vp8_copy_mem8x8_neon|
     42 
     43     END
     44