Re: [RS6000] "G" and "H" constraints

2018-11-28 Thread Alan Modra
On Wed, Nov 28, 2018 at 11:55:21AM -0600, Segher Boessenkool wrote: > > (define_constraint "G" > > - "Constant that can be copied into GPR with two insns for DF/DI > > - and one for SF." > > + "Constant that can be copied into GPR with two insns for DF/DD > > + and one for SF/SD." > >(an

Re: [RS6000] "G" and "H" constraints

2018-11-28 Thread Segher Boessenkool
Hi! On Sun, Nov 25, 2018 at 10:44:00PM +1030, Alan Modra wrote: > The patch fixes two cases where the "G" and "H" constraints were used > incorrectly. Their purpose is calculating insn lengths. Thus it > never makes sense to put "GH" together or with "F" in an insn > alternative. > > movdi_inte

[RS6000] "G" and "H" constraints

2018-11-25 Thread Alan Modra
The patch fixes two cases where the "G" and "H" constraints were used incorrectly. Their purpose is calculating insn lengths. Thus it never makes sense to put "GH" together or with "F" in an insn alternative. movdi_internal32 used "GHF" in an alternative so I replaced that with "F", and added le