Re: [PATCH] Fix REG_EQUAL notes for doubleword POPCOUNT etc. unops (PR target/88905)

2019-01-22 Thread Richard Biener
On Mon, 21 Jan 2019, Jakub Jelinek wrote: > Hi! > > add_equal_note has special code to handle properly doubleword POPCOUNT and > similar builtins, e.g. for POPCOUNT if we don't have DImode POPCOUNT, it can > be expanded as 2 SImode POPCOUNTs added together, but for the REG_EQUAL note > we want lo

[PATCH] Fix REG_EQUAL notes for doubleword POPCOUNT etc. unops (PR target/88905)

2019-01-21 Thread Jakub Jelinek
Hi! add_equal_note has special code to handle properly doubleword POPCOUNT and similar builtins, e.g. for POPCOUNT if we don't have DImode POPCOUNT, it can be expanded as 2 SImode POPCOUNTs added together, but for the REG_EQUAL note we want lowpart SImode SUBREG of DImode POPCOUNT. Unfortunately,