Skip to content

Commit 158f210

Browse files
committed
[docs] Add clang release notes for LoongArch
1 parent 7e830f7 commit 158f210

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,34 @@ Windows Support
985985
LoongArch Support
986986
^^^^^^^^^^^^^^^^^
987987

988+
- Add support for OHOS on loongarch64.
989+
990+
- Add inline asm support for the `q` constraint.
991+
992+
- Add `same-address` constraint to the description of `-m[no]ld-seq-sa`.
993+
994+
- Add target attribute support for function. Supported formats include:
995+
* `arch=<arch>` strings - specifies architecture features for a function (equivalent to `-march=<arch>`).
996+
* `tune=<cpu>` strings - specifies the tune CPU for a function (equivalent to `-mtune`).
997+
* `<feature>`/`no-<feature>` - enables/disables specific features.
998+
999+
- Only report the first range error if there is actually more than one for
1000+
`__builtin_loongarch_cacop_[wd]`.
1001+
1002+
- Add support for the `_Float16` type. And fix incorrect ABI lowering of `_Float16`
1003+
in the case of structs containing fp16 that are eligible for passing via `GPR+FPR`
1004+
or `FPR+FPR`. Also fix `int16` -> `__fp16` conversion code gen, which uses generic LLVM
1005+
IR rather than `llvm.convert.to.fp16` intrinsics.
1006+
1007+
- Add support for the `__bf16` type.
1008+
1009+
- Fix `-mno-lsx` option not disabling LASX feature. When `-march` with LASX feature and
1010+
`-mno-lsx` options are used together, `-mno-lsx` fails to disable LASX, leaving
1011+
`HasFeatureLASX=true` and causing incorrect `__loongarch_sx/asx=1` macro definition.
1012+
1013+
- Fix incorrect _BitInt(N>64) alignment. Now consistently uses 16-byte alignment for all
1014+
`_BitInt(N)` where N > 64.
1015+
9881016
RISC-V Support
9891017
^^^^^^^^^^^^^^
9901018

0 commit comments

Comments
 (0)