| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
#include <arm_sve.h> |
| 4 |
|
| 5 |
#pragma GCC target ("arch=armv9.2-a+sve2+lut") |
| 6 |
|
| 7 |
void |
| 8 |
test (svfloat16_t f16, svfloat32_t f32, svfloat64_t f64, |
| 9 |
svfloat32x2_t f32x2, svfloat64x2_t f64x2, |
| 10 |
svfloat16x3_t f16x3, |
| 11 |
svuint8_t u8, svuint16_t u16, svuint32_t u32, svuint64_t u64, |
| 12 |
svuint8x2_t u8x2, svuint32x2_t u32x2, svuint64x2_t u64x2, |
| 13 |
svuint16x3_t u16x3, |
| 14 |
svint8_t s8, svint16_t s16, svint32_t s32, svint64_t s64, |
| 15 |
svint8x2_t s8x2, svint32x2_t s32x2, svint64x2_t s64x2, |
| 16 |
svint16x3_t s16x3, |
| 17 |
svbfloat16_t bf16, svbfloat16x2_t bf16x2, |
| 18 |
svbfloat16x3_t bf16x3, |
| 19 |
int idx) |
| 20 |
{ |
| 21 |
svluti2_lane_f16 (f16); /* { dg-error {too few arguments to function 'svluti2_lane_f16'} } */ |
| 22 |
svluti2_lane_f16 (f16, u8); /* { dg-error {too few arguments to function 'svluti2_lane_f16'} } */ |
| 23 |
svluti2_lane_f16 (f16, u8, 0, f16); /* { dg-error {too many arguments to function 'svluti2_lane_f16'} } */ |
| 24 |
svluti2_lane_f16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_f16'} } */ |
| 25 |
svluti2_lane_f16 (f32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_f16'} } */ |
| 26 |
svluti2_lane_f16 (f16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_f16'} } */ |
| 27 |
svluti2_lane_f16 (f16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_f16'} } */ |
| 28 |
svluti2_lane_f16 (f16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_f16'} } */ |
| 29 |
svluti2_lane_f16 (f16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_f16' must be an integer constant expression} } */ |
| 30 |
|
| 31 |
svluti2_lane (f16); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 32 |
svluti2_lane (f16, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 33 |
svluti2_lane (f16, u8, 0, f16); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 34 |
svluti2_lane (f16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 35 |
svluti2_lane (f16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 36 |
svluti2_lane (f16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 37 |
svluti2_lane (f16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 38 |
svluti2_lane (f32, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svfloat32_t' arguments} } */ |
| 39 |
svluti2_lane (f64, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svfloat64_t' arguments} } */ |
| 40 |
|
| 41 |
svluti2_lane_bf16 (bf16); /* { dg-error {too few arguments to function 'svluti2_lane_bf16'} } */ |
| 42 |
svluti2_lane_bf16 (bf16, u8); /* { dg-error {too few arguments to function 'svluti2_lane_bf16'} } */ |
| 43 |
svluti2_lane_bf16 (bf16, u8, 0, bf16); /* { dg-error {too many arguments to function 'svluti2_lane_bf16'} } */ |
| 44 |
svluti2_lane_bf16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_bf16'} } */ |
| 45 |
svluti2_lane_bf16 (f32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_bf16'} } */ |
| 46 |
svluti2_lane_bf16 (bf16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_bf16'} } */ |
| 47 |
svluti2_lane_bf16 (bf16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_bf16'} } */ |
| 48 |
svluti2_lane_bf16 (bf16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_bf16'} } */ |
| 49 |
svluti2_lane_bf16 (bf16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_bf16' must be an integer constant expression} } */ |
| 50 |
|
| 51 |
svluti2_lane (bf16); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 52 |
svluti2_lane (bf16, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 53 |
svluti2_lane (bf16, u8, 0, bf16); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 54 |
svluti2_lane (bf16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 55 |
svluti2_lane (bf16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 56 |
svluti2_lane (bf16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 57 |
svluti2_lane (bf16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 58 |
|
| 59 |
svluti2_lane_u8 (u8); /* { dg-error {too few arguments to function 'svluti2_lane_u8'} } */ |
| 60 |
svluti2_lane_u8 (u8, u8); /* { dg-error {too few arguments to function 'svluti2_lane_u8'} } */ |
| 61 |
svluti2_lane_u8 (u8, u8, 0, u8); /* { dg-error {too many arguments to function 'svluti2_lane_u8'} } */ |
| 62 |
svluti2_lane_u8 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_u8'} } */ |
| 63 |
svluti2_lane_u8 (u32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_u8'} } */ |
| 64 |
svluti2_lane_u8 (u8, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_u8'} } */ |
| 65 |
svluti2_lane_u8 (u8, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_u8'} } */ |
| 66 |
svluti2_lane_u8 (u8, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_u8'} } */ |
| 67 |
svluti2_lane_u8 (u8, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_u8' must be an integer constant expression} } */ |
| 68 |
|
| 69 |
svluti2_lane (u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 70 |
svluti2_lane (u8, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 71 |
svluti2_lane (u8, u8, 0, u8); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 72 |
svluti2_lane (u8, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 73 |
svluti2_lane (u8, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 74 |
svluti2_lane (u8, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 75 |
svluti2_lane (u8, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 76 |
|
| 77 |
svluti2_lane_u16 (u16); /* { dg-error {too few arguments to function 'svluti2_lane_u16'} } */ |
| 78 |
svluti2_lane_u16 (u16, u8); /* { dg-error {too few arguments to function 'svluti2_lane_u16'} } */ |
| 79 |
svluti2_lane_u16 (u16, u8, 0, u16); /* { dg-error {too many arguments to function 'svluti2_lane_u16'} } */ |
| 80 |
svluti2_lane_u16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_u16'} } */ |
| 81 |
svluti2_lane_u16 (u32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_u16'} } */ |
| 82 |
svluti2_lane_u16 (u16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_u16'} } */ |
| 83 |
svluti2_lane_u16 (u16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_u16'} } */ |
| 84 |
svluti2_lane_u16 (u16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_u16'} } */ |
| 85 |
svluti2_lane_u16 (u16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_u16' must be an integer constant expression} } */ |
| 86 |
|
| 87 |
svluti2_lane (u16); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 88 |
svluti2_lane (u16, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 89 |
svluti2_lane (u16, u8, 0, u16); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 90 |
svluti2_lane (u16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 91 |
svluti2_lane (u16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 92 |
svluti2_lane (u16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 93 |
svluti2_lane (u16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 94 |
svluti2_lane (u32, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svuint32_t' arguments} } */ |
| 95 |
svluti2_lane (u64, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svuint64_t' arguments} } */ |
| 96 |
|
| 97 |
svluti2_lane_s8 (s8); /* { dg-error {too few arguments to function 'svluti2_lane_s8'} } */ |
| 98 |
svluti2_lane_s8 (s8, u8); /* { dg-error {too few arguments to function 'svluti2_lane_s8'} } */ |
| 99 |
svluti2_lane_s8 (s8, u8, 0, s8); /* { dg-error {too many arguments to function 'svluti2_lane_s8'} } */ |
| 100 |
svluti2_lane_s8 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_s8'} } */ |
| 101 |
svluti2_lane_s8 (s32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_s8'} } */ |
| 102 |
svluti2_lane_s8 (s8, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_s8'} } */ |
| 103 |
svluti2_lane_s8 (s8, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_s8'} } */ |
| 104 |
svluti2_lane_s8 (s8, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_s8'} } */ |
| 105 |
svluti2_lane_s8 (s8, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_s8' must be an integer constant expression} } */ |
| 106 |
|
| 107 |
svluti2_lane (s8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 108 |
svluti2_lane (s8, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 109 |
svluti2_lane (s8, u8, 0, s8); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 110 |
svluti2_lane (s8, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 111 |
svluti2_lane (s8, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 112 |
svluti2_lane (s8, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 113 |
svluti2_lane (s8, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 114 |
svluti2_lane (s32, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svint32_t' arguments} } */ |
| 115 |
svluti2_lane (s64, u8, 0); /* { dg-error {'svluti2_lane' has no form that takes 'svint64_t' arguments} } */ |
| 116 |
|
| 117 |
svluti2_lane_s16 (s16); /* { dg-error {too few arguments to function 'svluti2_lane_s16'} } */ |
| 118 |
svluti2_lane_s16 (s16, u8); /* { dg-error {too few arguments to function 'svluti2_lane_s16'} } */ |
| 119 |
svluti2_lane_s16 (s16, u8, 0, s16); /* { dg-error {too many arguments to function 'svluti2_lane_s16'} } */ |
| 120 |
svluti2_lane_s16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_s16'} } */ |
| 121 |
svluti2_lane_s16 (s32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti2_lane_s16'} } */ |
| 122 |
svluti2_lane_s16 (s16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_s16'} } */ |
| 123 |
svluti2_lane_s16 (s16, s16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti2_lane_s16'} } */ |
| 124 |
svluti2_lane_s16 (s16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti2_lane_s16'} } */ |
| 125 |
svluti2_lane_s16 (s16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane_s16' must be an integer constant expression} } */ |
| 126 |
|
| 127 |
svluti2_lane (s16); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 128 |
svluti2_lane (s16, u8); /* { dg-error {too few arguments to function 'svluti2_lane'} } */ |
| 129 |
svluti2_lane (s16, u8, 0, s16); /* { dg-error {too many arguments to function 'svluti2_lane'} } */ |
| 130 |
svluti2_lane (s16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 131 |
svluti2_lane (s16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti2_lane', which expects 'svuint8_t'} } */ |
| 132 |
svluti2_lane (s16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti2_lane', which expects 'uint64_t'} } */ |
| 133 |
svluti2_lane (s16, u8, idx); /* { dg-error {argument 3 of 'svluti2_lane' must be an integer constant expression} } */ |
| 134 |
|
| 135 |
svluti4_lane_f16 (f16); /* { dg-error {too few arguments to function 'svluti4_lane_f16'} } */ |
| 136 |
svluti4_lane_f16 (f16, u8); /* { dg-error {too few arguments to function 'svluti4_lane_f16'} } */ |
| 137 |
svluti4_lane_f16 (f16, u8, 0, f16); /* { dg-error {too many arguments to function 'svluti4_lane_f16'} } */ |
| 138 |
svluti4_lane_f16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_f16'} } */ |
| 139 |
svluti4_lane_f16 (f32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_f16'} } */ |
| 140 |
svluti4_lane_f16 (f16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_f16'} } */ |
| 141 |
svluti4_lane_f16 (f16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_f16'} } */ |
| 142 |
svluti4_lane_f16 (f16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_f16'} } */ |
| 143 |
svluti4_lane_f16 (f16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_f16' must be an integer constant expression} } */ |
| 144 |
|
| 145 |
svluti4_lane (f16); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 146 |
svluti4_lane (f16, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 147 |
svluti4_lane (f16, u8, 0, f16); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 148 |
svluti4_lane (f16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 149 |
svluti4_lane (f16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 150 |
svluti4_lane (f16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 151 |
svluti4_lane (f16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 152 |
svluti4_lane (f32, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svfloat32_t' arguments} } */ |
| 153 |
svluti4_lane (f64, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svfloat64_t' arguments} } */ |
| 154 |
svluti4_lane (f16x3, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svfloat16x3_t' arguments} } */ |
| 155 |
svluti4_lane (f32x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svfloat32x2_t' arguments} } */ |
| 156 |
svluti4_lane (f64x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svfloat64x2_t' arguments} } */ |
| 157 |
|
| 158 |
svluti4_lane_bf16 (bf16); /* { dg-error {too few arguments to function 'svluti4_lane_bf16'} } */ |
| 159 |
svluti4_lane_bf16 (bf16, u8); /* { dg-error {too few arguments to function 'svluti4_lane_bf16'} } */ |
| 160 |
svluti4_lane_bf16 (bf16, u8, 0, bf16); /* { dg-error {too many arguments to function 'svluti4_lane_bf16'} } */ |
| 161 |
svluti4_lane_bf16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_bf16'} } */ |
| 162 |
svluti4_lane_bf16 (f32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_bf16'} } */ |
| 163 |
svluti4_lane_bf16 (bf16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_bf16'} } */ |
| 164 |
svluti4_lane_bf16 (bf16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_bf16'} } */ |
| 165 |
svluti4_lane_bf16 (bf16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_bf16'} } */ |
| 166 |
svluti4_lane_bf16 (bf16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_bf16' must be an integer constant expression} } */ |
| 167 |
|
| 168 |
svluti4_lane (bf16); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 169 |
svluti4_lane (bf16, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 170 |
svluti4_lane (bf16, u8, 0, bf16); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 171 |
svluti4_lane (bf16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 172 |
svluti4_lane (bf16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 173 |
svluti4_lane (bf16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 174 |
svluti4_lane (bf16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 175 |
|
| 176 |
svluti4_lane_u8 (u8); /* { dg-error {too few arguments to function 'svluti4_lane_u8'} } */ |
| 177 |
svluti4_lane_u8 (u8, u8); /* { dg-error {too few arguments to function 'svluti4_lane_u8'} } */ |
| 178 |
svluti4_lane_u8 (u8, u8, 0, u8); /* { dg-error {too many arguments to function 'svluti4_lane_u8'} } */ |
| 179 |
svluti4_lane_u8 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_u8'} } */ |
| 180 |
svluti4_lane_u8 (u32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_u8'} } */ |
| 181 |
svluti4_lane_u8 (u8, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_u8'} } */ |
| 182 |
svluti4_lane_u8 (u8, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_u8'} } */ |
| 183 |
svluti4_lane_u8 (u8, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_u8'} } */ |
| 184 |
svluti4_lane_u8 (u8, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_u8' must be an integer constant expression} } */ |
| 185 |
|
| 186 |
svluti4_lane (u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 187 |
svluti4_lane (u8, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 188 |
svluti4_lane (u8, u8, 0, u8); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 189 |
svluti4_lane (u8, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 190 |
svluti4_lane (u8, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 191 |
svluti4_lane (u8, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 192 |
svluti4_lane (u8, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 193 |
|
| 194 |
svluti4_lane_u16 (u16); /* { dg-error {too few arguments to function 'svluti4_lane_u16'} } */ |
| 195 |
svluti4_lane_u16 (u16, u8); /* { dg-error {too few arguments to function 'svluti4_lane_u16'} } */ |
| 196 |
svluti4_lane_u16 (u16, u8, 0, u16); /* { dg-error {too many arguments to function 'svluti4_lane_u16'} } */ |
| 197 |
svluti4_lane_u16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_u16'} } */ |
| 198 |
svluti4_lane_u16 (u32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_u16'} } */ |
| 199 |
svluti4_lane_u16 (u16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_u16'} } */ |
| 200 |
svluti4_lane_u16 (u16, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_u16'} } */ |
| 201 |
svluti4_lane_u16 (u16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_u16'} } */ |
| 202 |
svluti4_lane_u16 (u16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_u16' must be an integer constant expression} } */ |
| 203 |
|
| 204 |
svluti4_lane (u16); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 205 |
svluti4_lane (u16, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 206 |
svluti4_lane (u16, u8, 0, u16); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 207 |
svluti4_lane (u16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 208 |
svluti4_lane (u16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 209 |
svluti4_lane (u16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 210 |
svluti4_lane (u16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 211 |
svluti4_lane (u32, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint32_t' arguments} } */ |
| 212 |
svluti4_lane (u64, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint64_t' arguments} } */ |
| 213 |
svluti4_lane (u8x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint8x2_t' arguments} } */ |
| 214 |
svluti4_lane (u16x3, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint16x3_t' arguments} } */ |
| 215 |
svluti4_lane (u32x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint32x2_t' arguments} } */ |
| 216 |
svluti4_lane (u64x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svuint64x2_t' arguments} } */ |
| 217 |
|
| 218 |
svluti4_lane_s8 (s8); /* { dg-error {too few arguments to function 'svluti4_lane_s8'} } */ |
| 219 |
svluti4_lane_s8 (s8, u8); /* { dg-error {too few arguments to function 'svluti4_lane_s8'} } */ |
| 220 |
svluti4_lane_s8 (s8, u8, 0, s8); /* { dg-error {too many arguments to function 'svluti4_lane_s8'} } */ |
| 221 |
svluti4_lane_s8 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_s8'} } */ |
| 222 |
svluti4_lane_s8 (s32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_s8'} } */ |
| 223 |
svluti4_lane_s8 (s8, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_s8'} } */ |
| 224 |
svluti4_lane_s8 (s8, u16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_s8'} } */ |
| 225 |
svluti4_lane_s8 (s8, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_s8'} } */ |
| 226 |
svluti4_lane_s8 (s8, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_s8' must be an integer constant expression} } */ |
| 227 |
|
| 228 |
svluti4_lane (s8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 229 |
svluti4_lane (s8, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 230 |
svluti4_lane (s8, u8, 0, s8); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 231 |
svluti4_lane (s8, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 232 |
svluti4_lane (s8, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 233 |
svluti4_lane (s8, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 234 |
svluti4_lane (s8, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 235 |
|
| 236 |
svluti4_lane_s16 (s16); /* { dg-error {too few arguments to function 'svluti4_lane_s16'} } */ |
| 237 |
svluti4_lane_s16 (s16, u8); /* { dg-error {too few arguments to function 'svluti4_lane_s16'} } */ |
| 238 |
svluti4_lane_s16 (s16, u8, 0, s16); /* { dg-error {too many arguments to function 'svluti4_lane_s16'} } */ |
| 239 |
svluti4_lane_s16 (0, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_s16'} } */ |
| 240 |
svluti4_lane_s16 (s32, u8, 0); /* { dg-error {incompatible type for argument 1 of 'svluti4_lane_s16'} } */ |
| 241 |
svluti4_lane_s16 (s16, 0, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_s16'} } */ |
| 242 |
svluti4_lane_s16 (s16, s16, 0); /* { dg-error {incompatible type for argument 2 of 'svluti4_lane_s16'} } */ |
| 243 |
svluti4_lane_s16 (s16, u8, u8); /* { dg-error {incompatible type for argument 3 of 'svluti4_lane_s16'} } */ |
| 244 |
svluti4_lane_s16 (s16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane_s16' must be an integer constant expression} } */ |
| 245 |
|
| 246 |
svluti4_lane (s16); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 247 |
svluti4_lane (s16, u8); /* { dg-error {too few arguments to function 'svluti4_lane'} } */ |
| 248 |
svluti4_lane (s16, u8, 0, s16); /* { dg-error {too many arguments to function 'svluti4_lane'} } */ |
| 249 |
svluti4_lane (s16, 0, 0); /* { dg-error {passing 'int' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 250 |
svluti4_lane (s16, u16, 0); /* { dg-error {passing 'svuint16_t' to argument 2 of 'svluti4_lane', which expects 'svuint8_t'} } */ |
| 251 |
svluti4_lane (s16, u8, u8); /* { dg-error {passing 'svuint8_t' to argument 3 of 'svluti4_lane', which expects 'uint64_t'} } */ |
| 252 |
svluti4_lane (s16, u8, idx); /* { dg-error {argument 3 of 'svluti4_lane' must be an integer constant expression} } */ |
| 253 |
svluti4_lane (s32, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint32_t' arguments} } */ |
| 254 |
svluti4_lane (s64, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint64_t' arguments} } */ |
| 255 |
svluti4_lane (s8x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint8x2_t' arguments} } */ |
| 256 |
svluti4_lane (s16x3, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint16x3_t' arguments} } */ |
| 257 |
svluti4_lane (s32x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint32x2_t' arguments} } */ |
| 258 |
svluti4_lane (s64x2, u8, 0); /* { dg-error {'svluti4_lane' has no form that takes 'svint64x2_t' arguments} } */ |
| 259 |
|
| 260 |
svluti2_lane (0, u8, 0); /* { dg-error {passing 'int' to argument 1 of 'svluti2_lane', which expects an SVE type rather than a scalar type} } */ |
| 261 |
svluti4_lane (0, u8, 0); /* { dg-error {passing 'int' to argument 1 of 'svluti4_lane', which expects an SVE type rather than a scalar type} } */ |
| 262 |
} |