Matthew Jasper
982b49494e
Remove revisions for THIR unsafeck
...
This is to make the diff when stabilizing it easier to review.
2024-01-05 09:30:27 +00:00
bors
8b1ba11cb1
Auto merge of #117116 - calebzulawski:repr-simd-packed, r=workingjubilee
...
Implement repr(packed) for repr(simd)
This allows creating vectors with non-power-of-2 lengths that do not have padding. See rust-lang/portable-simd#319
2023-12-11 08:07:20 +00:00
Jakub Okoński
97ae5095f5
Add simd_masked_{load,store} platform-intrinsics
...
This maps to the LLVM intrinsics: llvm.masked.load and llvm.masked.store
2023-12-09 12:36:08 +01:00
Caleb Zulawski
20413b1947
Add test using non-power-of-two vector
2023-12-02 10:53:19 -05:00
Caleb Zulawski
329412dad3
Implement repr(packed) for repr(simd)
2023-12-02 10:53:19 -05:00
Caleb Zulawski
4d9607869a
Update std::simd usage and test outputs
2023-11-26 09:02:25 -05:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Esteban Küber
ec50f1c90b
When failing to import core
, suggest std
2023-11-22 19:30:47 +00:00
Oli Scherer
beaf46f7e5
Work around the fact that check_mod_type_wf
may spuriously return ErrorGuaranteed
, even if that error is only emitted by check_modwitem_types
2023-10-25 12:04:54 +00:00
Oli Scherer
1a01e57d27
Prototype using const generic for simd_shuffle IDX array
2023-09-18 15:10:28 +00:00
Oli Scherer
4457ef2c6d
Forbid old-style simd_shuffleN
intrinsics
2023-08-03 09:29:00 +00:00
Caleb Zulawski
77ed437de8
Fix simd_bswap for i8/u8
2023-07-30 15:40:32 -04:00
Caleb Zulawski
4709ca2bed
Format test
2023-07-28 00:09:04 -04:00
Caleb Zulawski
4c02b4cf4c
Add SIMD bitreverse, ctlz, cttz intrinsics
2023-07-27 23:53:45 -04:00
Caleb Zulawski
3ea0e6e3fb
Add simd_bswap intrinsic
2023-07-27 23:04:14 -04:00
Matthias Krüger
8c17e0701e
Rollup merge of #113529 - oli-obk:simd_shuffle_evaluated, r=wesleywiser
...
Permit pre-evaluated constants in simd_shuffle
fixes https://github.com/rust-lang/rust/issues/113500
2023-07-20 17:19:32 +02:00
Oli Scherer
c7428d5052
Monomorphize constants before inspecting them
2023-07-20 08:53:09 +00:00
chenx97
c6e03cd951
support for mips64r6 as a target_arch value
2023-07-18 18:58:18 +08:00
Oli Scherer
9e5a67e57f
Permit pre-evaluated constants in simd_shuffle
2023-07-18 08:13:55 +00:00
Luqman Aden
7b1eedaae8
Switch test back to run-pass.
2023-05-05 14:58:52 -07:00
Luqman Aden
2942121736
Update test location.
2023-05-05 14:43:20 -07:00
Matthew Jasper
c17a705758
Add test for new delayed bug code path
2023-04-08 22:14:57 +01:00
Ben Kimock
9c4696b940
Fix unintentional UB in SIMD tests
2023-02-12 20:18:48 -05:00
Michael Goulet
716ea5f19c
Fix use suggestion span
2023-01-17 03:06:38 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00