https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655
--- Comment #3 from rsandifo at gcc dot gnu.org
---
Maybe we could check in vect_determine_min_output_precision_1
whether the result is used as a shift amount, and if so do:
precision = MAX (precision, use_stmt_info->min_output_precision);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655
--- Comment #2 from Richard Biener ---
"Fixed" source (MULWU), side-stepping GENERIC folding/narrowing of the
subtract:
inline uint64_t MULWU(uint64_t k, uint64_t m)
{
unsigned long xyz = BITS-m;
return (( (k)<<(m) & M61) + ( (k) >> (xyz))
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92655
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|