2 * ARM NEON optimised DSP functions
3 * Copyright (c) 2008 Mans Rullgard <mans@mansr.com>
5 * This file is part of Libav.
7 * Libav is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * Libav is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with Libav; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #include "libavutil/arm/asm.S"
24 function ff_vorbis_inverse_coupling_neon, export=1
31 vld1.32 {d24-d25},[r1,:128]!
32 vld1.32 {d22-d23},[r0,:128]!
40 1: vld1.32 {d2-d3}, [r1,:128]!
41 vld1.32 {d0-d1}, [r0,:128]!
45 vst1.32 {d24-d25},[r3, :128]!
46 vst1.32 {d22-d23},[r12,:128]!
53 vld1.32 {d24-d25},[r1,:128]!
54 vld1.32 {d22-d23},[r0,:128]!
58 vst1.32 {d2-d3}, [r3, :128]!
59 vst1.32 {d0-d1}, [r12,:128]!
66 2: vst1.32 {d2-d3}, [r3, :128]!
67 vst1.32 {d0-d1}, [r12,:128]!
71 3: vld1.32 {d2-d3}, [r1,:128]
72 vld1.32 {d0-d1}, [r0,:128]
80 vst1.32 {d2-d3}, [r0,:128]!
81 vst1.32 {d0-d1}, [r1,:128]!