Re: [PATCH] middle-end: Recognize/canonicalize MULT_HIGHPART_EXPR and expand it.

2020-09-01 Thread Richard Biener via Gcc-patches
On Tue, Aug 4, 2020 at 2:18 PM Roger Sayle wrote: > > > This middle-end patch teaches fold/match to recognize the idiom for > a highpart multiplication and represent it internally as a > MULT_HIGHPART_EXPR tree code. At RTL expansion time, the compiler > will trying using an appropriate instructi

[PATCH] middle-end: Recognize/canonicalize MULT_HIGHPART_EXPR and expand it.

2020-08-04 Thread Roger Sayle
This middle-end patch teaches fold/match to recognize the idiom for a highpart multiplication and represent it internally as a MULT_HIGHPART_EXPR tree code. At RTL expansion time, the compiler will trying using an appropriate instruction (sequence) provided by the backend, but if that fails, this