-2019-07-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
+2019-07-13 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR target/91148
+ * config/rs6000/rs6000.c (rs6000_invalid_builtin): Remove superfluous
+ "builtin function" phrasing.
+
+2019-07-13 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR target/90723
* recog.h (temporary_volatile_ok): New class.
gcc_assert (name != NULL);
if ((fnmask & RS6000_BTM_CELL) != 0)
- error ("builtin function %qs is only valid for the cell processor", name);
+ error ("%qs is only valid for the cell processor", name);
else if ((fnmask & RS6000_BTM_VSX) != 0)
- error ("builtin function %qs requires the %qs option", name, "-mvsx");
+ error ("%qs requires the %qs option", name, "-mvsx");
else if ((fnmask & RS6000_BTM_HTM) != 0)
- error ("builtin function %qs requires the %qs option", name, "-mhtm");
+ error ("%qs requires the %qs option", name, "-mhtm");
else if ((fnmask & RS6000_BTM_ALTIVEC) != 0)
- error ("builtin function %qs requires the %qs option", name, "-maltivec");
+ error ("%qs requires the %qs option", name, "-maltivec");
else if ((fnmask & (RS6000_BTM_DFP | RS6000_BTM_P8_VECTOR))
== (RS6000_BTM_DFP | RS6000_BTM_P8_VECTOR))
- error ("builtin function %qs requires the %qs and %qs options",
- name, "-mhard-dfp", "-mpower8-vector");
+ error ("%qs requires the %qs and %qs options", name, "-mhard-dfp",
+ "-mpower8-vector");
else if ((fnmask & RS6000_BTM_DFP) != 0)
- error ("builtin function %qs requires the %qs option", name, "-mhard-dfp");
+ error ("%qs requires the %qs option", name, "-mhard-dfp");
else if ((fnmask & RS6000_BTM_P8_VECTOR) != 0)
- error ("builtin function %qs requires the %qs option", name,
- "-mpower8-vector");
+ error ("%qs requires the %qs option", name, "-mpower8-vector");
else if ((fnmask & (RS6000_BTM_P9_VECTOR | RS6000_BTM_64BIT))
== (RS6000_BTM_P9_VECTOR | RS6000_BTM_64BIT))
- error ("builtin function %qs requires the %qs and %qs options",
- name, "-mcpu=power9", "-m64");
+ error ("%qs requires the %qs and %qs options", name, "-mcpu=power9",
+ "-m64");
else if ((fnmask & RS6000_BTM_P9_VECTOR) != 0)
- error ("builtin function %qs requires the %qs option", name,
- "-mcpu=power9");
+ error ("%qs requires the %qs option", name, "-mcpu=power9");
else if ((fnmask & (RS6000_BTM_P9_MISC | RS6000_BTM_64BIT))
== (RS6000_BTM_P9_MISC | RS6000_BTM_64BIT))
- error ("builtin function %qs requires the %qs and %qs options",
- name, "-mcpu=power9", "-m64");
+ error ("%qs requires the %qs and %qs options", name, "-mcpu=power9",
+ "-m64");
else if ((fnmask & RS6000_BTM_P9_MISC) == RS6000_BTM_P9_MISC)
- error ("builtin function %qs requires the %qs option", name,
- "-mcpu=power9");
+ error ("%qs requires the %qs option", name, "-mcpu=power9");
else if ((fnmask & RS6000_BTM_LDBL128) == RS6000_BTM_LDBL128)
{
if (!TARGET_HARD_FLOAT)
- error ("builtin function %qs requires the %qs option", name,
- "-mhard-float");
+ error ("%qs requires the %qs option", name, "-mhard-float");
else
- error ("builtin function %qs requires the %qs option", name,
+ error ("%qs requires the %qs option", name,
TARGET_IEEEQUAD ? "-mabi=ibmlongdouble" : "-mlong-double-128");
}
else if ((fnmask & RS6000_BTM_HARD_FLOAT) != 0)
- error ("builtin function %qs requires the %qs option", name,
- "-mhard-float");
+ error ("%qs requires the %qs option", name, "-mhard-float");
else if ((fnmask & RS6000_BTM_FLOAT128_HW) != 0)
- error ("builtin function %qs requires ISA 3.0 IEEE 128-bit floating point",
- name);
+ error ("%qs requires ISA 3.0 IEEE 128-bit floating point", name);
else if ((fnmask & RS6000_BTM_FLOAT128) != 0)
- error ("builtin function %qs requires the %qs option", name,
- "%<-mfloat128%>");
+ error ("%qs requires the %qs option", name, "%<-mfloat128%>");
else if ((fnmask & (RS6000_BTM_POPCNTD | RS6000_BTM_POWERPC64))
== (RS6000_BTM_POPCNTD | RS6000_BTM_POWERPC64))
- error ("builtin function %qs requires the %qs (or newer), and "
- "%qs or %qs options",
+ error ("%qs requires the %qs (or newer), and %qs or %qs options",
name, "-mcpu=power7", "-m64", "-mpowerpc64");
else
- error ("builtin function %qs is not supported with the current options",
- name);
+ error ("%qs is not supported with the current options", name);
}
/* Target hook for early folding of built-ins, shamelessly stolen
+2019-07-13 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR target/91148
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-1.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-exp-4.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-1.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-extract-sig-4.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-1.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-10.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-4.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-7.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-11.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-6.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-data-class-7.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-neg-2.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-neg-3.c: Adjust.
+ * gcc.target/powerpc/bfp/scalar-test-neg-5.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-extract-exp-2.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-extract-exp-3.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-extract-sig-2.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-extract-sig-3.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-insert-exp-2.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-insert-exp-3.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-insert-exp-6.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-insert-exp-7.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-test-data-class-2.c: Adjust.
+ * gcc.target/powerpc/bfp/vec-test-data-class-3.c: Adjust.
+ * gcc.target/powerpc/byte-in-either-range-1.c: Adjust.
+ * gcc.target/powerpc/byte-in-range-1.c: Adjust.
+ * gcc.target/powerpc/byte-in-set-1.c: Adjust.
+ * gcc.target/powerpc/byte-in-set-2.c: Adjust.
+ * gcc.target/powerpc/cmpb-3.c: Adjust.
+ * gcc.target/powerpc/crypto-builtin-2.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-1.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-11.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-16.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-21.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-26.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-31.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-36.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-41.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-46.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-51.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-56.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-6.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-61.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-66.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-71.c: Adjust.
+ * gcc.target/powerpc/dfp/dtstsfi-76.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-all-nez-7.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-any-eqz-7.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-cmpnez-7.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xl-len-12.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xl-len-13.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xlx-7.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xrx-7.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xst-len-12.c: Adjust.
+ * gcc.target/powerpc/vsu/vec-xst-len-13.c: Adjust.
+
2019-07-13 Jakub Jelinek <jakub@redhat.com>
PR c/91149
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_eq (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_eq' requires" } */
+ return __builtin_vec_scalar_cmp_exp_eq (exponent1, exponent2); /* { dg-error "'__builtin_vsx_scalar_cmp_exp_dp_eq' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_gt (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_gt' requires" } */
+ return __builtin_vec_scalar_cmp_exp_gt (exponent1, exponent2); /* { dg-error "'__builtin_vsx_scalar_cmp_exp_dp_gt' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_lt (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_lt' requires" } */
+ return __builtin_vec_scalar_cmp_exp_lt (exponent1, exponent2); /* { dg-error "'__builtin_vsx_scalar_cmp_exp_dp_lt' requires" } */
}
double exponent1 = *exponent1_p;
double exponent2 = *exponent2_p;
- return __builtin_vec_scalar_cmp_exp_unordered (exponent1, exponent2); /* { dg-error "builtin function '__builtin_vsx_scalar_cmp_exp_dp_unordered' requires" } */
+ return __builtin_vec_scalar_cmp_exp_unordered (exponent1, exponent2); /* { dg-error "'__builtin_vsx_scalar_cmp_exp_dp_unordered' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_exp' requires" } */
+ return __builtin_vec_scalar_extract_exp (source); /* { dg-error "'__builtin_vsx_scalar_extract_exp' requires" } */
}
{
double source = *p;
- return scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_exp' not supported in this compiler configuration" } */
+ return scalar_extract_exp (source); /* { dg-error "'__builtin_vec_scalar_extract_exp' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_expq' requires" } */
+ return __builtin_vec_scalar_extract_exp (source); /* { dg-error "'__builtin_vsx_scalar_extract_expq' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_sig' requires" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "'__builtin_vsx_scalar_extract_sig' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vec_scalar_extract_sig' not supported in this compiler configuration" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "'__builtin_vec_scalar_extract_sig' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_scalar_extract_sigq' requires" } */
+ return __builtin_vec_scalar_extract_sig (source); /* { dg-error "'__builtin_vsx_scalar_extract_sigq' requires" } */
}
unsigned long long int significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp' requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vsx_scalar_insert_exp' requires" } */
}
__ieee128 significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_qp' requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vsx_scalar_insert_exp_qp' requires" } */
}
unsigned long long int significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
double significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_dp' requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vsx_scalar_insert_exp_dp' requires" } */
}
double significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
unsigned __int128 significand = *significand_p;
unsigned long long int exponent = *exponent_p;
- return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vsx_scalar_insert_exp_q' requires" } */
+ return __builtin_vec_scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vsx_scalar_insert_exp_q' requires" } */
}
unsigned __int128 significand = *significand_p; /* { dg-error "'__int128' is not supported on this target" } */
unsigned long long int exponent = *exponent_p;
- return scalar_insert_exp (significand, exponent); /* { dg-error "builtin function '__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
+ return scalar_insert_exp (significand, exponent); /* { dg-error "'__builtin_vec_scalar_insert_exp' not supported in this compiler configuration" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_qp' requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "'__builtin_vsx_scalar_test_data_class_qp' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_dp' requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "'__builtin_vsx_scalar_test_data_class_dp' requires" } */
}
{
float source = *p;
- return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "builtin function '__builtin_vsx_scalar_test_data_class_sp' requires" } */
+ return __builtin_vec_scalar_test_data_class (source, 3); /* { dg-error "'__builtin_vsx_scalar_test_data_class_sp' requires" } */
}
{
float source = *p;
- return __builtin_vec_scalar_test_neg_sp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_sp' requires" } */
+ return __builtin_vec_scalar_test_neg_sp (source); /* { dg-error "'__builtin_vsx_scalar_test_neg_sp' requires" } */
}
{
double source = *p;
- return __builtin_vec_scalar_test_neg_dp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_dp' requires" } */
+ return __builtin_vec_scalar_test_neg_dp (source); /* { dg-error "'__builtin_vsx_scalar_test_neg_dp' requires" } */
}
{
__ieee128 source = *p;
- return __builtin_vec_scalar_test_neg_qp (source); /* { dg-error "builtin function '__builtin_vsx_scalar_test_neg_qp' requires" } */
+ return __builtin_vec_scalar_test_neg_qp (source); /* { dg-error "'__builtin_vsx_scalar_test_neg_qp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_extract_exp_dp' requires" } */
+ return __builtin_vec_extract_exp (source); /* { dg-error "'__builtin_vsx_extract_exp_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_extract_exp (source); /* { dg-error "builtin function '__builtin_vsx_extract_exp_sp' requires" } */
+ return __builtin_vec_extract_exp (source); /* { dg-error "'__builtin_vsx_extract_exp_sp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_extract_sig_dp' requires" } */
+ return __builtin_vec_extract_sig (source); /* { dg-error "'__builtin_vsx_extract_sig_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_extract_sig (source); /* { dg-error "builtin function '__builtin_vsx_extract_sig_sp' requires" } */
+ return __builtin_vec_extract_sig (source); /* { dg-error "'__builtin_vsx_extract_sig_sp' requires" } */
}
__vector unsigned int significands = *significands_p;
__vector unsigned int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_sp' requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "'__builtin_vsx_insert_exp_sp' requires" } */
}
__vector unsigned long long int significands = *significands_p;
__vector unsigned long long int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_dp' requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "'__builtin_vsx_insert_exp_dp' requires" } */
}
__vector float significands = *significands_p;
__vector unsigned int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_sp' requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "'__builtin_vsx_insert_exp_sp' requires" } */
}
__vector double significands = *significands_p;
__vector unsigned long long int exponents = *exponents_p;
- return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "builtin function '__builtin_vsx_insert_exp_dp' requires" } */
+ return __builtin_vec_insert_exp (significands, exponents); /* { dg-error "'__builtin_vsx_insert_exp_dp' requires" } */
}
{
__vector double source = *p;
- return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function '__builtin_vsx_test_data_class_dp' requires" } */
+ return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "'__builtin_vsx_test_data_class_dp' requires" } */
}
{
__vector float source = *p;
- return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "builtin function '__builtin_vsx_test_data_class_sp' requires" } */
+ return __builtin_vec_test_data_class (source, 0x37); /* { dg-error "'__builtin_vsx_test_data_class_sp' requires" } */
}
range_encoding = ((first_hi_bound << 24) | (first_lo_bound << 16)
| (second_hi_bound << 8) | second_lo_bound);
- return __builtin_byte_in_either_range (b, range_encoding); /* { dg-error "builtin function '__builtin_scalar_byte_in_either_range' requires" } */
+ return __builtin_byte_in_either_range (b, range_encoding); /* { dg-error "'__builtin_scalar_byte_in_either_range' requires" } */
}
unsigned char low_range, unsigned char high_range)
{
unsigned int range_encoding = (high_range << 8) | low_range;
- return __builtin_byte_in_range (b, range_encoding); /* { dg-error "builtin function '__builtin_scalar_byte_in_range' requires" } */
+ return __builtin_byte_in_range (b, range_encoding); /* { dg-error "'__builtin_scalar_byte_in_range' requires" } */
}
int
test_byte_in_set (unsigned char b, unsigned long long set_members)
{
- return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function '__builtin_scalar_byte_in_set' requires" } */
+ return __builtin_byte_in_set (b, set_members); /* { dg-error "'__builtin_scalar_byte_in_set' requires" } */
}
int
test_byte_in_set (unsigned char b, unsigned long long set_members)
{
- return __builtin_byte_in_set (b, set_members); /* { dg-error "builtin function '__builtin_byte_in_set' not supported in this compiler configuration" } */
+ return __builtin_byte_in_set (b, set_members); /* { dg-error "'__builtin_byte_in_set' not supported in this compiler configuration" } */
}
long long int
do_compare (long long int a, long long int b)
{
- return __builtin_cmpb (a, b); /* { dg-error "builtin function '__builtin_cmpb' not supported in this compiler configuration" } */
+ return __builtin_cmpb (a, b); /* { dg-error "'__builtin_cmpb' not supported in this compiler configuration" } */
}
void expect (long long int pattern, long long int value)
void use_builtins_d (__vector unsigned long long *p, __vector unsigned long long *q, __vector unsigned long long *r, __vector unsigned long long *s)
{
- p[0] = __builtin_crypto_vcipher (q[0], r[0]); /* { dg-error "builtin function '__builtin_crypto_vcipher' is not supported with the current options" } */
- p[1] = __builtin_crypto_vcipherlast (q[1], r[1]); /* { dg-error "builtin function '__builtin_crypto_vcipherlast' is not supported with the current options" } */
- p[2] = __builtin_crypto_vncipher (q[2], r[2]); /* { dg-error "builtin function '__builtin_crypto_vncipher' is not supported with the current options" } */
- p[3] = __builtin_crypto_vncipherlast (q[3], r[3]); /* { dg-error "builtin function '__builtin_crypto_vncipherlast' is not supported with the current options" } */
+ p[0] = __builtin_crypto_vcipher (q[0], r[0]); /* { dg-error "'__builtin_crypto_vcipher' is not supported with the current options" } */
+ p[1] = __builtin_crypto_vcipherlast (q[1], r[1]); /* { dg-error "'__builtin_crypto_vcipherlast' is not supported with the current options" } */
+ p[2] = __builtin_crypto_vncipher (q[2], r[2]); /* { dg-error "'__builtin_crypto_vncipher' is not supported with the current options" } */
+ p[3] = __builtin_crypto_vncipherlast (q[3], r[3]); /* { dg-error "'__builtin_crypto_vncipherlast' is not supported with the current options" } */
p[4] = __builtin_crypto_vpermxor (q[4], r[4], s[4]);
p[5] = __builtin_crypto_vpmsumd (q[5], r[5]);
- p[6] = __builtin_crypto_vshasigmad (q[6], 1, 15); /* { dg-error "builtin function '__builtin_crypto_vshasigmad' is not supported with the current options" } */
- p[7] = __builtin_crypto_vsbox (q[7]); /* { dg-error "builtin function '__builtin_crypto_vsbox' is not supported with the current options" } */
+ p[6] = __builtin_crypto_vshasigmad (q[6], 1, 15); /* { dg-error "'__builtin_crypto_vshasigmad' is not supported with the current options" } */
+ p[7] = __builtin_crypto_vsbox (q[7]); /* { dg-error "'__builtin_crypto_vsbox' is not supported with the current options" } */
}
void use_builtins_w (__vector unsigned int *p, __vector unsigned int *q, __vector unsigned int *r, __vector unsigned int *s)
{
p[0] = __builtin_crypto_vpermxor (q[0], r[0], s[0]);
p[1] = __builtin_crypto_vpmsumw (q[1], r[1]);
- p[2] = __builtin_crypto_vshasigmaw (q[2], 1, 15); /* { dg-error "builtin function '__builtin_crypto_vshasigmaw' is not supported with the current options" } */
+ p[2] = __builtin_crypto_vshasigmaw (q[2], 1, 15); /* { dg-error "'__builtin_crypto_vshasigmaw' is not supported with the current options" } */
}
void use_builtins_h (__vector unsigned short *p, __vector unsigned short *q, __vector unsigned short *r, __vector unsigned short *s)
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_dd' requires" } */
+ return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "'__builtin_dtstsfi_lt_dd' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_lt_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_dd' requires" } */
+ return __builtin_dfp_dtstsfi_lt_dd (5, source); /* { dg-error "'__builtin_dtstsfi_lt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_lt_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_td' requires" } */
+ return __builtin_dfp_dtstsfi_lt_td (5, source); /* { dg-error "'__builtin_dtstsfi_lt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_dd' requires" } */
+ return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "'__builtin_dtstsfi_gt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_td' requires" } */
+ return __builtin_dfp_dtstsfi_gt (5, source); /* { dg-error "'__builtin_dtstsfi_gt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_gt_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_dd' requires" } */
+ return __builtin_dfp_dtstsfi_gt_dd (5, source); /* { dg-error "'__builtin_dtstsfi_gt_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_gt_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_gt_td' requires" } */
+ return __builtin_dfp_dtstsfi_gt_td (5, source); /* { dg-error "'__builtin_dtstsfi_gt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_dd' requires" } */
+ return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "'__builtin_dtstsfi_eq_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_td' requires" } */
+ return __builtin_dfp_dtstsfi_eq (5, source); /* { dg-error "'__builtin_dtstsfi_eq_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_eq_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_dd' requires" } */
+ return __builtin_dfp_dtstsfi_eq_dd (5, source); /* { dg-error "'__builtin_dtstsfi_eq_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_eq_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_eq_td' requires" } */
+ return __builtin_dfp_dtstsfi_eq_td (5, source); /* { dg-error "'__builtin_dtstsfi_eq_td' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_lt_td' requires" } */
+ return __builtin_dfp_dtstsfi_lt (5, source); /* { dg-error "'__builtin_dtstsfi_lt_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_dd' requires" } */
+ return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "'__builtin_dtstsfi_ov_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_td' requires" } */
+ return __builtin_dfp_dtstsfi_ov (5, source); /* { dg-error "'__builtin_dtstsfi_ov_td' requires" } */
}
{
_Decimal64 source = *p;
- return __builtin_dfp_dtstsfi_ov_dd (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_dd' requires" } */
+ return __builtin_dfp_dtstsfi_ov_dd (5, source); /* { dg-error "'__builtin_dtstsfi_ov_dd' requires" } */
}
{
_Decimal128 source = *p;
- return __builtin_dfp_dtstsfi_ov_td (5, source); /* { dg-error "builtin function '__builtin_dtstsfi_ov_td' requires" } */
+ return __builtin_dfp_dtstsfi_ov_td (5, source); /* { dg-error "'__builtin_dtstsfi_ov_td' requires" } */
}
vector unsigned short arg_1 = *arg1_p;
vector unsigned short arg_2 = *arg2_p;
- return __builtin_vec_vcmpnez_p (__CR6_LT, arg_1, arg_2); /* { dg-error "builtin function '__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
+ return __builtin_vec_vcmpnez_p (__CR6_LT, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
}
vector unsigned int arg_1 = *arg1_p;
vector unsigned int arg_2 = *arg2_p;
- return __builtin_vec_vcmpnez_p (__CR6_LT_REV, arg_1, arg_2); /* { dg-error "builtin function '__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
+ return __builtin_vec_vcmpnez_p (__CR6_LT_REV, arg_1, arg_2); /* { dg-error "'__builtin_vec_vcmpnez_p' not supported in this compiler configuration" } */
}
vector unsigned int arg_1 = *arg1_p;
vector unsigned int arg_2 = *arg2_p;
- return __builtin_vec_vcmpnez (arg_1, arg_2); /* { dg-error "builtin function '__builtin_altivec_vcmpnezw' requires the '-mcpu=power9' option" } */
+ return __builtin_vec_vcmpnez (arg_1, arg_2); /* { dg-error "'__builtin_altivec_vcmpnezw' requires the '-mcpu=power9' option" } */
}
{
vector unsigned char arg_1 = *arg1_p;
- return __builtin_vec_vclzlsbb (arg_1); /* { dg-error "builtin function '__builtin_altivec_vclzlsbb_v16qi' requires the '-mcpu=power9' option" } */
+ return __builtin_vec_vclzlsbb (arg_1); /* { dg-error "'__builtin_altivec_vclzlsbb_v16qi' requires the '-mcpu=power9' option" } */
}
{
vector unsigned char arg_1 = *arg1_p;
- return __builtin_vec_vctzlsbb (arg_1); /* { dg-error "builtin function '__builtin_altivec_vctzlsbb_v16qi' requires the '-mcpu=power9' option" } */
+ return __builtin_vec_vctzlsbb (arg_1); /* { dg-error "'__builtin_altivec_vctzlsbb_v16qi' requires the '-mcpu=power9' option" } */
}
__vector float
fetch_data (float *address, size_t length)
{
- return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function '__builtin_vsx_lxvl' requires" } */
+ return __builtin_vec_lxvl (address, length); /* { dg-error "'__builtin_vsx_lxvl' requires" } */
}
__vector float
fetch_data (float *address, size_t length)
{
- return __builtin_vec_lxvl (address, length); /* { dg-error "builtin function '__builtin_vec_lxvl' not supported in this compiler configuration" } */
+ return __builtin_vec_lxvl (address, length); /* { dg-error "'__builtin_vec_lxvl' not supported in this compiler configuration" } */
}
{
vector signed int data = *datap;
- return __builtin_vec_vextulx (offset, data); /* { dg-error "builtin function '__builtin_altivec_vextuwlx' requires" } */
+ return __builtin_vec_vextulx (offset, data); /* { dg-error "'__builtin_altivec_vextuwlx' requires" } */
}
{
vector signed short data = *datap;
- return __builtin_vec_vexturx (offset, data); /* { dg-error "builtin function '__builtin_altivec_vextuhrx' requires" } */
+ return __builtin_vec_vexturx (offset, data); /* { dg-error "'__builtin_altivec_vextuhrx' requires" } */
}
{
vector double data = *datap;
- __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function '__builtin_vec_stxvl' not supported in this compiler configuration" } */
+ __builtin_vec_stxvl (data, address, length); /* { dg-error "'__builtin_vec_stxvl' not supported in this compiler configuration" } */
}
{
vector double data = *datap;
- __builtin_vec_stxvl (data, address, length); /* { dg-error "builtin function '__builtin_altivec_stxvl' requires" } */
+ __builtin_vec_stxvl (data, address, length); /* { dg-error "'__builtin_altivec_stxvl' requires" } */
}