On Aug 9, 2012, at 8:19 AM, Michael Matz wrote: > Hmm. And maintaining a cache is faster than > passing/returning/manipulating two registers?
For the most part, we merely mirror existing code, check out lookup_const_double and immed_double_const. If the existing code is wrong, love to have someone fix it. :-) Also, bear in mind, on a port with with OImode math for example, on a 32-bit host, it would be 8 registers...