[packages/SDL2_gfx] - new, based on SDL2_gfx.spec
qboosh
qboosh at pld-linux.org
Wed Jul 12 17:43:36 CEST 2017
commit 6256eb138855f1d1406617096e4b349ad56afc2c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 12 17:45:10 2017 +0200
- new, based on SDL2_gfx.spec
SDL2_gfx-local-labels.patch | 280 ++++++++++++++++++++++++++++++++++++++++++++
SDL2_gfx.spec | 132 +++++++++++++++++++++
2 files changed, 412 insertions(+)
---
diff --git a/SDL2_gfx.spec b/SDL2_gfx.spec
new file mode 100644
index 0000000..c204384
--- /dev/null
+++ b/SDL2_gfx.spec
@@ -0,0 +1,132 @@
+Summary: Graphics primitives and surface functions for SDL2
+Summary(pl.UTF-8): Funkcje do figur graficznych i powierzchni dla SDL2
+Name: SDL2_gfx
+Version: 1.0.3
+Release: 1
+License: ZLib (BSD-like)
+Group: Libraries
+#Source0Download: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
+Source0: http://www.ferzkopp.net/Software/SDL2_gfx/%{name}-%{version}.tar.gz
+# Source0-md5: 6cd25c38a803295348e8c00e9c69d364
+Patch0: %{name}-local-labels.patch
+URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
+BuildRequires: SDL2-devel >= 2.0.0
+BuildRequires: autoconf >= 2.59-9
+BuildRequires: automake
+BuildRequires: libtool >= 2:2
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.566
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The SDL2_gfx library provides the basic drawing functions such as
+lines, circles or polygons provided by SDL_gfx on SDL2 against
+renderers of SDL2.
+
+The current components of the SDL_gfx2 library are:
+- Graphic Primitives (SDL2_gfxPrimitves.h)
+- Surface Rotozoomer (SDL2_rotozoom.h)
+- Framerate control (SDL2_framerate.h)
+- MMX image filters (SDL2_imageFilter.h).
+
+%description -l pl.UTF-8
+Biblioteka SDL2_gfx udostępnia użytkownikom biblioteki SDL2 podstawowe
+funkcje do rysowania figur takich jak linie, okręgi czy wielokąty,
+udostępniane wcześniej przez SDL_gfx.
+
+Aktualnie SDL2_gfx zawiera następujące komponenty:
+- prymitywy graficzne (SDL2_gfxPrimitives.h)
+- Rotozoomer (SDL2_rotozoom.h)
+- kontrola szybkości rysowania obrazu (SDL2_framerate.h)
+- filtry obrazów używające MMX (SDL2_imageFilter.h).
+
+%package devel
+Summary: Header files and more to develop SDL2_gfx applications
+Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_gfx
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: SDL2-devel >= 2.0.0
+
+%description devel
+Header files and more to develop SDL2_gfx applications.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe do rozwijania aplikacji używających SDL2_gfx.
+
+%package static
+Summary: Static SDL2_gfx library
+Summary(pl.UTF-8): Statyczna biblioteka SDL2_gfx
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static SDL2_gfx library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka SDL2_gfx.
+
+%package apidocs
+Summary: API documentation for SDL2_gfx library
+Summary(pl.UTF-8): Dokumentacja API biblioteki SDL2_gfx
+Group: Documentation
+
+%description apidocs
+API documentation for SDL2_gfx library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki SDL2_gfx.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+%ifnarch %{ix86}
+ --disable-mmx
+%endif
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libSDL2_gfx.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README
+%attr(755,root,root) %{_libdir}/libSDL2_gfx-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libSDL2_gfx-1.0.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libSDL2_gfx.so
+%{_includedir}/SDL2/SDL2_framerate.h
+%{_includedir}/SDL2/SDL2_gfxPrimitives.h
+%{_includedir}/SDL2/SDL2_imageFilter.h
+%{_includedir}/SDL2/SDL2_rotozoom.h
+%{_pkgconfigdir}/SDL2_gfx.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libSDL2_gfx.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc Docs/html/*
diff --git a/SDL2_gfx-local-labels.patch b/SDL2_gfx-local-labels.patch
new file mode 100644
index 0000000..d5736fa
--- /dev/null
+++ b/SDL2_gfx-local-labels.patch
@@ -0,0 +1,280 @@
+--- SDL2_gfx-1.0.3/SDL2_imageFilter.c~ 2010-06-17 00:20:49.914855745 +0200
++++ SDL2_gfx-1.0.3/SDL2_imageFilter.c 2010-06-17 00:28:27.684829066 +0200
+@@ -4280,10 +4280,10 @@
+ "mov %2, %%edx \n\t" /* initialize ROWS counter */
+ "sub $2, %%edx \n\t" /* do not use first and last row */
+ /* --- */
+- ".L10320: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
+ "sub $2, %%ecx \n\t" /* do not use first and last column */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10322: \n\t"
++ "2: \n\t"
+ /* --- */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the image first row */
+ "add %%eax, %%esi \n\t" /* move one row below */
+@@ -4324,11 +4324,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10322 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $2, %%esi \n\t" /* move to the next row in Src */
+ "add $2, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%edx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10320 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -4523,10 +4523,10 @@
+ "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $4, %%ebx \n\t" /* do not use first 2 and last 2 rows */
+ /* --- */
+- ".L10330: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $4, %%ecx \n\t" /* do not use first 2 and last 2 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10332: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -4626,11 +4626,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10332 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $4, %%esi \n\t" /* move to the next row in Src */
+ "add $4, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10330 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -4851,10 +4851,10 @@
+ "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $6, %%ebx \n\t" /* do not use first 3 and last 3 rows */
+ /* --- */
+- ".L10340: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $6, %%ecx \n\t" /* do not use first 3 and last 3 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10342: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -4982,11 +4982,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10342 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $6, %%esi \n\t" /* move to the next row in Src */
+ "add $6, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10340 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -5307,10 +5307,10 @@
+ "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $8, %%ebx \n\t" /* do not use first 4 and last 4 rows */
+ /* --- */
+- ".L10350: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $8, %%ecx \n\t" /* do not use first 4 and last 4 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10352: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -5529,11 +5529,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10352 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $8, %%esi \n\t" /* move to the next row in Src */
+ "add $8, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10350 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -5669,10 +5669,10 @@
+ "mov %2, %%edx \n\t" /* initialize ROWS counter */
+ "sub $2, %%edx \n\t" /* do not use first and last row */
+ /* --- */
+- ".L10360: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
+ "sub $2, %%ecx \n\t" /* do not use first and last column */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10362: \n\t"
++ "2: \n\t"
+ /* --- */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the image first row */
+ "add %%eax, %%esi \n\t" /* move one row below */
+@@ -5705,11 +5705,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10362 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $2, %%esi \n\t" /* move to the next row in Src */
+ "add $2, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%edx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10360 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -5903,10 +5903,10 @@
+ "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $4, %%ebx \n\t" /* do not use first 2 and last 2 rows */
+ /* --- */
+- ".L10370: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $4, %%ecx \n\t" /* do not use first 2 and last 2 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10372: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -6005,11 +6005,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10372 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $4, %%esi \n\t" /* move to the next row in Src */
+ "add $4, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10370 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -6233,10 +6233,10 @@
+ "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $6, %%ebx \n\t" /* do not use first 3 and last 3 rows */
+ /* --- */
+- ".L10380: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $6, %%ecx \n\t" /* do not use first 3 and last 3 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10382: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -6367,11 +6367,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10382 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $6, %%esi \n\t" /* move to the next row in Src */
+ "add $6, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10380 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -6708,10 +6708,10 @@
+ "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "add %%eax, %%edi \n\t" "mov %2, %%ebx \n\t" /* initialize ROWS counter */
+ "sub $8, %%ebx \n\t" /* do not use first 4 and last 4 rows */
+ /* --- */
+- ".L10390: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMNS counter */
+ "sub $8, %%ecx \n\t" /* do not use first 4 and last 4 columns */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10392: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
++ "2: \n\t" "pxor %%mm7, %%mm7 \n\t" /* zero MM7 (accumulator) */
+ "movd %%esi, %%mm6 \n\t" /* save ESI in MM6 */
+ /* --- 1 */
+ "movq (%%esi), %%mm1 \n\t" /* load 8 bytes of the Src */
+@@ -6946,11 +6946,11 @@
+ "inc %%edi \n\t" /* move Dest pointer to the next pixel */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10392 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "add $8, %%esi \n\t" /* move to the next row in Src */
+ "add $8, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%ebx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10390 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -7116,12 +7116,12 @@
+ "mov %2, %%edx \n\t" /* initialize ROWS counter */
+ "sub $2, %%edx \n\t" /* do not use first and last rows */
+ /* --- */
+- ".L10400: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
+ "shr $3, %%ecx \n\t" /* EBX/8 (MMX loads 8 bytes at a time) */
+ "mov %%esi, %%ebx \n\t" /* save ESI in EBX */
+ "movd %%edi, %%mm1 \n\t" /* save EDI in MM1 */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10402: \n\t"
++ "2: \n\t"
+ /* --- */
+ "movq (%%esi), %%mm4 \n\t" /* load 8 bytes from Src */
+ "movq %%mm4, %%mm5 \n\t" /* save MM4 in MM5 */
+@@ -7199,13 +7199,13 @@
+ "add $8, %%edi \n\t" /* move Dest pointer to the next 8 pixels */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10402 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "mov %%ebx, %%esi \n\t" /* restore most left current row Src address */
+ "movd %%mm1, %%edi \n\t" /* restore most left current row Dest address */
+ "add %%eax, %%esi \n\t" /* move to the next row in Src */
+ "add %%eax, %%edi \n\t" /* move to the next row in Dest */
+ "dec %%edx \n\t" /* decrease loop counter ROWS */
+- "jnz .L10400 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
+@@ -7386,12 +7386,12 @@
+ /* initialize ROWS counter */
+ "subl $2, %2 \n\t" /* do not use first and last rows */
+ /* --- */
+- ".L10410: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
++ "1: \n\t" "mov %%eax, %%ecx \n\t" /* initialize COLUMS counter */
+ "shr $3, %%ecx \n\t" /* EBX/8 (MMX loads 8 bytes at a time) */
+ "mov %%esi, %%ebx \n\t" /* save ESI in EBX */
+ "mov %%edi, %%edx \n\t" /* save EDI in EDX */
+ ".align 16 \n\t" /* 16 byte alignment of the loop entry */
+- ".L10412: \n\t"
++ "2: \n\t"
+ /* --- */
+ "movq (%%esi), %%mm4 \n\t" /* load 8 bytes from Src */
+ "movq %%mm4, %%mm5 \n\t" /* save MM4 in MM5 */
+@@ -7481,13 +7481,13 @@
+ "add $8, %%edi \n\t" /* move Dest pointer to the next 8 pixels */
+ /* --- */
+ "dec %%ecx \n\t" /* decrease loop counter COLUMNS */
+- "jnz .L10412 \n\t" /* check loop termination, proceed if required */
++ "jnz 2b \n\t" /* check loop termination, proceed if required */
+ "mov %%ebx, %%esi \n\t" /* restore most left current row Src address */
+ "mov %%edx, %%edi \n\t" /* restore most left current row Dest address */
+ "add %%eax, %%esi \n\t" /* move to the next row in Src */
+ "add %%eax, %%edi \n\t" /* move to the next row in Dest */
+ "decl %2 \n\t" /* decrease loop counter ROWS */
+- "jnz .L10410 \n\t" /* check loop termination, proceed if required */
++ "jnz 1b \n\t" /* check loop termination, proceed if required */
+ /* --- */
+ "emms \n\t" /* exit MMX state */
+ "popa \n\t":"=m" (Dest) /* %0 */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SDL2_gfx.git/commitdiff/6256eb138855f1d1406617096e4b349ad56afc2c
More information about the pld-cvs-commit
mailing list