"Balaji V. Iyer" <[EMAIL PROTECTED]> writes: > I have a question about finding register names from the instruction. > I am porting GCC for a propriatery architecture and the thing is that, > I want to group instructions whose destination registers are between > 0-15 into one cluster and 16-31 in another. Firstly, I was under the > impression that the only way I can do this is in the machine_dependent > reorganization phase? Is there another way to do this?
Yes, in general you can only do VLIW instruction grouping in the machine dependent reorganization phase, or in TARGET_ASM_FUNCTION_PROLOGUE just before the final pass. > Also, how can I extract destination register information from the > instruction? One way is to call note_stores and look for registers being changed. Ian