File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,27 @@ Feature | Implicitly Enables | Feature Name
280280` tme ` | | FEAT_TME --- Transactional Memory Extension
281281` vh ` | | FEAT_VHE --- Virtualization Host Extensions
282282
283+ r[ attributes.codegen.target_feature.loongarch]
284+ #### ` loongarch `
285+
286+
287+ On this platform the usage of ` #[target_feature] ` functions follows the
288+ [ above restrictions] [ attributes.codegen.target_feature.safety-restrictions ] .
289+
290+ Feature | Implicitly Enables | Description
291+ ------------|---------------------|-------------------
292+ ` f ` | | [ F] [ cpucfg ] --- Single-precision float-point instructions
293+ ` d ` | ` f ` | [ D] [ cpucfg ] --- Double-precision float-point instructions
294+ ` frecipe ` | | [ FRECIPE] [ cpucfg ] --- Reciprocal approximation instructions
295+ ` lasx ` | ` lsx ` | [ LASX] [ cpucfg ] --- 256-bit vector instructions
296+ ` lbt ` | | [ LBT] [ cpucfg ] --- Binary translation instructions
297+ ` lsx ` | ` d ` | [ LSX] [ cpucfg ] --- 128-bit vector instructions
298+ ` lvz ` | | [ LVZ] [ cpucfg ] --- Virtualization instructions
299+
300+ <!-- Keep links near each table to make it easier to move and update. -->
301+
302+ [ cpucfg ] : https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#the-configuration-information-accessible-by-the-cpucfg-instruction
303+
283304r[ attributes.codegen.target_feature.riscv]
284305#### ` riscv32 ` or ` riscv64 `
285306
You can’t perform that action at this time.
0 commit comments