about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2025-08-28 23:31:46 +0800
committerWANG Rui <wangrui@loongson.cn>2025-09-02 21:00:32 +0800
commit5b43244ac59119870c9e0f6b642340ab88355b23 (patch)
treebe9415e13d457eeb9f6548c6a3d787345608d8f9 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs
parente004014d1bf4c29928a0f0f9f7d0964d43606cbd (diff)
downloadrust-5b43244ac59119870c9e0f6b642340ab88355b23.tar.gz
rust-5b43244ac59119870c9e0f6b642340ab88355b23.zip
Add LSX accelerated implementation for source file analysis
This patch introduces an LSX-optimized version of `analyze_source_file`
for the `loongarch64` target. Similar to existing SSE2 implementation
for x86, this version:

- Processes 16-byte chunks at a time using LSX vector intrinsics.
- Quickly identifies newlines in ASCII-only chunks.
- Falls back to the generic implementation when multi-byte UTF-8
  characters are detected or in the tail portion.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions