Skip to content

Commit 55184c7

Browse files
authored
Merge pull request #2217 from heiher/loong-target-features
Doc: Add the LoongArch stabilized target features
2 parents a3600aa + 53eb4c6 commit 55184c7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/attributes/codegen.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ Feature | Implicitly Enables | Description
474474
`lbt` | | [LBT][la-lbt] --- Binary translation instructions
475475
`lsx` | `d` | [LSX][la-lsx] --- 128-bit vector instructions
476476
`lvz` | | [LVZ][la-lvz] --- Virtualization instructions
477+
`div32` | | [DIV32][la-div32] --- Division instructions accepting non-sign-extended 32-bit operands
478+
`lam-bh` | | [LAM-BH][la-lam-bh] --- Atomic swap and add instructions for byte and halfword
479+
`lamcas` | | [LAMCAS][la-lamcas] --- Atomic compare-and-swap instructions for byte, halfword, word, and doubleword
480+
`ld-seq-sa` | | [LD-SEQ-SA][la-ld-seq-sa] --- Sequential ordering of load operations to the same address
481+
`scq` | | [SCQ][la-scq] --- Store-conditional quadword instructions
477482

478483
<!-- Keep links near each table to make it easier to move and update. -->
479484

@@ -484,6 +489,11 @@ Feature | Implicitly Enables | Description
484489
[la-lbt]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-lbt_x86
485490
[la-lsx]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-lsx
486491
[la-lvz]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-lvz
492+
[la-div32]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-div32
493+
[la-lam-bh]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-lam_bh
494+
[la-lamcas]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-lamcas
495+
[la-ld-seq-sa]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-ld_seq_sa
496+
[la-scq]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#cpucfg-scq
487497

488498
r[attributes.codegen.target_feature.riscv]
489499
#### `riscv32` or `riscv64`

0 commit comments

Comments
 (0)