about summary refs log tree commit diff
path: root/library/stdarch
AgeCommit message (Collapse)AuthorLines
2024-04-23Implement ARM `__ssat` and `__usat` functionsEduardo Sánchez Muñoz-7/+61
2024-04-22Don't depend on libc for cfg(windows)Ben Kimock-1/+3
2024-04-19Enable testing for AArch64 WindowsDaniel Paoliello-185/+224
2024-04-18Add vec_mergee and vec_mergeoLuca Barbato-0/+114
2024-04-16Add tests for power9-vector instructionsLuca Barbato-7/+17
2024-04-16Consider power9-vector when testing instructionsLuca Barbato-2/+6
2024-04-16Implement _mm(256)_abs_epi* without x86-specific LLVM intrinsicsEduardo Sánchez Muñoz-21/+91
2024-04-13Remove duplicated `allow(dead_code)` attributeTony Arcieri-1/+0
Accidentally added in #1552
2024-04-12Stabilize AArch64 SHA3 intrinsicsTony Arcieri-23/+24
See also: rust-lang/rust#117225
2024-04-12Use inline assembly for Arm64ECDaniel Paoliello-3/+2
2024-04-10Fix clippy warnings in stdarch-genEduardo Sánchez Muñoz-90/+92
2024-04-10typos: fix bad precision commentsmessense-6/+6
2024-04-10fix: reversed _mm512_set4_epi64 implementationKirsten Laskoski-4/+2
Fixes #1555 by changing the implementations of _mm512_set4_epi64 and _mm512_setr4_epi64 to use _mm512_set_epi64. This makes these implementations consistent with the other _mm512_set[r]4_* implementations as well as changes their behavior to be in line with what the intrinsics guide describes.
2024-04-10intrinsic-test: Suppress a warning about dead codeLuca Barbato-0/+1
2024-03-20core_arch/loongarch64: Re-export SIMD typesWANG Rui-0/+8
2024-03-19[wasm32] Add an intrinsic for the throw instructionNoa-0/+22
2024-03-13arm64ecDaniel Paoliello-2939/+4316
2024-03-12Add vec_xl_len and vec_xst_lenLuca Barbato-182/+350
They are powerpc64-only.
2024-03-07std_detect: loongarch: Add runtime detectable features from LLVMWANG Rui-4/+45
* f * d * frecipe * lbt
2024-03-07std_detect: loongarch: Remove features not supported by LLVMWANG Rui-32/+0
2024-03-06Update FreeBSD 13 CI imageAlan Somers-1/+1
2024-03-05check sub-leaf to detect avx512bf16Mingzhuo Yin-7/+7
Signed-off-by: Mingzhuo Yin <yinmingzhuo@gmail.com>
2024-03-05fix: invalid bit for detecting avx512 featureMingzhuo Yin-9/+15
Signed-off-by: Mingzhuo Yin <yinmingzhuo@gmail.com>
2024-03-05typo: invalid comments for `_mm512_setzero_ps`Mingzhuo Yin-3/+3
Signed-off-by: Mingzhuo Yin <yinmingzhuo@gmail.com>
2024-03-05Update to `wasm32-wasip1`-based testingAlex Crichton-18/+15
This commit is a replacement for #1417 now that rust-lang/rust#12046 has landed. While I was here I went ahead and updated the Wasmtime used in CI and adapted its command line as well.
2024-02-29correct `_mm_insert_ps` documentationKalle Wachsmuth-12/+12
2024-02-28core_arch: Add LoongArch LASX testcasesWANG Rui-0/+14694
2024-02-28core_arch: Add LoongArch LASX intrinsicsWANG Rui-0/+16127
Co-authored-by: ZHAI Xiang <zhaixiang@loongson.cn>
2024-02-28core_arch: Add LoongArch LSX testcasesWANG Rui-0/+7137
2024-02-28core_arch: Add LoongArch LSX intrinsicsZHAI Xiang-0/+15688
Co-authored-by: WANG Rui <wangrui@loongson.cn>
2024-02-28Add intrinsic code generator for LoongArchZHAI Xiang-1/+1572
Co-authored-by: WANG Rui <wangrui@loongson.cn>
2024-02-28stdarch-gen: Move to stdarch-gen-armWANG Rui-13/+13
2024-02-24use `addr_of!`Pavel Grigorenko-48/+51
2024-02-24feat: std_detect avx512fp16usamoi-6/+13
Signed-off-by: usamoi <usamoi@outlook.com>
2024-02-23use remaining SIMD intrinsics via libcoreRalf Jung-66/+53
2024-02-23Add ping groups from Rust to stdarchAdam Gemmell-0/+48
2024-02-23Add vec_selLuca Barbato-0/+120
2024-02-23Add vec_nandLuca Barbato-0/+42
2024-02-21non-temporal stores: document interaction with Rust memory modelRalf Jung-5/+181
2024-02-20Fix redundant import warningsAmanieu d'Antras-57/+19
These were introduced by rust-lang/rust#117772.
2024-02-18simplify simd_ty, simd_m_ty macros: do not repeat the element type N timesRalf Jung-534/+111
2024-02-18remove unnecessary let bindingRalf Jung-8/+1
2024-02-17avoid using simd_extract in SimdTy::extract (since the index is not a ↵Ralf Jung-10/+12
constant there)
2024-02-17put the idx arguments of simd_insert and simd_extract into const blocksRalf Jung-774/+791
2024-02-17import LLVM SIMD intrinsics from core rather than declaring them locallyRalf Jung-65/+5
2024-02-16Improve feature detect for combined aarch64 featuresAdam Gemmell-10/+12
LLVM's `ssbs` and `mte` target_features represent two Arm features. Linux's HWCAP also represents the same two features, so this is just a documentation update. LLVM's `ras` target_feature represents two Arm features - FEAT_RAS and FEAT_RASv1p1. There is no runtime detection for this, so this is a no-op in stdarch. LLVM's `aes` feature covers both `FEAT_AES` and `FEAT_PMULL`, but Linux exposes seperate feature bits. This patch makes the `aes` target_feature correctly shortcut runtime `pmull` detection and also makes the `aes` feature check for `pmull` at runtime to bring it in line with the target_feature behaviour. In practice I think this makes the two runtime features identical since the ID_AA64ISAR0_EL1 register does not allow for PMULL without AES.
2024-02-16Add vec_subcLuca Barbato-0/+34
2024-02-16Add vec_roundLuca Barbato-0/+40
2024-02-16Add vec_rlLuca Barbato-0/+77
2024-02-16Add vec_cntlzLuca Barbato-0/+55