File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,27 @@ Feature | Implicitly Enables | Feature Name
230
230
` tme ` | | FEAT_TME --- Transactional Memory Extension
231
231
` vh ` | | FEAT_VHE --- Virtualization Host Extensions
232
232
233
+ #### ` loongarch `
234
+
235
+ r[ attributes.codegen.target_feature.loongarch]
236
+
237
+ This platform requires that ` #[target_feature] ` is only applied to [ ` unsafe `
238
+ functions] [ unsafe function ] .
239
+
240
+ Further documentation on these features can be found in the [ LoongArch Reference
241
+ Manual] , or elsewhere on [ www.loongson.cn ] .
242
+
243
+ [ LoongArch Reference Manual ] : https://github.com/loongson/LoongArch-Documentation
244
+ [ LoongArch GitHub Account ] : https://github.com/loongson
245
+
246
+ Feature | Implicitly Enables | Description
247
+ ------------|---------------------|-------------------
248
+ ` frecipe ` | | FRECIPE --- Reciprocal approximation instrutions
249
+ ` lasx ` | ` lsx ` | LASX --- 256-bit vector instructions
250
+ ` lbt ` | | LBT --- Binary translation instructions
251
+ ` lsx ` | ` d ` | LSX --- 128-bit vector instructions
252
+ ` lvz ` | | LVZ --- Virtualization instructions
253
+
233
254
#### ` riscv32 ` or ` riscv64 `
234
255
235
256
r[ attributes.codegen.target_feature.riscv]
You can’t perform that action at this time.
0 commit comments