From: Andreas Krebbel Date: Wed, 2 Dec 2015 07:57:24 +0000 (+0000) Subject: S/390: Fix RT flag in vstrc instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1fae80e0492a4d2fec38042ce9032b1ced36098;p=gcc.git S/390: Fix RT flag in vstrc instruction. gcc/ChangeLog: 2015-12-02 Andreas Krebbel * config/s390/s390-c.c (s390_get_vstring_flags): Invert the condition for the RT flag. From-SVN: r231155 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5b4fdab3d3..6101c629771 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-12-02 Andreas Krebbel + + * config/s390/s390-c.c (s390_get_vstring_flags): Invert the + condition for the RT flag. + 2015-12-02 Andreas Krebbel * config/s390/constraints.md ("jKK"): New constraint. diff --git a/gcc/config/s390/s390-c.c b/gcc/config/s390/s390-c.c index a94eda54c9f..fa69ed31fe5 100644 --- a/gcc/config/s390/s390-c.c +++ b/gcc/config/s390/s390-c.c @@ -414,22 +414,14 @@ s390_get_vstring_flags (int ob_fcode) switch (ob_fcode) { - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq_or_0_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne_or_0_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq_or_0_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne_or_0_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_cmprg_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_cmprg_or_0_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg_or_0_idx: - case S390_OVERLOADED_BUILTIN_s390_vec_cmprg_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_cmprg_or_0_idx_cc: - case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg_or_0_idx_cc: + case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq: + case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne: + case S390_OVERLOADED_BUILTIN_s390_vec_find_any_eq_cc: + case S390_OVERLOADED_BUILTIN_s390_vec_find_any_ne_cc: + case S390_OVERLOADED_BUILTIN_s390_vec_cmprg: + case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg: + case S390_OVERLOADED_BUILTIN_s390_vec_cmprg_cc: + case S390_OVERLOADED_BUILTIN_s390_vec_cmpnrg_cc: flags |= __VSTRING_FLAG_RT; break; default: