Commit Graph

303456 Commits

Author SHA1 Message Date
usamoi
2348f153ae mark PCLMULQDQ intrinsics as safe
Mark all PCLMULQDQ intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
14b0bfb900 mark AES intrinsics as safe
Mark all AES intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
318a69ab1b mark SHA intrinsics as safe
Mark all SHA intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
40e14c81db mark AVX2 intrinsics as safe
Mark all AVX2 SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
usamoi
4ca81c0432 mark FMA intrinsics as safe
Mark all FMA intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
093f6a34ef mark F16C intrinsics as safe
Mark all F16C intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
7cc2822ce8 mark AVX intrinsics as safe
Mark all AVX SIMD-computing intrinsics as safe, except for those involving memory operations and register operations.

`AVX+SHA512`, `AVX+SM3` and `AVX+SM4` intrinsics are missing.
2025-02-24 14:23:31 +00:00
usamoi
a355388e26 mark BMI2 intrinsics as safe
Mark all BMI2 intrinsics as safe.

`_mulx_u32` and `_mulx_u64` accepts a reference instead of a pointer.
2025-02-24 14:23:31 +00:00
usamoi
cfbeb3be9c mark BMI1 intrinsics as safe
Mark all BMI1 intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
9913eb5436 mark LZCNT intrinsics as safe
Mark all LZCNT intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
1271b7e281 mark POPCNT intrinsics as safe
Mark all POPCNT intrinsics as safe.

`_mm_popcnt_u32` and `_mm_popcnt_u64` are missing.
2025-02-24 14:23:31 +00:00
usamoi
0db395e703 mark SSE4a intrinsics as safe
Mark all SSE4a SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
usamoi
caafa820b1 mark SSE4.2 intrinsics as safe
Mark all SSE4.2 intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
d12cfd7851 mark SSE4.1 intrinsics as safe
Mark all SSE4.1 SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
usamoi
e801fc4ffd mark SSSE3 intrinsics as safe
Mark all SSSE3 intrinsics as safe.
2025-02-24 14:23:31 +00:00
usamoi
4836ce515e mark SSE3 SIMD intrinsics as safe
Mark all SSE3 SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
usamoi
f6a4a09e27 mark SSE2 SIMD intrinsics as safe
Mark all SSE2 SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
usamoi
74ff8754fd mark SSE SIMD intrinsics as safe
Mark all SSE SIMD-computing intrinsics as safe, except for those involving memory operations.
2025-02-24 14:23:31 +00:00
Kajetan Puchalski
3b58340073 intrinsic-test: Print C++ float16_t in hex
Upstream Rust currently does not support printing f16s in decimal.
For the intrinsics tests to work, make C++ print float16_t in the same
format.

Can be droppen once https://github.com/rust-lang/rust/pull/127013
is merged.
2025-02-24 14:22:42 +00:00
Kajetan Puchalski
f4a31fd609 core-arch: Add NEON fp16 intrinsics 2025-02-24 14:22:42 +00:00
Kajetan Puchalski
7cdc9157e6 core-arch: Add Arm f16 vector types 2025-02-24 14:22:42 +00:00
Kajetan Puchalski
ed7bf87061 intrinsic-test: Support testing f16 intrinsics 2025-02-24 14:22:42 +00:00
Kajetan Puchalski
78e6b3ede9 stdarch-verify: Support f16 vector types 2025-02-24 14:22:42 +00:00
Kajetan Puchalski
e2ce7e17e4 intrinsics_data: Add Neon fp16 intrinsics to arm_intrinsics.json 2025-02-24 14:22:42 +00:00
bjorn3
fb85ef70fc Rustup to rustc 1.87.0-nightly (f8a913b13 2025-02-23) 2025-02-24 14:21:50 +00:00
Vadim Petrochenkov
9c65672397 std: Fix another new symlink test on Windows 2025-02-24 17:12:37 +03:00
bjorn3
c9e68eb0e1 Sync from rust f8a913b138 2025-02-24 14:03:45 +00:00
Lukas Wirth
a9dbd4988b Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assist
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24 13:57:56 +00:00
Lukas Wirth
32e404937f Merge pull request #18987 from ChayimFriedman2/drop-glue
feat: Calculate drop glue and show it on hover
2025-02-24 13:52:17 +00:00
bors
617aad8c2e Auto merge of #137523 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer`

r? `@ghost`
2025-02-24 13:45:40 +00:00
Shoyu Vanilla
1c2225be63 Add take() method to SyntaxEditor 2025-02-24 22:42:57 +09:00
Shoyu Vanilla
756f2131e0 Migrate apply_demorgan to SyntaxEditor 2025-02-24 22:41:53 +09:00
Shoyu Vanilla
67a99a36a6 Migrate some leftovers in add_missing_match_arms 2025-02-24 22:41:52 +09:00
Jana Dönszelmann
4daa35ce33 lower attr spans and inline some functions to hopefully mitigate perf regressions 2025-02-24 14:37:58 +01:00
Jana Dönszelmann
17bda0c0fe simplify must-use lint slightly 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
2f0652745d add test to verify that #132391 can be closed 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
443b0f5ccf Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
d8ea2a230f change smir attributes getters to only support tool attributes 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
95b52d51ea pretty print hir attributes 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
309b46ad68 Fix test output expectations 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
80314b1de9 simplify must-use lint slightly 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
f321f107e3 Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
7e0f5b5016 Introduce new-style attribute parsers for several attributes
note: compiler compiles but librustdoc and clippy don't
2025-02-24 14:31:17 +01:00
Guillaume Gomez
592028a2fc Add rustdoc-gui regression test for #137082 2025-02-24 14:27:33 +01:00
Jana Dönszelmann
dbd3b7928e Introduce new parsing infrastructure and types for parsed attributes
fixup docs in parser
2025-02-24 14:26:06 +01:00
Jana Dönszelmann
115b3b03b0 Change span field accesses to method calls 2025-02-24 14:22:31 +01:00
Ralf Jung
913612c59e Merge pull request #4193 from bjorn3/arm64_vpmaxq_u8
Implement vpmaxq_u8 on aarch64
2025-02-24 13:18:37 +00:00
Lukas Wirth
18c6f22dc5 Merge pull request #19219 from Veykril/push-rvosplwpwqqt
Vendor `always-assert` into `stdx`
2025-02-24 13:15:39 +00:00
Ralf Jung
a3dd764307 Merge pull request #4205 from RalfJung/host-target
make sure we install the toolchain for the intended host target
2025-02-24 13:14:04 +00:00
Lukas Wirth
6e2abbfcc3 Merge pull request #19211 from Timmmm/user/timh/import_private
Include private items in completions for local crates
2025-02-24 13:13:31 +00:00