b1b4ba1bdd
Replace current code which corrupts the stack by duplicate of vp8 code to save and restore neon registers. Change-Id: Ibb0220b9aa985d10533befa0a455ebce57a2891a
37 lines
862 B
NASM
37 lines
862 B
NASM
;
|
|
; 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 project authors may
|
|
; be found in the AUTHORS file in the root of the source tree.
|
|
;
|
|
|
|
|
|
EXPORT |vp9_push_neon|
|
|
EXPORT |vp9_pop_neon|
|
|
|
|
ARM
|
|
REQUIRE8
|
|
PRESERVE8
|
|
|
|
AREA ||.text||, CODE, READONLY, ALIGN=2
|
|
|
|
|vp9_push_neon| PROC
|
|
vst1.i64 {d8, d9, d10, d11}, [r0]!
|
|
vst1.i64 {d12, d13, d14, d15}, [r0]!
|
|
bx lr
|
|
|
|
ENDP
|
|
|
|
|vp9_pop_neon| PROC
|
|
vld1.i64 {d8, d9, d10, d11}, [r0]!
|
|
vld1.i64 {d12, d13, d14, d15}, [r0]!
|
|
bx lr
|
|
|
|
ENDP
|
|
|
|
END
|
|
|