Commit 099a7dd8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

arm_neon: updated syntax to suit Apple's current, more strict assembler

Should be tested on Android/Linux.

Thanks to Mans Rullgard for the help.
parent e2092afc
......@@ -19,6 +19,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -108,7 +109,7 @@ i420_rgb_neon:
sub YPAD, YPITCH, WIDTH
loop_row:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
add O2, O1, OPITCH
add Y2, Y1, YPITCH
/* exit if all rows have been processed */
......
......@@ -18,6 +18,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -46,7 +47,7 @@ i420_yuyv_neon:
sub OPAD, OPITCH, WIDTH, lsl #1
sub YPAD, YPITCH, WIDTH
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
add O2, O1, OPITCH
add Y2, Y1, YPITCH
pople {r4-r8,r10-r11,pc}
......@@ -85,7 +86,7 @@ i420_uyvy_neon:
sub OPAD, OPITCH, WIDTH, lsl #1
sub YPAD, YPITCH, WIDTH
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
add O2, O1, OPITCH
add Y2, Y1, YPITCH
pople {r4-r8,r10-r11,pc}
......
......@@ -18,6 +18,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -42,7 +43,7 @@ i422_yuyv_neon:
sub OPAD, OPAD, WIDTH, lsl #1
sub YPAD, YPAD, WIDTH
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
pople {r4-r6,pc}
2:
pld [U, #64]
......@@ -75,7 +76,7 @@ i422_uyvy_neon:
sub OPAD, OPAD, WIDTH, lsl #1
sub YPAD, YPAD, WIDTH
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
pople {r4-r6,pc}
2:
pld [U, #64]
......
......@@ -19,6 +19,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -108,7 +109,7 @@ nv12_rgb_neon:
sub YPAD, YPITCH, WIDTH
loop_row:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
add O2, O1, OPITCH
add Y2, Y1, YPITCH
/* exit if all rows have been processed */
......
......@@ -19,6 +19,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -108,7 +109,7 @@ nv21_rgb_neon:
sub YPAD, YPITCH, WIDTH
loop_row:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
add O2, O1, OPITCH
add Y2, Y1, YPITCH
/* exit if all rows have been processed */
......
......@@ -18,6 +18,7 @@
@ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
@****************************************************************************/
.syntax unified
.fpu neon
.text
......@@ -42,7 +43,7 @@ yuyv_i422_neon:
sub YPAD, YPAD, WIDTH
sub IPAD, IPAD, WIDTH, lsl #1
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
pople {r4-r6,pc}
2:
pld [I, #64]
......@@ -73,7 +74,7 @@ uyvy_i422_neon:
sub YPAD, YPAD, WIDTH
sub IPAD, IPAD, WIDTH, lsl #1
1:
movgts COUNT, WIDTH
movsgt COUNT, WIDTH
pople {r4-r6,pc}
2:
pld [I, #64]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment