@@ -18,7 +18,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
18
18
- MSP430
19
19
- M68k
20
20
- CSKY
21
- - Arm64EC
22
21
- SPARC
23
22
24
23
## Register classes
@@ -53,9 +52,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
53
52
| CSKY | ` freg ` | ` f[0-31] ` | ` f ` |
54
53
| SPARC | ` reg ` | ` r[2-29] ` | ` r ` |
55
54
| SPARC | ` yreg ` | ` y ` | Only clobbers |
56
- | Arm64EC | ` reg ` | ` x[0-12] ` , ` x[15-22] ` , ` x[25-27] ` , ` x30 ` | ` r ` |
57
- | Arm64EC | ` vreg ` | ` v[0-15] ` | ` w ` |
58
- | Arm64EC | ` vreg_low16 ` | ` v[0-15] ` | ` x ` |
59
55
60
56
> ** Notes** :
61
57
> - NVPTX doesn't have a fixed register set, so named registers are not supported.
@@ -92,8 +88,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
92
88
| CSKY | ` freg ` | None | ` f32 ` , |
93
89
| SPARC | ` reg ` | None | ` i8 ` , ` i16 ` , ` i32 ` , ` i64 ` (SPARC64 only) |
94
90
| SPARC | ` yreg ` | N/A | Only clobbers |
95
- | Arm64EC | ` reg ` | None | ` i8 ` , ` i16 ` , ` i32 ` , ` f32 ` , ` i64 ` , ` f64 ` |
96
- | Arm64EC | ` vreg ` | None | ` i8 ` , ` i16 ` , ` i32 ` , ` f32 ` , ` i64 ` , ` f64 ` , <br > ` i8x8 ` , ` i16x4 ` , ` i32x2 ` , ` i64x1 ` , ` f32x2 ` , ` f64x1 ` , <br > ` i8x16 ` , ` i16x8 ` , ` i32x4 ` , ` i64x2 ` , ` f32x4 ` , ` f64x2 ` |
97
91
98
92
## Register aliases
99
93
@@ -134,12 +128,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
134
128
| SPARC | ` r[8-15] ` | ` o[0-7] ` |
135
129
| SPARC | ` r[16-23] ` | ` l[0-7] ` |
136
130
| SPARC | ` r[24-31] ` | ` i[0-7] ` |
137
- | Arm64EC | ` x[0-30] ` | ` w[0-30] ` |
138
- | Arm64EC | ` x29 ` | ` fp ` |
139
- | Arm64EC | ` x30 ` | ` lr ` |
140
- | Arm64EC | ` sp ` | ` wsp ` |
141
- | Arm64EC | ` xzr ` | ` wzr ` |
142
- | Arm64EC | ` v[0-15] ` | ` b[0-15] ` , ` h[0-15] ` , ` s[0-15] ` , ` d[0-15] ` , ` q[0-15] ` |
143
131
144
132
> ** Notes** :
145
133
> - TI does not mandate a frame pointer for MSP430, but toolchains are allowed
@@ -150,8 +138,8 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
150
138
| Architecture | Unsupported register | Reason |
151
139
| ------------ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
152
140
| All | ` sp ` , ` r14 ` /` o6 ` (SPARC) | The stack pointer must be restored to its original value at the end of an asm code block. |
153
- | All | ` fr ` (Hexagon), ` fp ` (PowerPC), ` $fp ` (MIPS), ` Y ` (AVR), ` r4 ` (MSP430), ` a6 ` (M68k), ` r30 ` /` i6 ` (SPARC), ` x29 ` (Arm64EC) | The frame pointer cannot be used as an input or output. |
154
- | All | ` r19 ` (Hexagon), ` r29 ` (PowerPC), ` r30 ` (PowerPC), ` x19 ` (Arm64EC) | These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
141
+ | All | ` fr ` (Hexagon), ` fp ` (PowerPC), ` $fp ` (MIPS), ` Y ` (AVR), ` r4 ` (MSP430), ` a6 ` (M68k), ` r30 ` /` i6 ` (SPARC) | The frame pointer cannot be used as an input or output. |
142
+ | All | ` r19 ` (Hexagon), ` r29 ` (PowerPC), ` r30 ` (PowerPC) | These are used internally by LLVM as "base pointer" for functions with complex stack frames. |
155
143
| MIPS | ` $0 ` or ` $zero ` | This is a constant zero register which can't be modified. |
156
144
| MIPS | ` $1 ` or ` $at ` | Reserved for assembler. |
157
145
| MIPS | ` $26 ` /` $k0 ` , ` $27 ` /` $k1 ` | OS-reserved registers. |
@@ -176,9 +164,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
176
164
| SPARC | ` r5 ` /` g5 ` | Reserved for system. (SPARC32 only) |
177
165
| SPARC | ` r6 ` /` g6 ` , ` r7 ` /` g7 ` | Reserved for system. |
178
166
| SPARC | ` r31 ` /` i7 ` | Return address cannot be used as inputs or outputs. |
179
- | Arm64EC | ` xzr ` | This is a constant zero register which can't be modified. |
180
- | Arm64EC | ` x18 ` | This is an OS-reserved register. |
181
- | Arm64EC | ` x13 ` , ` x14 ` , ` x23 ` , ` x24 ` , ` x28 ` , ` v[16-31] ` | These are AArch64 registers that are not supported for Arm64EC. |
182
167
183
168
184
169
## Template modifiers
@@ -197,16 +182,6 @@ This feature tracks `asm!` and `global_asm!` support for the following architect
197
182
| SPARC | ` reg ` | None | ` %o0 ` | None |
198
183
| CSKY | ` reg ` | None | ` r0 ` | None |
199
184
| 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 ` |
210
185
211
186
# Flags covered by ` preserves_flags `
212
187
@@ -220,6 +195,3 @@ These flags registers must be restored upon exiting the asm block if the `preser
220
195
- SPARC
221
196
- Integer condition codes (` icc ` and ` xcc ` )
222
197
- Floating-point condition codes (` fcc[0-3] ` )
223
- - Arm64EC
224
- - Condition flags (` NZCV ` register).
225
- - Floating-point status (` FPSR ` register).
0 commit comments