Skip to content

Commit 0942e51

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

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,36 @@ 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, that specify the architecture features for a
996+
function as per the `-march=<arch>` option.
997+
* `tune=<cpu>` strings, that specify the tune-cpu cpu for a function as
998+
per `-mtune`.
999+
* `<feature>`/`no-<feature>` enables/disables the specific feature.
1000+
1001+
- Only report the first range error if there is actually more than one for
1002+
`__builtin_loongarch_cacop_[wd]`.
1003+
1004+
- Add support for the `_Float16` type. And fix incorrect ABI lowering of `_Float16`
1005+
in the case of structs containing fp16 that are eligible for passing via `GPR+FPR`
1006+
or `FPR+FPR`. Also fix `int16` -> `__fp16` conversion code gen, which uses generic LLVM
1007+
IR rather than `llvm.convert.to.fp16` intrinsics.
1008+
1009+
- Add support for the `__bf16` type.
1010+
1011+
- Fix `-mno-lsx` option not disabling LASX feature. When `-march` with LASX feature and
1012+
`-mno-lsx` options are used together, `-mno-lsx` fails to disable LASX, leaving
1013+
`HasFeatureLASX=true` and causing incorrect `__loongarch_sx/asx=1` macro definition.
1014+
1015+
- Fix incorrect _BitInt(N>64) alignment. Now consistently uses 16-byte alignment for all
1016+
`_BitInt(N)` where N > 64.
1017+
9881018
RISC-V Support
9891019
^^^^^^^^^^^^^^
9901020

0 commit comments

Comments
 (0)