save_reg_neon.asm 982 Bytes
Newer Older
1
;
2
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
3
;
4 5 6 7 8 9 10 11
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aomedia.org/license/software. If the Alliance for Open
; Media Patent License 1.0 was not distributed with this source code in the
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
;

12 13 14
;


Adrian Grange's avatar
Adrian Grange committed
15 16
    EXPORT  |aom_push_neon|
    EXPORT  |aom_pop_neon|
17 18 19 20 21 22 23

    ARM
    REQUIRE8
    PRESERVE8

    AREA ||.text||, CODE, READONLY, ALIGN=2

Adrian Grange's avatar
Adrian Grange committed
24
|aom_push_neon| PROC
25 26 27 28 29 30
    vst1.i64            {d8, d9, d10, d11}, [r0]!
    vst1.i64            {d12, d13, d14, d15}, [r0]!
    bx              lr

    ENDP

Adrian Grange's avatar
Adrian Grange committed
31
|aom_pop_neon| PROC
32 33 34 35 36 37 38 39
    vld1.i64            {d8, d9, d10, d11}, [r0]!
    vld1.i64            {d12, d13, d14, d15}, [r0]!
    bx              lr

    ENDP

    END