Re: [PATCH 01/20] tcg/optimize: Fix folding of vector ops

2021-12-19 Thread Philippe Mathieu-Daudé
On 12/18/21 20:42, Richard Henderson wrote: > Bitwise operations are easy to fold, because the operation is > identical regardess of element size. But add and sub need Typo "regardless". > extra element size info that is not currently propagated. > > Fixes: 2f9f08ba43d > Signed-off-by: Richard

[PATCH 01/20] tcg/optimize: Fix folding of vector ops

2021-12-18 Thread Richard Henderson
Bitwise operations are easy to fold, because the operation is identical regardess of element size. But add and sub need extra element size info that is not currently propagated. Fixes: 2f9f08ba43d Signed-off-by: Richard Henderson --- tcg/optimize.c | 49 ++---