This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] - Use of powerpc 64bit instructions in 32bit ABI


> 	Any suggestion for the sanity checks you think would be
> appropriate?

I'd say:
(1) check that the size is not greater than a word,
(2) check that the rtx returned by gen_reg_rtx is really a REG,
(3) ideally, it would be nice to have a bit more control over the insns 
emitted for the move, because it appears that emit_group_store can really do 
scary things :-)  But I don't know if this is really doable.

That said, the code may have been added for a specific pattern so the 
suggestions above may of course be totally void.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]