mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
123 lines
45 KiB
Diff
123 lines
45 KiB
Diff
|
diff -Nrup -U 8 mozilla/third_party/rust/packed_simd/.cargo-checksum.json mozilla-OK/third_party/rust/packed_simd/.cargo-checksum.json
|
||
|
--- mozilla/third_party/rust/packed_simd/.cargo-checksum.json 2020-10-20 22:17:58.000000000 +0300
|
||
|
+++ mozilla-OK/third_party/rust/packed_simd/.cargo-checksum.json 2020-11-22 20:28:55.035016960 +0300
|
||
|
@@ -1 +1 @@
|
||
|
-{"files":{".appveyor.yml":"f1ed01850e0d725f9498f52a1a63ddf40702ad6e0bf5b2d7c4c04d76e96794a3",".travis.yml":"e9258d9a54fdaf4cbc12405fe5993ac4497eb2b29021691dbc91b19cb9b52227","Cargo.toml":"089941ba3c89ea111cbea3cc3abdcdcf2b9d0ae0db268d7269ee38226db950e5","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6485b8ed310d3f0340bf1ad1f47645069ce4069dcc6bb46c7d5c6faf41de1fdb","bors.toml":"dee881dc69b9b7834e4eba5d95c3ed5a416d4628815a167d6a22d4cb4fb064b8","build.rs":"f3baefc5e5bb9b250e762a1466371b922fd7ee4243c217b2d014307603c2f57a","ci/all.sh":"a23d14e10cb26a0eb719e389c30eb955fa53cddcd436890646df09af640bd2eb","ci/android-install-ndk.sh":"0f1746108cc30bf9b9ba45bcde7b19fc1a8bdf5b0258035b4eb8dc69b75efac4","ci/android-install-sdk.sh":"3490432022c5c8f5a115c084f7a9aca1626f96c0c87ffb62019228c4346b47e4","ci/android-sysimage.sh":"ebf4e5daa1f0fe1b2092b79f0f3f161c4c4275cb744e52352c4d81ab451e4c5a","ci/benchmark.sh":"b61d19ef6b90deba8fb79dee74c8b062d94844676293da346da87bb78a9a49a4","ci/deploy_and_run_on_ios_simulator.rs":"ec8ecf82d92072676aa47f0d1a3d021b60a7ae3531153ef12d2ff4541fc294dc","ci/docker/aarch64-linux-android/Dockerfile":"ace2e7d33c87bc0f6d3962a4a3408c04557646f7f51ab99cfbf574906796b016","ci/docker/aarch64-unknown-linux-gnu/Dockerfile":"1ecdac757101d951794fb2ab0deaa278199cf25f2e08a15c7d40ff31a8556184","ci/docker/arm-linux-androideabi/Dockerfile":"370e55d3330a413a3ccf677b3afb3e0ef9018a5fab263faa97ae8ac017fc2286","ci/docker/arm-unknown-linux-gnueabi/Dockerfile":"e25d88f6c0c94aada3d2e3f08243f755feb7e869dc5dc505b3799719cb1af591","ci/docker/arm-unknown-linux-gnueabihf/Dockerfile":"f126f4c7bae8c11ab8b16df06ad997863f0838825a9c08c9899a3eedb6d570bd","ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile":"b647545c158ee480a4c581dbdc1f57833aef056c8d498acc04b573e842bf803c","ci/docker/i586-unknown-linux-gnu/Dockerfile":"0d492759017307ccf74dc2aa4a8cf6623daf3dc728c708dc2b18fa7940800cba","ci/docker/i686-unknown-linux-gnu/Dockerfile":"0d492759017307ccf74dc2aa4a8cf6623daf3dc728c708dc2b18fa7940800cba","ci/docker/mips-unknown-linux-gnu/Dockerfile":"323776469bb7b160385f3621d66e3ee14c75242f8180f916e65af048a29d4ea0","ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile":"c647f6948a9a43b0be695cbed4eac752120d0faf28e5e69c718cb10406921dab","ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile":"77bfd00cc8639509be381b394f077e39b45a00158ad61b4e1656714c714665d1","ci/docker/mipsel-unknown-linux-musl/Dockerfile":"ec5bea6c98a3b626731fdb95f9ff2d1182639c76e8fb16d3271d0fc884901524","ci/docker/powerpc-unknown-linux-gnu/Dockerfile":"4f2b662de66e83d1354f650b7077692309637f786c2ea5516c31b5c2ee10af2d","ci/docker/powerpc64-unknown-linux-gnu/Dockerfile":"a9595402b772bc365982e22a0096a8988825d90b09b5faa97ab192e76072f71d","ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile":"df3c381c157439695ae8cd10ab71664702c061e3b4ab22906a5ad6c2680acfed","ci/docker/s390x-unknown-linux-gnu/Dockerfile":"93fb44df3d7fd31ead158570667c97b5076a05c3d968af4a84bc13819a8f2db8","ci/docker/sparc64-unknown-linux-gnu/Dockerfile":"da1c39a3ff1fe22e41395fa7c8934e90b4c1788e551b9aec6e38bfd94effc437","ci/docker/thumbv7neon-linux-androideabi/Dockerfile":"c2decd5591bd7a09378901bef629cd944acf052eb55e4f35b79eb9cb4d62246a","ci/docker/thumbv7neon-unknown-linux-gnueabihf/Dockerfile":"75c0c56161c7382b439de74c00de1c0e3dc9d59560cd6720976a751034b78714","ci/docker/wasm32-unknown-unknown/Dockerfile":"3e5f294bc1e004aa599086c2af49d6f3e7459fa250f5fbdd60cf67d53db78758","ci/docker/x86_64-linux-android/Dockerfile":"685040273cf350d5509e580ac451555efa19790c8723ca2af066adadc6880ad2","ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile":"44b6203d9290bfdc53d81219f0937e1110847a23dd982ec8c4de388354f01536","ci/docker/x86_64-unknown-linux-gnu/Dockerfile":"d253c86803b22da428fa9cc671a05f18d3318eca7733b8dccb4f7be1ddf524c5","ci/dox.sh":"5b61711be47a4e3dde0ddd15ba73d256ea95fd75af3897732c24db1dc7e66366","ci/linux-s390x.sh":"d6b732d7795b4ba131326aff893bca6228a7d2eb0e9402f135705413dbbe0dce","ci/linux-sparc64.sh":"c92966838b1ab7ad3b7a344833ee726aba6b647cf5952e56f0ad1ba420b13325","ci/lld-shim.rs":"3d7f71ec
|
||
|
\ No newline at end of file
|
||
|
+{"files":{".appveyor.yml":"f1ed01850e0d725f9498f52a1a63ddf40702ad6e0bf5b2d7c4c04d76e96794a3",".travis.yml":"e9258d9a54fdaf4cbc12405fe5993ac4497eb2b29021691dbc91b19cb9b52227","Cargo.toml":"089941ba3c89ea111cbea3cc3abdcdcf2b9d0ae0db268d7269ee38226db950e5","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6485b8ed310d3f0340bf1ad1f47645069ce4069dcc6bb46c7d5c6faf41de1fdb","bors.toml":"dee881dc69b9b7834e4eba5d95c3ed5a416d4628815a167d6a22d4cb4fb064b8","build.rs":"f3baefc5e5bb9b250e762a1466371b922fd7ee4243c217b2d014307603c2f57a","ci/all.sh":"a23d14e10cb26a0eb719e389c30eb955fa53cddcd436890646df09af640bd2eb","ci/android-install-ndk.sh":"0f1746108cc30bf9b9ba45bcde7b19fc1a8bdf5b0258035b4eb8dc69b75efac4","ci/android-install-sdk.sh":"3490432022c5c8f5a115c084f7a9aca1626f96c0c87ffb62019228c4346b47e4","ci/android-sysimage.sh":"ebf4e5daa1f0fe1b2092b79f0f3f161c4c4275cb744e52352c4d81ab451e4c5a","ci/benchmark.sh":"b61d19ef6b90deba8fb79dee74c8b062d94844676293da346da87bb78a9a49a4","ci/deploy_and_run_on_ios_simulator.rs":"ec8ecf82d92072676aa47f0d1a3d021b60a7ae3531153ef12d2ff4541fc294dc","ci/docker/aarch64-linux-android/Dockerfile":"ace2e7d33c87bc0f6d3962a4a3408c04557646f7f51ab99cfbf574906796b016","ci/docker/aarch64-unknown-linux-gnu/Dockerfile":"1ecdac757101d951794fb2ab0deaa278199cf25f2e08a15c7d40ff31a8556184","ci/docker/arm-linux-androideabi/Dockerfile":"370e55d3330a413a3ccf677b3afb3e0ef9018a5fab263faa97ae8ac017fc2286","ci/docker/arm-unknown-linux-gnueabi/Dockerfile":"e25d88f6c0c94aada3d2e3f08243f755feb7e869dc5dc505b3799719cb1af591","ci/docker/arm-unknown-linux-gnueabihf/Dockerfile":"f126f4c7bae8c11ab8b16df06ad997863f0838825a9c08c9899a3eedb6d570bd","ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile":"b647545c158ee480a4c581dbdc1f57833aef056c8d498acc04b573e842bf803c","ci/docker/i586-unknown-linux-gnu/Dockerfile":"0d492759017307ccf74dc2aa4a8cf6623daf3dc728c708dc2b18fa7940800cba","ci/docker/i686-unknown-linux-gnu/Dockerfile":"0d492759017307ccf74dc2aa4a8cf6623daf3dc728c708dc2b18fa7940800cba","ci/docker/mips-unknown-linux-gnu/Dockerfile":"323776469bb7b160385f3621d66e3ee14c75242f8180f916e65af048a29d4ea0","ci/docker/mips64-unknown-linux-gnuabi64/Dockerfile":"c647f6948a9a43b0be695cbed4eac752120d0faf28e5e69c718cb10406921dab","ci/docker/mips64el-unknown-linux-gnuabi64/Dockerfile":"77bfd00cc8639509be381b394f077e39b45a00158ad61b4e1656714c714665d1","ci/docker/mipsel-unknown-linux-musl/Dockerfile":"ec5bea6c98a3b626731fdb95f9ff2d1182639c76e8fb16d3271d0fc884901524","ci/docker/powerpc-unknown-linux-gnu/Dockerfile":"4f2b662de66e83d1354f650b7077692309637f786c2ea5516c31b5c2ee10af2d","ci/docker/powerpc64-unknown-linux-gnu/Dockerfile":"a9595402b772bc365982e22a0096a8988825d90b09b5faa97ab192e76072f71d","ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile":"df3c381c157439695ae8cd10ab71664702c061e3b4ab22906a5ad6c2680acfed","ci/docker/s390x-unknown-linux-gnu/Dockerfile":"93fb44df3d7fd31ead158570667c97b5076a05c3d968af4a84bc13819a8f2db8","ci/docker/sparc64-unknown-linux-gnu/Dockerfile":"da1c39a3ff1fe22e41395fa7c8934e90b4c1788e551b9aec6e38bfd94effc437","ci/docker/thumbv7neon-linux-androideabi/Dockerfile":"c2decd5591bd7a09378901bef629cd944acf052eb55e4f35b79eb9cb4d62246a","ci/docker/thumbv7neon-unknown-linux-gnueabihf/Dockerfile":"75c0c56161c7382b439de74c00de1c0e3dc9d59560cd6720976a751034b78714","ci/docker/wasm32-unknown-unknown/Dockerfile":"3e5f294bc1e004aa599086c2af49d6f3e7459fa250f5fbdd60cf67d53db78758","ci/docker/x86_64-linux-android/Dockerfile":"685040273cf350d5509e580ac451555efa19790c8723ca2af066adadc6880ad2","ci/docker/x86_64-unknown-linux-gnu-emulated/Dockerfile":"44b6203d9290bfdc53d81219f0937e1110847a23dd982ec8c4de388354f01536","ci/docker/x86_64-unknown-linux-gnu/Dockerfile":"d253c86803b22da428fa9cc671a05f18d3318eca7733b8dccb4f7be1ddf524c5","ci/dox.sh":"5b61711be47a4e3dde0ddd15ba73d256ea95fd75af3897732c24db1dc7e66366","ci/linux-s390x.sh":"d6b732d7795b4ba131326aff893bca6228a7d2eb0e9402f135705413dbbe0dce","ci/linux-sparc64.sh":"c92966838b1ab7ad3b7a344833ee726aba6b647cf5952e56f0ad1ba420b13325","ci/lld-shim.rs":"3d7f71ec
|
||
|
\ No newline at end of file
|
||
|
diff -Nrup -U 8 mozilla/third_party/rust/packed_simd/src/api/into_bits/arch_specific.rs mozilla-OK/third_party/rust/packed_simd/src/api/into_bits/arch_specific.rs
|
||
|
--- mozilla/third_party/rust/packed_simd/src/api/into_bits/arch_specific.rs 2020-10-20 22:17:59.000000000 +0300
|
||
|
+++ mozilla-OK/third_party/rust/packed_simd/src/api/into_bits/arch_specific.rs 2020-11-22 20:15:20.931610913 +0300
|
||
|
@@ -79,17 +79,16 @@ macro_rules! impl_arch {
|
||
|
}
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////////////////
|
||
|
// Implementations for the 64-bit wide vector types:
|
||
|
|
||
|
// FIXME: 64-bit single element types
|
||
|
// FIXME: arm/aarch float16x4_t missing
|
||
|
impl_arch!(
|
||
|
- [x86["x86"]: __m64], [x86_64["x86_64"]: __m64],
|
||
|
[arm["arm"]: int8x8_t, uint8x8_t, poly8x8_t, int16x4_t, uint16x4_t,
|
||
|
poly16x4_t, int32x2_t, uint32x2_t, float32x2_t, int64x1_t,
|
||
|
uint64x1_t],
|
||
|
[aarch64["aarch64"]: int8x8_t, uint8x8_t, poly8x8_t, int16x4_t, uint16x4_t,
|
||
|
poly16x4_t, int32x2_t, uint32x2_t, float32x2_t, int64x1_t, uint64x1_t,
|
||
|
float64x1_t] |
|
||
|
from: i8x8, u8x8, m8x8, i16x4, u16x4, m16x4, i32x2, u32x2, f32x2, m32x2 |
|
||
|
into: i8x8, u8x8, i16x4, u16x4, i32x2, u32x2, f32x2 |
|
||
|
diff -Nrup -U 8 mozilla/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs mozilla-OK/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs
|
||
|
--- mozilla/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs 2020-10-20 22:17:59.000000000 +0300
|
||
|
+++ mozilla-OK/third_party/rust/packed_simd/src/codegen/reductions/mask/x86/sse.rs 2020-11-22 20:20:58.343117236 +0300
|
||
|
@@ -29,40 +29,8 @@ macro_rules! x86_m32x4_sse_impl {
|
||
|
#[cfg(target_arch = "x86_64")]
|
||
|
use crate::arch::x86_64::_mm_movemask_ps;
|
||
|
|
||
|
_mm_movemask_ps(crate::mem::transmute(self)) != 0
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
-
|
||
|
-macro_rules! x86_m8x8_sse_impl {
|
||
|
- ($id:ident) => {
|
||
|
- impl All for $id {
|
||
|
- #[inline]
|
||
|
- #[target_feature(enable = "sse")]
|
||
|
- unsafe fn all(self) -> bool {
|
||
|
- #[cfg(target_arch = "x86")]
|
||
|
- use crate::arch::x86::_mm_movemask_pi8;
|
||
|
- #[cfg(target_arch = "x86_64")]
|
||
|
- use crate::arch::x86_64::_mm_movemask_pi8;
|
||
|
- // _mm_movemask_pi8(a) creates an 8bit mask containing the most
|
||
|
- // significant bit of each byte of `a`. If all bits are set,
|
||
|
- // then all 8 lanes of the mask are true.
|
||
|
- _mm_movemask_pi8(crate::mem::transmute(self))
|
||
|
- == u8::max_value() as i32
|
||
|
- }
|
||
|
- }
|
||
|
- impl Any for $id {
|
||
|
- #[inline]
|
||
|
- #[target_feature(enable = "sse")]
|
||
|
- unsafe fn any(self) -> bool {
|
||
|
- #[cfg(target_arch = "x86")]
|
||
|
- use crate::arch::x86::_mm_movemask_pi8;
|
||
|
- #[cfg(target_arch = "x86_64")]
|
||
|
- use crate::arch::x86_64::_mm_movemask_pi8;
|
||
|
-
|
||
|
- _mm_movemask_pi8(crate::mem::transmute(self)) != 0
|
||
|
- }
|
||
|
- }
|
||
|
- };
|
||
|
-}
|
||
|
diff -Nrup -U 8 mozilla/third_party/rust/packed_simd/src/codegen/reductions/mask/x86.rs mozilla-OK/third_party/rust/packed_simd/src/codegen/reductions/mask/x86.rs
|
||
|
--- mozilla/third_party/rust/packed_simd/src/codegen/reductions/mask/x86.rs 2020-10-20 22:17:59.000000000 +0300
|
||
|
+++ mozilla-OK/third_party/rust/packed_simd/src/codegen/reductions/mask/x86.rs 2020-11-22 20:19:31.002762724 +0300
|
||
|
@@ -14,23 +14,17 @@ mod avx;
|
||
|
|
||
|
#[cfg(target_feature = "avx2")]
|
||
|
#[macro_use]
|
||
|
mod avx2;
|
||
|
|
||
|
/// x86 64-bit m8x8 implementation
|
||
|
macro_rules! x86_m8x8_impl {
|
||
|
($id:ident) => {
|
||
|
- cfg_if! {
|
||
|
- if #[cfg(all(target_arch = "x86_64", target_feature = "sse"))] {
|
||
|
- x86_m8x8_sse_impl!($id);
|
||
|
- } else {
|
||
|
- fallback_impl!($id);
|
||
|
- }
|
||
|
- }
|
||
|
+ fallback_impl!($id);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
/// x86 128-bit m8x16 implementation
|
||
|
macro_rules! x86_m8x16_impl {
|
||
|
($id:ident) => {
|
||
|
cfg_if! {
|
||
|
if #[cfg(target_feature = "sse2")] {
|
||
|
diff -Nrup -U 8 mozilla/third_party/rust/packed_simd/src/lib.rs mozilla-OK/third_party/rust/packed_simd/src/lib.rs
|
||
|
--- mozilla/third_party/rust/packed_simd/src/lib.rs 2020-10-20 22:17:59.000000000 +0300
|
||
|
+++ mozilla-OK/third_party/rust/packed_simd/src/lib.rs 2020-11-22 20:28:05.084384051 +0300
|
||
|
@@ -205,17 +205,16 @@
|
||
|
platform_intrinsics,
|
||
|
stdsimd,
|
||
|
aarch64_target_feature,
|
||
|
arm_target_feature,
|
||
|
link_llvm_intrinsics,
|
||
|
core_intrinsics,
|
||
|
stmt_expr_attributes,
|
||
|
align_offset,
|
||
|
- mmx_target_feature,
|
||
|
crate_visibility_modifier,
|
||
|
custom_inner_attributes
|
||
|
)]
|
||
|
#![allow(non_camel_case_types, non_snake_case,
|
||
|
clippy::cast_possible_truncation,
|
||
|
clippy::cast_lossless,
|
||
|
clippy::cast_possible_wrap,
|
||
|
clippy::cast_precision_loss,
|