@@ -27,7 +27,7 @@ void test_ldr_str_zt(const void *const_base, void *base) __arm_streaming_compati
27
27
// REQUIRES: aarch64-registered-target
28
28
#include < arm_sme_draft_spec_subject_to_change.h>
29
29
30
- void test_svluti2_lane_zt_x4 (svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u32) __arm_streaming __arm_shared_za __arm_preserves_za {
30
+ void test_svluti2_lane_zt_x4 (svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u32, svfloat16_t zn_f16, svbfloat16_t zn_bf16, svfloat32_t zn_f32 ) __arm_streaming __arm_shared_za __arm_preserves_za {
31
31
// Test Reg Offset
32
32
svluti2_lane_zt_u8_x4 (1 , zn_u8, 0 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
33
33
// Test index value range
@@ -40,9 +40,21 @@ void test_svluti2_lane_zt_x4(svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u
40
40
svluti2_lane_zt_u32_x4 (1 , zn_u32, 3 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
41
41
// Test index value range
42
42
svluti2_lane_zt_u32_x4 (0 , zn_u32, 4 ); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
43
+
44
+ svluti2_lane_zt_f16_x4 (1 , zn_f16, 3 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
45
+
46
+ svluti2_lane_zt_f16_x4 (0 , zn_f16, 4 ); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
47
+
48
+ svluti2_lane_zt_bf16_x4 (1 , zn_bf16, 3 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
49
+
50
+ svluti2_lane_zt_bf16_x4 (0 , zn_bf16, 4 ); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
51
+
52
+ svluti2_lane_zt_f32_x4 (1 , zn_f32, 3 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
53
+
54
+ svluti2_lane_zt_f32_x4 (0 , zn_f32, 4 ); // expected-error {{argument value 4 is outside the valid range [0, 3]}}
43
55
}
44
56
45
- void test_svluti4_lane_zt_x4 (svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u32) __arm_streaming __arm_shared_za __arm_preserves_za {
57
+ void test_svluti4_lane_zt_x4 (svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u32, svfloat16_t zn_f16, svbfloat16_t zn_bf16, svfloat32_t zn_f32 ) __arm_streaming __arm_shared_za __arm_preserves_za {
46
58
// Test Reg Offset
47
59
svluti4_lane_zt_u16_x4 (1 , zn_u16, 0 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
48
60
// Test index value range
@@ -51,5 +63,17 @@ void test_svluti4_lane_zt_x4(svuint8_t zn_u8, svuint16_t zn_u16, svuint32_t zn_u
51
63
svluti4_lane_zt_u32_x4 (1 , zn_u32, 1 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
52
64
// Test index value range
53
65
svluti4_lane_zt_u32_x4 (0 , zn_u32, 2 ); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
66
+
67
+ svluti4_lane_zt_f16_x4 (1 , zn_f16, 0 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
68
+
69
+ svluti4_lane_zt_f16_x4 (0 , zn_f16, 2 ); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
70
+
71
+ svluti4_lane_zt_bf16_x4 (1 , zn_bf16, 0 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
72
+
73
+ svluti4_lane_zt_bf16_x4 (0 , zn_bf16, 2 ); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
74
+
75
+ svluti4_lane_zt_f32_x4 (1 , zn_f32, 1 ); // expected-error {{argument value 1 is outside the valid range [0, 0]}}
76
+
77
+ svluti4_lane_zt_f32_x4 (0 , zn_f32, 2 ); // expected-error {{argument value 2 is outside the valid range [0, 1]}}
54
78
}
55
79
0 commit comments