view gcc/testsuite/gcc.target/s390/zvector/vec-addc-u128.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile { target { s390*-*-* } } } */
/* { dg-options "-O3 -mzarch -march=z13 -mzvector -fno-asynchronous-unwind-tables" } */

#include <vecintrin.h>

vector unsigned char test(void)
{
   vector unsigned char a = { 0 };
   return __builtin_s390_vec_addc_u128 (a, a);
}