"Kewen.Lin" writes:
> Hi!
>
>> +
>> + /* Use paddi for the low 32 bits. */
>> + if (ud2 != 0 && ud1 != 0 && can_use_paddi)
>> +emit_move_insn (dest, gen_rtx_PLUS (DImode, dest,
>> +GEN_INT ((ud2 << 16) | ud1)));
>> +
>> + /* Use
Segher Boessenkool writes:
> Hi!
>
> On Tue, Sep 06, 2022 at 08:27:56PM +0800, Jiufu Guo wrote:
>> + if (can_create_pseudo_p ())
>> +{
>> + /* pli A,H + pli B,L + rldimi A,B,32,0. */
>
> A is the low one and B is the high one (the one that needs to be
> shifted). rl[wd]imi is one
Hi!
> +
> + /* Use paddi for the low 32 bits. */
> + if (ud2 != 0 && ud1 != 0 && can_use_paddi)
> + emit_move_insn (dest, gen_rtx_PLUS (DImode, dest,
> + GEN_INT ((ud2 << 16) | ud1)));
> +
> + /* Use oris, ori for low 32 bits.
Hi!
On Tue, Sep 06, 2022 at 08:27:56PM +0800, Jiufu Guo wrote:
> + if (can_create_pseudo_p ())
> + {
> + /* pli A,H + pli B,L + rldimi A,B,32,0. */
A is the low one and B is the high one (the one that needs to be
shifted). rl[wd]imi is one of our very few insns that has the outpu