Ping^6 [PATCH] add rlwinm pattern for DImode for constant building

2024-08-05 Thread Jiufu Guo
Hi, Gentle ping... BR, Jeff(Jiufu) Guo Jiufu Guo writes: > Hi, > > Gentle ping... > > BR, > Jeff(Jiufu) Guo > > Jiufu Guo writes: > >> Hi, >> >> Gentle ping. >> >> BR, >> Jeff(Jiufu) Guo >> >> Jiufu Guo writes: >> >>> Hi, >>> >>> Gentle ping ... >>> >>> Jiufu Guo writes: >>> Hi,

Ping^5 [PATCH] add rlwinm pattern for DImode for constant building

2024-07-10 Thread Jiufu Guo
Hi, Gentle ping... BR, Jeff(Jiufu) Guo Jiufu Guo writes: > Hi, > > Gentle ping. > > BR, > Jeff(Jiufu) Guo > > Jiufu Guo writes: > >> Hi, >> >> Gentle ping ... >> >> Jiufu Guo writes: >> >>> Hi, >>> >>> Gentle ping ... >>> >>> BR, >>> Jeff(Jiufu) Guo >>> >>> Jiufu Guo writes: >>> Hi,

Ping^3 [PATCH] add rlwinm pattern for DImode for constant building

2024-06-20 Thread Jiufu Guo
Hi, Gentle ping. BR, Jeff(Jiufu) Guo Jiufu Guo writes: > Hi, > > Gentle ping ... > > Jiufu Guo writes: > >> Hi, >> >> Gentle ping ... >> >> BR, >> Jeff(Jiufu) Guo >> >> Jiufu Guo writes: >> >>> Hi, >>> >>> 'rlwinm' pattern is already well used for SImode. As this instruction >>> can touch

Re: [PATCH] add rlwinm pattern for DImode for constant building

2024-06-05 Thread Jiufu Guo
Hi, Gentle ping ... Jiufu Guo writes: > Hi, > > Gentle ping ... > > BR, > Jeff(Jiufu) Guo > > Jiufu Guo writes: > >> Hi, >> >> 'rlwinm' pattern is already well used for SImode. As this instruction >> can touch the whole 64bit register, so some constants in 64bit(DImode) >> can be built via

Re: [PATCH] add rlwinm pattern for DImode for constant building

2024-05-16 Thread Jiufu Guo
Hi, Gentle ping ... BR, Jeff(Jiufu) Guo Jiufu Guo writes: > Hi, > > 'rlwinm' pattern is already well used for SImode. As this instruction > can touch the whole 64bit register, so some constants in 64bit(DImode) > can be built via 'lis/li+rlwinm'. To achieve this, a new pattern for > 'rlwin

[PATCH] add rlwinm pattern for DImode for constant building

2024-04-21 Thread Jiufu Guo
Hi, 'rlwinm' pattern is already well used for SImode. As this instruction can touch the whole 64bit register, so some constants in 64bit(DImode) can be built via 'lis/li+rlwinm'. To achieve this, a new pattern for 'rlwinm' is added, and 'rs6000_emit_set_long_const' is updated to check if a const