Ayonam Ray <ayonam@xxxxxxxxx> writes: > The problem that I face with this is that post reload, in the CSE and > combine passes, it looks like generating this instruction but is > unable to allocate the scratch registers (as expected). Hence it > fails while trying to match the constraints in post CSE (in function > reload_cse_simplify_operands). The scratches do not match the 'r' > constraint and hence fail. How do I prevent it from generating this > instruction post-reload? Or is there some other solution to it? Look at the target hook TARGET_SECONDARY_RELOAD. Ian