Jacob Pratt
0e238fd6c3
Rollup merge of #138618 - nbdd0121:asm_const_ptr, r=bjorn3
...
Support using const pointers in asm `const` operand
Implements [RFC#3848](https://github.com/rust-lang/rfcs/pull/3848 ) with tracking issue rust-lang/rust#128464
This adds support of const pointers for asm `const` in addition to plain integers.
The inline `asm!` support is implemented using `i` constraint, and the `global_asm!` and `naked_asm!` support is implemented by inserting `symbol + offset` and make `symbol` compiler-used. For unnamed consts, it will create additional internal & hidden symbols so that they can be referenced by global_asm.
~~The feature is also implemented for GCC backend but it's untested.~~ Tested now.
2026-07-26 00:21:39 -04:00
..
2026-03-23 22:44:19 +01:00
2026-04-07 09:27:32 -07:00
2026-06-26 16:01:56 +08:00
2026-07-23 12:22:51 +02:00
2026-07-22 08:08:40 +00:00
2026-07-23 12:22:51 +02:00
2025-11-02 16:20:06 +01:00
2026-03-31 22:19:49 +08:00
2026-01-21 18:40:07 +00:00
2026-01-27 14:06:41 +00:00
2025-11-02 16:20:06 +01:00
2026-07-23 18:51:29 +01:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-07-23 18:51:29 +01:00
2026-02-02 15:13:38 +01:00
2025-11-05 19:43:29 -06:00
2025-11-05 19:43:29 -06:00
2026-02-05 13:32:35 +05:30
2026-02-05 13:32:35 +05:30
2025-10-16 14:05:04 +02:00
2025-11-02 16:20:06 +01:00
2025-10-16 14:05:04 +02:00
2026-07-23 18:51:29 +01:00
2026-07-23 18:51:29 +01:00
2026-06-02 21:12:15 +02:00
2026-07-24 12:58:31 +10:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2025-11-02 16:20:06 +01:00
2025-10-13 15:30:26 +02:00
2025-11-02 16:20:06 +01:00
2025-11-02 16:20:06 +01:00
2025-10-16 14:05:04 +02:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-11-25 16:01:02 +00:00
2025-11-25 16:01:02 +00:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2025-11-02 16:20:06 +01:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2025-11-02 16:20:06 +01:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-07-07 14:47:56 +02:00
2026-05-24 18:59:08 +02:00
2026-02-17 16:51:44 +00:00
2026-07-24 12:58:31 +10:00
2026-06-02 21:12:22 +02:00
2026-07-24 12:58:31 +10:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-01-21 18:40:07 +00:00
2026-01-21 18:40:07 +00:00
2026-01-21 18:40:07 +00:00
2026-02-28 11:39:26 -05:00
2026-06-25 16:35:47 -04:00
2025-11-02 16:20:06 +01:00
2025-10-13 15:30:26 +02:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-01-13 08:47:48 +01:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00
2026-02-28 11:39:26 -05:00