CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sat Dec 17 09:46:21 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Makefile.cflags Log Message: handle pixman revert. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/external/mit/xorg/lib/pixman/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/pixman/Makefile.cflags Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sat Dec 17 09:46:21 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Makefile.cflags Log Message: handle pixman revert. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/external/mit/xorg/lib/pixman/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/pixman/Makefile.cflags Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/pixman/Makefile diff -u src/external/mit/xorg/lib/pixman/Makefile:1.41 src/external/mit/xorg/lib/pixman/Makefile:1.42 --- src/external/mit/xorg/lib/pixman/Makefile:1.41 Sun Nov 13 09:36:37 2022 +++ src/external/mit/xorg/lib/pixman/Makefile Sat Dec 17 09:46:21 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2022/11/13 09:36:37 mrg Exp $ +# $NetBSD: Makefile,v 1.42 2022/12/17 09:46:21 mrg Exp $ NOLINT= 1 # defined @@ -88,12 +88,13 @@ AFLAGS+= ${${ACTIVE_CC} == "clang" :? -f .endif .if !empty(MACHINE_ARCH:Maarch64*) +# XXX not yet; new pixman bad on arm64. # ARM64 NEON -SRCS+= pixman-arm-neon.c \ - pixman-arma64-neon-asm.S \ - pixman-arma64-neon-asm-bilinear.S -CPPFLAGS+= -DUSE_ARM_A64_NEON - +#SRCS+= pixman-arm-neon.c \ +# pixman-arma64-neon-asm.S \ +# pixman-arma64-neon-asm-bilinear.S +#CPPFLAGS+= -DUSE_ARM_A64_NEON +# # XXX: not sure if needed? #AFLAGS+= ${${ACTIVE_CC} == "clang" :? -fno-integrated-as :} .endif Index: src/external/mit/xorg/lib/pixman/Makefile.cflags diff -u src/external/mit/xorg/lib/pixman/Makefile.cflags:1.1 src/external/mit/xorg/lib/pixman/Makefile.cflags:1.2 --- src/external/mit/xorg/lib/pixman/Makefile.cflags:1.1 Sun Nov 13 09:36:37 2022 +++ src/external/mit/xorg/lib/pixman/Makefile.cflags Sat Dec 17 09:46:21 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.cflags,v 1.1 2022/11/13 09:36:37 mrg Exp $ +# $NetBSD: Makefile.cflags,v 1.2 2022/12/17 09:46:21 mrg Exp $ .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" . if ${MACHINE_ARCH} == "i386" @@ -18,7 +18,7 @@ CPPFLAGS+= -DUSE_ARM_NEON .endif .if !empty(MACHINE_ARCH:Maarch64*) -CPPFLAGS+= -DUSE_ARM_A64_NEON +#CPPFLAGS+= -DUSE_ARM_A64_NEON .endif .if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*)
CVS commit: src/external/mit/xorg/lib/pixman/test
Module Name:src Committed By: mrg Date: Sun Nov 13 21:57:12 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman/test: Makefile Log Message: add a 'check' target to run the tests (needs to be on the same arch as host.) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/pixman/test/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/pixman/test/Makefile diff -u src/external/mit/xorg/lib/pixman/test/Makefile:1.1 src/external/mit/xorg/lib/pixman/test/Makefile:1.2 --- src/external/mit/xorg/lib/pixman/test/Makefile:1.1 Sun Nov 13 09:36:37 2022 +++ src/external/mit/xorg/lib/pixman/test/Makefile Sun Nov 13 21:57:12 2022 @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.1 2022/11/13 09:36:37 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2022/11/13 21:57:12 mrg Exp $ NOINSTALL=1 NOMAN=1 @@ -56,5 +56,12 @@ LDADD+= -lpixman-1 .PATH: ${X11SRCDIR.pixman}/test +check: +.for test in ${PROGS} + echo -n "Starting ${test}: "; date + ./${test} && echo Passed: ${test} +.endfor + echo -n "Done: "; date + .include .include
CVS commit: src/external/mit/xorg/lib/pixman/test
Module Name:src Committed By: mrg Date: Sun Nov 13 21:57:12 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman/test: Makefile Log Message: add a 'check' target to run the tests (needs to be on the same arch as host.) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/pixman/test/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sun Nov 13 09:36:37 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Added Files: src/external/mit/xorg/lib/pixman: Makefile.cflags src/external/mit/xorg/lib/pixman/test: Makefile Log Message: add build infrastructure to build the pixman tests not built or installed by default. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/external/mit/xorg/lib/pixman/Makefile cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/pixman/Makefile.cflags cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/pixman/test/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/pixman/Makefile diff -u src/external/mit/xorg/lib/pixman/Makefile:1.40 src/external/mit/xorg/lib/pixman/Makefile:1.41 --- src/external/mit/xorg/lib/pixman/Makefile:1.40 Sat Nov 12 07:43:33 2022 +++ src/external/mit/xorg/lib/pixman/Makefile Sun Nov 13 09:36:37 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2022/11/12 07:43:33 mrg Exp $ +# $NetBSD: Makefile,v 1.41 2022/11/13 09:36:37 mrg Exp $ NOLINT= 1 # defined @@ -54,20 +54,20 @@ COPTS.pixman-mmx.c= -mmmx -fvisibility=h . if defined(HAVE_LLVM) COPTS.pixman-mmx.c+= -Wno-error=attributes . endif -CPPFLAGS+= -DUSE_X86_MMX +#CPPFLAGS+= -DUSE_X86_MMX MKDEPFLAGS+= -mmmx . endif SRCS+= pixman-sse2.c pixman-ssse3.c COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden COPTS.pixman-ssse3.c= -msse3 -mssse3 -fvisibility=hidden -CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 +#CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 MKDEPFLAGS+= -msse2 -msse3 -mssse3 -fvisibility=hidden .endif .if ${MACHINE_ARCH} == "powerpc" SRCS+= pixman-vmx.c COPTS.pixman-vmx.c= -maltivec -CPPFLAGS+= -DUSE_VMX +#CPPFLAGS+= -DUSE_VMX MKDEPFLAGS+= -maltivec .endif @@ -76,21 +76,18 @@ MKDEPFLAGS+= -maltivec SRCS+= pixman-arm-simd.c \ pixman-arm-simd-asm.S \ pixman-arm-simd-asm-scaled.S -CPPFLAGS+= -DUSE_ARM_SIMD # ARM NEON SRCS+= pixman-arm-neon.c \ pixman-arm-neon-asm.S \ pixman-arm-neon-asm-bilinear.S -CPPFLAGS+= -DUSE_ARM_NEON AFLAGS+= ${${ACTIVE_CC} == "clang" :? -fno-integrated-as :} # ARM iwMMX #SRCS+= pixman-mmx.c #COPTS.pixman-mmx.c= -mcpu=iwmmxt -#CPPFLAGS+= -DUSE_ARM_IWMMXT .endif -.if !empty(MACHINE_ARCH:Maarch64*) && 0 +.if !empty(MACHINE_ARCH:Maarch64*) # ARM64 NEON SRCS+= pixman-arm-neon.c \ pixman-arma64-neon-asm.S \ @@ -104,7 +101,7 @@ CPPFLAGS+= -DUSE_ARM_A64_NEON .if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*) # Loongson MMI SRCS+= pixman-mmx.c -CPPFLAGS+= -DUSE_LOONGSON_MMI +#CPPFLAGS+= -DUSE_LOONGSON_MMI # SIMD instructions use floatpoint registers so we need to enable their use COPTS.pixman-mmx.c= -march=loongson2f -mhard-float -Wa,-mhard-float .endif @@ -114,14 +111,11 @@ COPTS.pixman-mmx.c= -march=loongson2f -m COPTS.pixman-fast-path.c+= -O1 .endif +.include "Makefile.cflags" + INCS= pixman.h pixman-version.h INCSDIR=${X11INCDIR}/pixman-1 -CPPFLAGS+= -DHAVE_CONFIG_H \ - -I${X11SRCDIR.pixman}/../include \ - -I${X11SRCDIR.pixman}/../combine \ - -I${X11SRCDIR.pixman}/pixman - # With pixman 0.28.3, HAVE_PTHREAD_SETSPECIFIC is much faster than TLS CPPFLAGS+= -DHAVE_PTHREAD_SETSPECIFIC #CPPFLAGS+= -DTLS=__thread Added files: Index: src/external/mit/xorg/lib/pixman/Makefile.cflags diff -u /dev/null src/external/mit/xorg/lib/pixman/Makefile.cflags:1.1 --- /dev/null Sun Nov 13 09:36:37 2022 +++ src/external/mit/xorg/lib/pixman/Makefile.cflags Sun Nov 13 09:36:37 2022 @@ -0,0 +1,31 @@ +# $NetBSD: Makefile.cflags,v 1.1 2022/11/13 09:36:37 mrg Exp $ + +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" +. if ${MACHINE_ARCH} == "i386" +CPPFLAGS+= -DUSE_X86_MMX +. endif +CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 +.endif + +.if ${MACHINE_ARCH} == "powerpc" +CPPFLAGS+= -DUSE_VMX +.endif + +.if !empty(MACHINE_ARCH:Mearm*) +CPPFLAGS+= -DUSE_ARM_SIMD +CPPFLAGS+= -DUSE_ARM_NEON +#CPPFLAGS+= -DUSE_ARM_IWMMXT +.endif + +.if !empty(MACHINE_ARCH:Maarch64*) +CPPFLAGS+= -DUSE_ARM_A64_NEON +.endif + +.if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*) +CPPFLAGS+= -DUSE_LOONGSON_MMI +.endif + +CPPFLAGS+= -DHAVE_CONFIG_H \ + -I${X11SRCDIR.pixman}/../include \ + -I${X11SRCDIR.pixman}/../combine \ + -I${X11SRCDIR.pixman}/pixman Index: src/external/mit/xorg/lib/pixman/test/Makefile diff -u /dev/null src/external/mit/xorg/lib/pixman/test/Makefile:1.1 --- /dev/null Sun Nov 13 09:36:37 2022 +++ src/external/mit/xorg/lib/pixman/test/Makefile Sun Nov 13 09:36:37 2022 @@ -0,0 +1,60 @@ + +# $NetBSD: Makefile,v 1.1 2022/11/13 09:36:37 mrg Exp $ + +NOINSTALL=1 +NOMAN=1 + +.include + +PROGS= \ + oob-test \ + infinite-loop \ + trap-crasher \ + fence-image-self-test \ + region-translate-test \ + fetch-test \ + a1-trap-test \ + prng-test \ + radial-invalid \ + pdf-op-test \ + region-test \ + combiner-test \ + s
CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sun Nov 13 09:36:37 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Added Files: src/external/mit/xorg/lib/pixman: Makefile.cflags src/external/mit/xorg/lib/pixman/test: Makefile Log Message: add build infrastructure to build the pixman tests not built or installed by default. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/external/mit/xorg/lib/pixman/Makefile cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/pixman/Makefile.cflags cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/pixman/test/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sat Nov 12 07:43:33 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Log Message: disable arm64 NEON for now. my X server exits for unknown reasons.. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/external/mit/xorg/lib/pixman/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mit/xorg/lib/pixman/Makefile diff -u src/external/mit/xorg/lib/pixman/Makefile:1.39 src/external/mit/xorg/lib/pixman/Makefile:1.40 --- src/external/mit/xorg/lib/pixman/Makefile:1.39 Sat Nov 12 04:00:57 2022 +++ src/external/mit/xorg/lib/pixman/Makefile Sat Nov 12 07:43:33 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2022/11/12 04:00:57 mrg Exp $ +# $NetBSD: Makefile,v 1.40 2022/11/12 07:43:33 mrg Exp $ NOLINT= 1 # defined @@ -90,7 +90,7 @@ AFLAGS+= ${${ACTIVE_CC} == "clang" :? -f #CPPFLAGS+= -DUSE_ARM_IWMMXT .endif -.if !empty(MACHINE_ARCH:Maarch64*) +.if !empty(MACHINE_ARCH:Maarch64*) && 0 # ARM64 NEON SRCS+= pixman-arm-neon.c \ pixman-arma64-neon-asm.S \
CVS commit: src/external/mit/xorg/lib/pixman
Module Name:src Committed By: mrg Date: Sat Nov 12 07:43:33 UTC 2022 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Log Message: disable arm64 NEON for now. my X server exits for unknown reasons.. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/external/mit/xorg/lib/pixman/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
re: CVS commit: src/external/mit/xorg/lib/pixman
"Jared D. McNeill" writes: > Module Name: src > Committed By: jmcneill > Date: Sun Aug 10 14:10:38 UTC 2014 > > Modified Files: > src/external/mit/xorg/lib/pixman: Makefile > > Log Message: > USE_SSSE3 not USE_SSE3 thanks. i thought i'd already commited that! .mrg.