pixman: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 14 00:11:14 UTC 2020


 pixman/pixman-arm.c |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

New commits:
commit eb0c3d26ed2c11955a8176481888919c6a95e548
Author: Ghabry <gabriel+github at mastergk.de>
Date:   Sat Apr 4 14:59:52 2020 +0200

    Enabled armv6 SIMD for 3DS (devkitARM) and arm neon SIMD for PS Vita (vitasdk) and Switch (devkitA64)

diff --git a/pixman/pixman-arm.c b/pixman/pixman-arm.c
index 23374e4..4a2ae85 100644
--- a/pixman/pixman-arm.c
+++ b/pixman/pixman-arm.c
@@ -176,6 +176,31 @@ detect_cpu_features (void)
     return features;
 }
 
+#elif defined (_3DS) /* 3DS homebrew (devkitARM) */
+
+static arm_cpu_features_t
+detect_cpu_features (void)
+{
+    arm_cpu_features_t features = 0;
+
+    features |= ARM_V6;
+
+    return features;
+}
+
+#elif defined (PSP2) || defined (__SWITCH__)
+/* Vita (VitaSDK) or Switch (devkitA64) homebrew */
+
+static arm_cpu_features_t
+detect_cpu_features (void)
+{
+    arm_cpu_features_t features = 0;
+
+    features |= ARM_NEON;
+
+    return features;
+}
+
 #else /* Unknown */
 
 static arm_cpu_features_t


More information about the xorg-commit mailing list