Debian Codegraph @

debian/patches/js-arm-i386-no-simd.patch

raw
1 From: Adrian Bunk <[email protected]>
2 Date: Mon, 19 Sep 2022 20:16:52 +0300
3 Subject: Disable SIMD on 32-bit ARM and x86
4
5 SIMD (SSE/NEON) is not in the baseline of the i386/armel/armhf ports.
6
7 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1786619
8 Bug-Debian: https://bugs.debian.org/1017961
9 ---
10 js/moz.configure | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/js/moz.configure b/js/moz.configure
14 index 7a9506d..e617ac3 100644
15 --- a/js/moz.configure
16 +++ b/js/moz.configure
17 @@ -644,7 +644,7 @@ option(
18 def rust_simd(value, target):
19 # As of 2019-09-17, the simd-accel feature of encoding_rs has not
20 # been properly set up outside aarch64, armv7, x86 and x86_64.
21 - if target.cpu in ("aarch64", "arm", "x86", "x86_64") and value:
22 + if target.cpu in ("aarch64", "x86_64") and value:
23 return True
24
25