typedef __attribute__((vector_size(16))) signed char vec_schar;
typedef __attribute__((vector_size(16))) signed short vec_sshort;
typedef __attribute__((vector_size(16))) signed int vec_sint;
typedef __attribute__((vector_size(16))) signed long long vec_slong;
typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
typedef __attribute__((vector_size(16))) unsigned int vec_uint;
typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
typedef __attribute__((vector_size(16))) double vec_double;
typedef __attribute__((vector_size(16))) float vec_float;
volatile vec_schar vsc;
volatile vec_sshort vss;
volatile vec_sint vsi;
volatile vec_slong vsl;
volatile vec_uchar vuc;
volatile vec_ushort vus;
volatile vec_uint vui;
volatile vec_ulong vul;
volatile vec_double vd;
volatile vec_float vf;
volatile unsigned int len;
const void * volatile cptr;
void * volatile ptr;
int cc;
void test_core(void) {
vul = __builtin_s390_vbperm(vuc, vuc);
vsc = __builtin_s390_vlrl(len, cptr);
__builtin_s390_vstrl(vsc, len, ptr);
}
void test_integer(void) {
vuc = __builtin_s390_vmslg(vul, vul, vuc, 0);
vuc = __builtin_s390_vmslg(vul, vul, vuc, 15);
}
void test_float(void) {
vd = __builtin_s390_vfmaxdb(vd, vd, 4);
vd = __builtin_s390_vfmaxdb(vd, vd, 0);
vd = __builtin_s390_vfmaxdb(vd, vd, 15);
vd = __builtin_s390_vfmindb(vd, vd, 4);
vd = __builtin_s390_vfmindb(vd, vd, 0);
vd = __builtin_s390_vfmindb(vd, vd, 15);
vd = __builtin_s390_vfnmadb(vd, vd, vd);
vd = __builtin_s390_vfnmsdb(vd, vd, vd);
vsi = __builtin_s390_vfcesbs(vf, vf, &cc);
vsi = __builtin_s390_vfchsbs(vf, vf, &cc);
vsi = __builtin_s390_vfchesbs(vf, vf, &cc);
vsi = __builtin_s390_vftcisb(vf, 0, &cc);
vsi = __builtin_s390_vftcisb(vf, 4095, &cc);
vf = __builtin_s390_vfmaxsb(vf, vf, 4);
vf = __builtin_s390_vfmaxsb(vf, vf, 0);
vf = __builtin_s390_vfmaxsb(vf, vf, 15);
vf = __builtin_s390_vfminsb(vf, vf, 4);
vf = __builtin_s390_vfminsb(vf, vf, 0);
vf = __builtin_s390_vfminsb(vf, vf, 15);
vf = __builtin_s390_vfsqsb(vf);
vf = __builtin_s390_vfmasb(vf, vf, vf);
vf = __builtin_s390_vfmssb(vf, vf, vf);
vf = __builtin_s390_vfnmasb(vf, vf, vf);
vf = __builtin_s390_vfnmssb(vf, vf, vf);
vf = __builtin_s390_vflpsb(vf);
vf = __builtin_s390_vflnsb(vf);
vf = __builtin_s390_vfisb(vf, 0, 0);
vf = __builtin_s390_vfisb(vf, 4, 0);
vf = __builtin_s390_vfisb(vf, 4, 1);
vf = __builtin_s390_vfisb(vf, 4, 5);
vf = __builtin_s390_vfisb(vf, 4, 6);
vf = __builtin_s390_vfisb(vf, 4, 7);
vf = __builtin_s390_vfisb(vf, 4, 4);
}