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." > > (and (match_code "const_double") > > (match_test "num_insns_constant (op, mode) > > == (mode == SFmode ? 1 : 2)"))) > > The code does 2 for SDmode, the comment says 1. Which is correct?
The comment is correct. I'll fix the code to do "mode == SFmode || mode == SDmode". -- Alan Modra Australia Development Lab, IBM