about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-09-17 15:31:07 +0530
committerGitHub <noreply@github.com>2022-09-17 15:31:07 +0530
commitcbd561d41f61201decae3adb45fe827d30aa96ec (patch)
tree61f8f4dce1a826fd0cb071559ab21f7fa925c8b8 /compiler/rustc_span
parent3ad81e0dd854d0edaeea7429fba6c2255c6a27ef (diff)
parent3f2ce0624dfed866f758521b225e26c00b3250d8 (diff)
downloadrust-cbd561d41f61201decae3adb45fe827d30aa96ec.tar.gz
rust-cbd561d41f61201decae3adb45fe827d30aa96ec.zip
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
Implement simd_as for pointers

Expands `simd_as` (and `simd_cast`) to handle pointer-to-pointer, pointer-to-integer, and integer-to-pointer conversions.

cc ``@programmerjake`` ``@thomcc``
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index fcc22e22cc1..ae4d1a4635b 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1322,9 +1322,11 @@ symbols! {
         simd_as,
         simd_bitmask,
         simd_cast,
+        simd_cast_ptr,
         simd_ceil,
         simd_div,
         simd_eq,
+        simd_expose_addr,
         simd_extract,
         simd_fabs,
         simd_fcos,
@@ -1340,6 +1342,7 @@ symbols! {
         simd_fmin,
         simd_fpow,
         simd_fpowi,
+        simd_from_exposed_addr,
         simd_fsin,
         simd_fsqrt,
         simd_gather,