> Let's say I have an RTL X with destination register R1, But if I > want to schedule this RTL to Class2. What can I do? I see that GCC > doesn't change the register number if it already holds a hard-register.
Use constraints. They are described in md.texi.