Re: [PATCH][ARM] Refactor MOVW/MOVT fusion logic to allow extension

2016-08-26 Thread Richard Earnshaw (lists)
On 24/08/16 16:26, Kyrill Tkachov wrote: > Hi all, > > If we want to add more macro fusion cases in the arm backend we need to > rework the aarch_macro_fusion_pair_p a bit > to not return early during the MOVW/MOVT fusion checks. This simple > patch does that by adding a helper function > that ca

[PATCH][ARM] Refactor MOVW/MOVT fusion logic to allow extension

2016-08-24 Thread Kyrill Tkachov
Hi all, If we want to add more macro fusion cases in the arm backend we need to rework the aarch_macro_fusion_pair_p a bit to not return early during the MOVW/MOVT fusion checks. This simple patch does that by adding a helper function that can be called with the two sets to check if they satis