[clang] [AArch64][SME]Update intrinsic interface for ld1/st1 (PR #65582)
Dinar Temirbulatov via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 11 06:52:18 PDT 2023
================
@@ -12,23 +12,15 @@
#include <arm_sme_draft_spec_subject_to_change.h>
-void test_range_0_0(svbool_t pg, void *ptr) {
+void test_range_0_0(uint32_t slice, svbool_t pg, void *ptr) {
// expected-error at +1 {{argument value 18446744073709551615 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svld1_hor_za8,,,)(-1, -1, 0, pg, ptr);
+ SVE_ACLE_FUNC(svld1_hor_za8,,,)(-1, slice, pg, ptr);
// expected-error at +1 {{argument value 1 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svst1_ver_za8,,,)(1, -1, 15, pg, ptr);
+ SVE_ACLE_FUNC(svst1_ver_za8,,,)(1, slice, pg, ptr);
// expected-error at +1 {{argument value 18446744073709551615 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svld1_hor_za128,,,)(0, -1, -1, pg, ptr);
+ SVE_ACLE_FUNC(svld1_hor_vnum_za8,,,)(-1, slice, pg, ptr, 1);
// expected-error at +1 {{argument value 1 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svst1_ver_za128,,,)(15, -1, 1, pg, ptr);
- // expected-error at +1 {{argument value 18446744073709551615 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svld1_hor_vnum_za8,,,)(-1, -1, 0, pg, ptr, 1);
- // expected-error at +1 {{argument value 1 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svst1_ver_vnum_za8,,,)(1, -1, 15, pg, ptr, 1);
- // expected-error at +1 {{argument value 18446744073709551615 is outside the valid range [0, 0]}}
- SVE_ACLE_FUNC(svld1_hor_vnum_za128,,,)(0, -1, -1, pg, ptr, 1);
----------------
dtemirbulatov wrote:
ah, since those are not immidate values, it is not possilbe.
https://github.com/llvm/llvm-project/pull/65582
More information about the cfe-commits
mailing list