Viewing file: inc_dec_pat_4.c (1.42 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <arm_sve.h>
void test (svbool_t pg, svint8_t s8, svuint8_t u8, svint16_t s16, svuint16_t u16, svint32_t s32, svuint32_t u32, svint64_t s64, svuint64_t u64, int16_t sh, uint16_t uh, int32_t sw, uint32_t uw, int64_t sd, uint64_t ud, float f) { svqincw_pat (pg, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svbool_t' arguments} } */ svqincw_pat (s8, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svint8_t' arguments} } */ svqincw_pat (u8, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svuint8_t' arguments} } */ svqincw_pat (s16, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svint16_t' arguments} } */ svqincw_pat (u16, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svuint16_t' arguments} } */ svqincw_pat (s32, SV_ALL, 1); svqincw_pat (u32, SV_ALL, 1); svqincw_pat (s64, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svint64_t' arguments} } */ svqincw_pat (u64, SV_ALL, 1); /* { dg-error {'svqincw_pat' has no form that takes 'svuint64_t' arguments} } */ svqincw_pat (sh, SV_ALL, 1); svqincw_pat (sw, SV_ALL, 1); svqincw_pat (sd, SV_ALL, 1); svqincw_pat (uh, SV_ALL, 1); svqincw_pat (uw, SV_ALL, 1); svqincw_pat (ud, SV_ALL, 1); svqincw_pat (f, SV_ALL, 1); /* { dg-error {passing 'float' to argument 1 of 'svqincw_pat', which expects a 32-bit or 64-bit integer type} } */ }
|