10c1bc742181ded4930842b46e9507372f0b1b963James Dong/* 278e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * Copyright (C) 2007-2008 ARM Limited 378e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * 478e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * Licensed under the Apache License, Version 2.0 (the "License"); 578e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * you may not use this file except in compliance with the License. 678e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * You may obtain a copy of the License at 778e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * 878e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * http://www.apache.org/licenses/LICENSE-2.0 978e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * 1078e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * Unless required by applicable law or agreed to in writing, software 1178e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * distributed under the License is distributed on an "AS IS" BASIS, 1278e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1378e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * See the License for the specific language governing permissions and 1478e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * limitations under the License. 1578e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar * 1678e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar */ 1778e52bfac041d71ce53b5b13c2abf78af742b09dLajos Molnar/* 180c1bc742181ded4930842b46e9507372f0b1b963James Dong * 190c1bc742181ded4930842b46e9507372f0b1b963James Dong */ 200c1bc742181ded4930842b46e9507372f0b1b963James Dong 210c1bc742181ded4930842b46e9507372f0b1b963James Dong .eabi_attribute 24, 1 220c1bc742181ded4930842b46e9507372f0b1b963James Dong .eabi_attribute 25, 1 230c1bc742181ded4930842b46e9507372f0b1b963James Dong 240c1bc742181ded4930842b46e9507372f0b1b963James Dong .arm 250c1bc742181ded4930842b46e9507372f0b1b963James Dong .fpu neon 260c1bc742181ded4930842b46e9507372f0b1b963James Dong .text 270c1bc742181ded4930842b46e9507372f0b1b963James Dong 280c1bc742181ded4930842b46e9507372f0b1b963James Dong .global armVCM4P10_InterpolateLuma_HalfDiagHorVer4x4_unsafe 290c1bc742181ded4930842b46e9507372f0b1b963James DongarmVCM4P10_InterpolateLuma_HalfDiagHorVer4x4_unsafe: 300c1bc742181ded4930842b46e9507372f0b1b963James Dong PUSH {r4-r12,lr} 310c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 320c1bc742181ded4930842b46e9507372f0b1b963James Dong VMOV.I16 d31,#0x14 330c1bc742181ded4930842b46e9507372f0b1b963James Dong VMOV.I16 d30,#0x5 340c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 350c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 360c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 370c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 380c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 390c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 400c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 410c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q5,d0,d1 420c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 430c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d10,d2,d31 440c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 450c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 460c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 470c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 480c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 490c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 500c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 510c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 520c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q6,d0,d1 530c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 540c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d10,d10,d8 550c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d12,d2,d31 560c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 570c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 580c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 590c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 600c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 610c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 620c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 630c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 640c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q7,d0,d1 650c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 660c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d12,d12,d8 670c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d14,d2,d31 680c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 690c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 700c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 710c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 720c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 730c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 740c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 750c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 760c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q8,d0,d1 770c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 780c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d14,d14,d8 790c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d16,d2,d31 800c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 810c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 820c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 830c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 840c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 850c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 860c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 870c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 880c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q9,d0,d1 890c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 900c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d16,d16,d8 910c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d18,d2,d31 920c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 930c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 940c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 950c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 960c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 970c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 980c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 990c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 1000c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q10,d0,d1 1010c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 1020c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d18,d18,d8 1030c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d20,d2,d31 1040c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 1050c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 1060c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 1070c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 1080c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 1090c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 1100c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 1110c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 1120c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q11,d0,d1 1130c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 1140c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d20,d20,d8 1150c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d22,d2,d31 1160c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 1170c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 1180c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 1190c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 1200c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 1210c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 1220c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 1230c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 1240c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q12,d0,d1 1250c1bc742181ded4930842b46e9507372f0b1b963James Dong VLD1.8 {d0,d1},[r0],r1 1260c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d22,d22,d8 1270c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d24,d2,d31 1280c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 1290c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d4,d0,d1,#1 1300c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d2,d0,d1,#2 1310c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d3,d0,d1,#3 1320c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d5,d0,d1,#4 1330c1bc742181ded4930842b46e9507372f0b1b963James Dong VEXT.8 d1,d0,d1,#5 1340c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q1,d2,d3 1350c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q2,d4,d5 1360c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.U8 q13,d0,d1 1370c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d24,d24,d8 1380c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I16 d26,d2,d31 1390c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I16 d8,d4,d30 1400c1bc742181ded4930842b46e9507372f0b1b963James Dong VMOV.I32 q15,#0x14 1410c1bc742181ded4930842b46e9507372f0b1b963James Dong VMOV.I32 q14,#0x5 1420c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q5,d10,d20 1430c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q1,d14,d16 1440c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q0,d12,d18 1450c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I16 d26,d26,d8 1460c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I32 q5,q1,q15 1470c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I32 q4,q0,q14 1480c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q6,d12,d22 1490c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q1,d16,d18 1500c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q0,d14,d20 1510c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I32 q6,q1,q15 1520c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I32 q5,q5,q4 1530c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I32 q4,q0,q14 1540c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q2,d14,d24 1550c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q1,d18,d20 1560c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q0,d16,d22 1570c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I32 q2,q1,q15 1580c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I32 q6,q6,q4 1590c1bc742181ded4930842b46e9507372f0b1b963James Dong VMUL.I32 q4,q0,q14 1600c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q3,d16,d26 1610c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q1,d20,d22 1620c1bc742181ded4930842b46e9507372f0b1b963James Dong VADDL.S16 q0,d18,d24 1630c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLA.I32 q3,q1,q15 1640c1bc742181ded4930842b46e9507372f0b1b963James Dong VSUB.I32 q2,q2,q4 1650c1bc742181ded4930842b46e9507372f0b1b963James Dong VMLS.I32 q3,q0,q14 1660c1bc742181ded4930842b46e9507372f0b1b963James Dong VQRSHRUN.S32 d0,q5,#10 1670c1bc742181ded4930842b46e9507372f0b1b963James Dong VQRSHRUN.S32 d2,q6,#10 1680c1bc742181ded4930842b46e9507372f0b1b963James Dong VQRSHRUN.S32 d4,q2,#10 1690c1bc742181ded4930842b46e9507372f0b1b963James Dong VQRSHRUN.S32 d6,q3,#10 1700c1bc742181ded4930842b46e9507372f0b1b963James Dong VQMOVN.U16 d0,q0 1710c1bc742181ded4930842b46e9507372f0b1b963James Dong VQMOVN.U16 d2,q1 1720c1bc742181ded4930842b46e9507372f0b1b963James Dong VQMOVN.U16 d4,q2 1730c1bc742181ded4930842b46e9507372f0b1b963James Dong VQMOVN.U16 d6,q3 1740c1bc742181ded4930842b46e9507372f0b1b963James Dong POP {r4-r12,pc} 1750c1bc742181ded4930842b46e9507372f0b1b963James Dong 1760c1bc742181ded4930842b46e9507372f0b1b963James Dong .end 1770c1bc742181ded4930842b46e9507372f0b1b963James Dong 178