Skip to content

Commit 9466d26

Browse files
committed
another possibility for removing restrictions
1 parent 6186245 commit 9466d26

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

text/3838-scalable-vectors.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,19 @@ restrictions on trait implementations and generic instantiation to be lifted:
11491149
`target_feature`-annotated functions, which would enable fixed-length
11501150
vectors to be passed as immediates, improving performance
11511151

1152+
- It may be possible to support scalable vector types without the target feature
1153+
being enabled by using an indirect ABI similarly to fixed length vectors.
1154+
1155+
- This would enable these restrictions to be lifted and for scalable vector
1156+
types to be the same as fixed length vectors with respect to interactions
1157+
with the `target_feature` attribute.
1158+
1159+
- As with fixed length vectors, it would still be desirable for them to
1160+
avoid needing to be passed indirectly between annotated functions, but
1161+
this could be addressed in a follow-up.
1162+
1163+
- Experimentation is required to determine if this is feasible.
1164+
11521165
## Compound types
11531166
[compound-types]: #compound-types
11541167

0 commit comments

Comments
 (0)