On 10/26/19 1:33 PM, Andrew Waterman wrote: > I don't know enough to say whether the legitimize_address hook is > sufficient for the intended purpose, but I am sure that RISC-V's > concerns are not unique: other GCC targets have to cope with > offset-size constraints that are coupled to register-allocation > constraints. Yup. I think every risc port in the 90s faces this problem. I always wished for a generic mechanism for ports to handle this problem.
Regardless, it's probably worth investigating. jeff