diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-01-26 14:48:37 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-01-26 14:48:37 +0000 |
commit | 84d8d88f051d8b2188b63a5d5833219d4afd0109 (patch) | |
tree | 1c1e69e67426c6b282cbed8672220e5d0a702443 | |
parent | bbb1a52c393a2656a71000c16e6fd726fad78689 (diff) | |
download | toolchains-84d8d88f051d8b2188b63a5d5833219d4afd0109.tar.gz toolchains-84d8d88f051d8b2188b63a5d5833219d4afd0109.tar.bz2 |
seem to have been applied upstream
-rw-r--r-- | sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p | 10 | ||||
-rw-r--r-- | sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p | 26 |
2 files changed, 0 insertions, 36 deletions
diff --git a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p b/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p deleted file mode 100644 index f0bf615..0000000 --- a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p +++ /dev/null @@ -1,10 +0,0 @@ ---- jmemmgr.c.old 2016-10-05 22:58:26.559475774 +0000 -+++ jmemmgr.c 2016-10-05 23:00:00.731473878 +0000 -@@ -32,6 +32,7 @@ - #include "jinclude.h" - #include "jpeglib.h" - #include "jmemsys.h" /* import the system-dependent declarations */ -+#include <limits.h> - #include <stdint.h> - - #ifndef NO_GETENV diff --git a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p b/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p deleted file mode 100644 index 4220c5d..0000000 --- a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p +++ /dev/null @@ -1,26 +0,0 @@ ---- simd/jsimd_powerpc.c -+++ simd/jsimd_powerpc.c -@@ -14,6 +14,10 @@ - * PowerPC architecture. - */ - -+#ifdef __amigaos4__ -+#include <proto/exec.h> -+#endif -+ - #define JPEG_INTERNALS - #include "../jinclude.h" - #include "../jpeglib.h" -@@ -116,6 +120,11 @@ init_simd (void) - if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT) - break; - } -+#elif defined(__amigaos4__) -+ uint32 altivec = 0; -+ IExec->GetCPUInfoTags(GCIT_VectorUnit, &altivec, TAG_DONE); -+ if(altivec == VECTORTYPE_ALTIVEC) -+ simd_support |= JSIMD_ALTIVEC; - #endif - - /* Force different settings through environment variables */ - |