about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2024-11-20 22:03:20 +0800
committerWANG Rui <wangrui@loongson.cn>2024-12-11 17:34:44 +0800
commit78f3946ffd44aff5c57baf4192d9adbd70c3f576 (patch)
tree3f6027adb90194e085a32733f4469fae8938b933 /tests/rustdoc-ui/coverage/enum-tuple.rs
parent5a6036a1802262f8cf02192b02026688d396f1d7 (diff)
downloadrust-78f3946ffd44aff5c57baf4192d9adbd70c3f576.tar.gz
rust-78f3946ffd44aff5c57baf4192d9adbd70c3f576.zip
ABI checks: add support for loongarch
LoongArch psABI[^1] specifies that LSX vector types are passed via general-purpose
registers, while LASX vector types are passed indirectly through the stack.

This patch addresses the following warnings:

```
warning: this function call uses a SIMD vector type that is not currently supported with the chosen ABI
    --> .../library/core/src/../../stdarch/crates/core_arch/src/loongarch64/lsx/generated.rs:3695:5
     |
3695 |     __lsx_vreplgr2vr_b(a)
     |     ^^^^^^^^^^^^^^^^^^^^^ function called here
     |
     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
     = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
     = note: `#[warn(abi_unsupported_vector_types)]` on by default
```

[^1]: https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions