I’m working on a GCC 8.3 port to a load/store architecture with a 32-bit 
data-path between registers and memory;  

looking at the gcc.dg/loop-9.c test, I fail to pass because I have split the 
move of a double constant to memory into multiple moves (4 in fact, because I 
only have a 16-bit immediate mode.)

The (define_insn_and_split “movdf” …) is conditioned on “reload_completed”.

Is there some other trick I need get the constant hoisted.  I have already set 
the rtx cost of the CONST_DOUBLE ridiculously high (like 10 insns)


Alan Lehotsky
https://codegentllc.com



Reply via email to