@@ -19,7 +19,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
1919- M68k
2020- CSKY
2121- s390x
22- - Arm64EC
2322
2423## Register classes
2524
@@ -56,9 +55,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
5655| s390x | ` freg ` | ` f[0-15] ` | ` f ` |
5756| s390x | ` vreg ` | ` v[0-31] ` | Only clobbers |
5857| s390x | ` areg ` | ` a[2-15] ` | Only clobbers |
59- | Arm64EC | ` reg ` | ` x[0-12] ` , ` x[15-22] ` , ` x[25-27] ` , ` x30 ` | ` r ` |
60- | Arm64EC | ` vreg ` | ` v[0-15] ` | ` w ` |
61- | Arm64EC | ` vreg_low16 ` | ` v[0-15] ` | ` x ` |
6258
6359> ** Notes** :
6460> - NVPTX doesn't have a fixed register set, so named registers are not supported.
@@ -97,8 +93,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
9793| s390x | ` freg ` | None | ` f32 ` , ` f64 ` |
9894| s390x | ` vreg ` | N/A | Only clobbers |
9995| s390x | ` areg ` | N/A | Only clobbers |
100- | Arm64EC | ` reg ` | None | ` i8 ` , ` i16 ` , ` i32 ` , ` f32 ` , ` i64 ` , ` f64 ` |
101- | Arm64EC | ` vreg ` | None | ` i8 ` , ` i16 ` , ` i32 ` , ` f32 ` , ` i64 ` , ` f64 ` , <br > ` i8x8 ` , ` i16x4 ` , ` i32x2 ` , ` i64x1 ` , ` f32x2 ` , ` f64x1 ` , <br > ` i8x16 ` , ` i16x8 ` , ` i32x4 ` , ` i64x2 ` , ` f32x4 ` , ` f64x2 ` |
10296
10397## Register aliases
10498
@@ -135,12 +129,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
135129| CSKY | ` r29 ` | ` rtb ` |
136130| CSKY | ` r30 ` | ` svbr ` |
137131| CSKY | ` r31 ` | ` tls ` |
138- | Arm64EC | ` x[0-30] ` | ` w[0-30] ` |
139- | Arm64EC | ` x29 ` | ` fp ` |
140- | Arm64EC | ` x30 ` | ` lr ` |
141- | Arm64EC | ` sp ` | ` wsp ` |
142- | Arm64EC | ` xzr ` | ` wzr ` |
143- | Arm64EC | ` v[0-15] ` | ` b[0-15] ` , ` h[0-15] ` , ` s[0-15] ` , ` d[0-15] ` , ` q[0-15] ` |
144132
145133> ** Notes** :
146134> - TI does not mandate a frame pointer for MSP430, but toolchains are allowed
@@ -151,8 +139,8 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
151139| Architecture | Unsupported register | Reason |
152140| ------------ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
153141| All | ` sp ` , ` r15 ` (s390x) | The stack pointer must be restored to its original value at the end of an asm code block. |
154- | All | ` fr ` (Hexagon), ` fp ` (PowerPC), ` $fp ` (MIPS), ` Y ` (AVR), ` r4 ` (MSP430), ` a6 ` (M68k), ` r11 ` (s390x), ` x29 ` (Arm64EC) | The frame pointer cannot be used as an input or output. |
155- | All | ` r19 ` (Hexagon), ` r29 ` (PowerPC), ` r30 ` (PowerPC), ` x19 ` (Arm64EC) | These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
142+ | All | ` fr ` (Hexagon), ` fp ` (PowerPC), ` $fp ` (MIPS), ` Y ` (AVR), ` r4 ` (MSP430), ` a6 ` (M68k), ` r11 ` (s390x) | The frame pointer cannot be used as an input or output. |
143+ | All | ` r19 ` (Hexagon), ` r29 ` (PowerPC), ` r30 ` (PowerPC) | These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
156144| MIPS | ` $0 ` or ` $zero ` | This is a constant zero register which can't be modified. |
157145| MIPS | ` $1 ` or ` $at ` | Reserved for assembler. |
158146| MIPS | ` $26 ` /` $k0 ` , ` $27 ` /` $k1 ` | OS-reserved registers. |
@@ -174,10 +162,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
174162| CSKY | ` r31 ` | This is the TLS register. |
175163| s390x | ` c[0-15] ` | Reserved by the kernel. |
176164| s390x | ` a[0-1] ` | Reserved for system use. |
177- | Arm64EC | ` xzr ` | This is a constant zero register which can't be modified. |
178- | Arm64EC | ` x18 ` | This is an OS-reserved register. |
179- | Arm64EC | ` x13 ` , ` x14 ` , ` x23 ` , ` x24 ` , ` x28 ` , ` v[16-31] ` | These are AArch64 registers that are not supported for Arm64EC. |
180-
181165
182166## Template modifiers
183167
@@ -197,16 +181,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
197181| s390x | ` freg ` | None | ` %f0 ` | None |
198182| CSKY | ` reg ` | None | ` r0 ` | None |
199183| CSKY | ` freg ` | None | ` f0 ` | None |
200- | Arm64EC | ` reg ` | None | ` x0 ` | ` x ` |
201- | Arm64EC | ` reg ` | ` w ` | ` w0 ` | ` w ` |
202- | Arm64EC | ` reg ` | ` x ` | ` x0 ` | ` x ` |
203- | Arm64EC | ` vreg ` | None | ` v0 ` | None |
204- | Arm64EC | ` vreg ` | ` v ` | ` v0 ` | None |
205- | Arm64EC | ` vreg ` | ` b ` | ` b0 ` | ` b ` |
206- | Arm64EC | ` vreg ` | ` h ` | ` h0 ` | ` h ` |
207- | Arm64EC | ` vreg ` | ` s ` | ` s0 ` | ` s ` |
208- | Arm64EC | ` vreg ` | ` d ` | ` d0 ` | ` d ` |
209- | Arm64EC | ` vreg ` | ` q ` | ` q0 ` | ` q ` |
210184
211185# Flags covered by ` preserves_flags `
212186
@@ -219,6 +193,3 @@ These flags registers must be restored upon exiting the asm block if the `preser
219193 - The condition code register ` ccr ` .
220194- s390x
221195 - The condition code register ` cc ` .
222- - Arm64EC
223- - Condition flags (` NZCV ` register).
224- - Floating-point status (` FPSR ` register).
0 commit comments