The widen-mul removed the unnecessary cast, thus adjust the
SAT_MUL of wide-mul to a simpler form.
gcc/ChangeLog:
* match.pd: Remove unnecessary cast of unsigned
SAT_MUL for widen-mul.
Signed-off-by: Pan Li <pan2.li@intel.com>
return (T)x;
}
while WT is uint128_t, T is uint8_t, uint16_t, uint32_t or uint64_t. */
- (convert (min (widen_mult:c@3 (convert@4 (convert @0))
- (convert@5 (convert @1)))
+ (convert (min (widen_mult:c@3 (convert@4 @0)
+ (convert@5 @1))
INTEGER_CST@2))
(if (types_match (type, @0, @1))
(with