Ian Lance Taylor - Re: Extracting destination register from an instruction (original) (raw)
This is the mail archive of the gcc@gcc.gnu.orgmailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] |
- From: Ian Lance Taylor
- To: "Balaji V. Iyer"
- Cc: gcc at gcc dot gnu dot org
- Date: 16 Nov 2005 07:01:37 -0800
- Subject: Re: Extracting destination register from an instruction
- References: <57491.24.163.112.200.1132119165.squirrel@webmail.ncsu.edu>
"Balaji V. Iyer" bviyer@ncsu.edu 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
- References:
- Extracting destination register from an instruction
* From: Balaji V. Iyer
- Extracting destination register from an instruction
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |