Skip to content

stdarch subtree update #145042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Aug 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
215d8ed
combine rust files into one compilation
folkertdev Jul 11, 2025
426091a
update `Cargo.lock`
folkertdev Jul 19, 2025
83804bf
split rust code into crates
folkertdev Jul 11, 2025
3051039
generate arrays of type-erased function pointers
folkertdev Jul 11, 2025
b658b3d
work around not being able to project out of SIMD values any more
folkertdev Jul 22, 2025
4b95bb7
Merge pull request #1881 from folkertdev/s390x-project-simd
sayantn Jul 22, 2025
aaa5d91
remove `lazy_static` dependency from `intrinsic-test`
folkertdev Jul 22, 2025
4bf2151
Merge pull request #1880 from folkertdev/remove-lazy-static-dep
folkertdev Jul 22, 2025
cb27ff0
remove unused deps
klensy Jul 23, 2025
d8bf6c4
bump serde_with. Weird that it works without std feature, but
klensy Jul 23, 2025
75fc5ce
Merge pull request #1882 from klensy/deps
folkertdev Jul 23, 2025
a343926
Prepare for merging from rust-lang/rust
Kobzol Jul 23, 2025
67f73c7
Merge ref '5a30e4307f05' from rust-lang/rust
Kobzol Jul 23, 2025
8f0ffa8
Reformat code
Kobzol Jul 23, 2025
0231fa9
Merge pull request #1883 from Kobzol/pull
folkertdev Jul 23, 2025
be947d4
Add non-temporal note for maskmoveu_si128
197g Jul 24, 2025
14febfa
Merge pull request #1885 from 197g/maskmove-is-non-temporal
sayantn Jul 24, 2025
49ea48d
loongarch: Use unified data types for SIMD intrinsics
heiher Jul 19, 2025
cc15f02
Merge pull request #1879 from heiher/loong-simd-unified-types
folkertdev Jul 25, 2025
f998575
Merge pull request #1863 from folkertdev/combine-rust-files
sayantn Jul 25, 2025
90d97f6
feat: updated Argument<T> type for functional compatibility with other
madhav-madhusoodanan Jul 27, 2025
213fd4e
Merge pull request #1887 from madhav-madhusoodanan/intrinsic-test-arg…
folkertdev Jul 27, 2025
c07f8bb
chore: handling the case where --generate-only flag is passed
madhav-madhusoodanan Jul 27, 2025
15373cc
Merge pull request #1888 from madhav-madhusoodanan/intrinsic-test-gen…
folkertdev Jul 27, 2025
e6c0136
Use GitHub app for authenticating sync workflows
Kobzol Jul 29, 2025
d6c33bf
Merge pull request #1891 from Kobzol/ci-gh-app
tgross35 Jul 29, 2025
8926d9c
Prepare for merging from rust-lang/rust
invalid-email-address Jul 31, 2025
49aa0ec
Merge ref '32e7a4b92b10' from rust-lang/rust
invalid-email-address Jul 31, 2025
c861fbd
use gcc 15 as the linker on loongarch
folkertdev Aug 2, 2025
56ba98c
Merge pull request #1893 from folkertdev/loongarch-gcc
sayantn Aug 3, 2025
3b216c3
feat: Added another variant of the Constraint enum
madhav-madhusoodanan Aug 2, 2025
daa742a
Merge pull request #1892 from madhav-madhusoodanan/intrinsic-test-con…
folkertdev Aug 3, 2025
c691374
Merge pull request #1889 from rust-lang/rustc-pull
folkertdev Aug 3, 2025
76dce27
feat: cleaned the IntrinsicType struct and associated functions.
madhav-madhusoodanan Aug 5, 2025
e84116d
chore: moved chunk_info to `common` and code cleanup
madhav-madhusoodanan Aug 5, 2025
841c8e4
Merge pull request #1895 from madhav-madhusoodanan/intrinsic-test-int…
folkertdev Aug 5, 2025
de01bd3
use `IntoIterator` for the `add_flags` methods
folkertdev Aug 5, 2025
92f195c
Merge pull request #1896 from folkertdev/add-flags-into-iter
sayantn Aug 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion library/stdarch/.github/workflows/rustc-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
if: github.repository == 'rust-lang/stdarch'
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
with:
github-app-id: ${{ vars.APP_CLIENT_ID }}
# https://rust-lang.zulipchat.com/#narrow/channel/208962-t-libs.2Fstdarch/topic/Subtree.20sync.20automation/with/528461782
zulip-stream-id: 208962
zulip-bot-email: "[email protected]"
pr-base-branch: master
branch-name: rustc-pull
secrets:
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}
110 changes: 32 additions & 78 deletions library/stdarch/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
"syn",
]

[[package]]
Expand All @@ -90,9 +90,9 @@ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"

[[package]]
name = "cc"
version = "1.2.30"
version = "1.2.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
checksum = "c3a42d84bb6b69d3a8b3eaacf0d88f179e1929695e1ad012b6cf64d9caaa5fd2"
dependencies = [
"shlex",
]
Expand All @@ -105,24 +105,24 @@ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"

[[package]]
name = "clap"
version = "4.5.41"
version = "4.5.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9"
checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882"
dependencies = [
"clap_builder",
"clap_derive",
]

[[package]]
name = "clap_builder"
version = "4.5.41"
version = "4.5.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d"
checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966"
dependencies = [
"anstream",
"anstyle",
"clap_lex",
"strsim 0.11.1",
"strsim",
]

[[package]]
Expand All @@ -134,7 +134,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
"syn 2.0.104",
"syn",
]

[[package]]
Expand Down Expand Up @@ -182,60 +182,39 @@ version = "0.8.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"

[[package]]
name = "csv"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
dependencies = [
"csv-core",
"itoa",
"ryu",
"serde",
]

[[package]]
name = "csv-core"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
dependencies = [
"memchr",
]

[[package]]
name = "darling"
version = "0.13.4"
version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
dependencies = [
"darling_core",
"darling_macro",
]

[[package]]
name = "darling_core"
version = "0.13.4"
version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim 0.10.0",
"syn 1.0.109",
"strsim",
"syn",
]

[[package]]
name = "darling_macro"
version = "0.13.4"
version = "0.20.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
dependencies = [
"darling_core",
"quote",
"syn 1.0.109",
"syn",
]

[[package]]
Expand Down Expand Up @@ -357,14 +336,11 @@ name = "intrinsic-test"
version = "0.1.0"
dependencies = [
"clap",
"csv",
"diff",
"itertools",
"lazy_static",
"log",
"pretty_env_logger",
"rayon",
"regex",
"serde",
"serde_json",
]
Expand Down Expand Up @@ -401,12 +377,6 @@ version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"

[[package]]
name = "lazy_static"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"

[[package]]
name = "libc"
version = "0.2.174"
Expand Down Expand Up @@ -576,9 +546,9 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"

[[package]]
name = "rustc-demangle"
version = "0.1.25"
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"

[[package]]
name = "ryu"
Expand Down Expand Up @@ -618,14 +588,14 @@ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
"syn",
]

[[package]]
name = "serde_json"
version = "1.0.140"
version = "1.0.142"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7"
dependencies = [
"itoa",
"memchr",
Expand All @@ -635,24 +605,25 @@ dependencies = [

[[package]]
name = "serde_with"
version = "1.14.0"
version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff"
checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5"
dependencies = [
"serde",
"serde_derive",
"serde_with_macros",
]

[[package]]
name = "serde_with_macros"
version = "1.5.2"
version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082"
checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f"
dependencies = [
"darling",
"proc-macro2",
"quote",
"syn 1.0.109",
"syn",
]

[[package]]
Expand All @@ -679,7 +650,7 @@ version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
"syn",
]

[[package]]
Expand Down Expand Up @@ -724,7 +695,7 @@ dependencies = [
"quote",
"serde",
"serde_json",
"syn 2.0.104",
"syn",
]

[[package]]
Expand All @@ -736,29 +707,12 @@ dependencies = [
"rand",
]

[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"

[[package]]
name = "strsim"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"

[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]

[[package]]
name = "syn"
version = "2.0.104"
Expand Down Expand Up @@ -943,5 +897,5 @@ checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.104",
"syn",
]
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
gcc-loongarch64-linux-gnu libc6-dev-loong64-cross


ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc-14 \
ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc \
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_RUNNER="qemu-loongarch64-static -cpu max -L /usr/loongarch64-linux-gnu" \
OBJDUMP=loongarch64-linux-gnu-objdump \
STDARCH_TEST_SKIP_FEATURE=frecipe
Loading
Loading