This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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]

Re: [PATCH]: update to df for mainline.


Kenneth Zadeck wrote:

Is this correct, and if it is not what is wrong with it.

I hesitate to review pseudo code, given how ambiguous some of the terms are... I can only repeat, have a look at flow.c's mark_set_1, case SUBREG. I believe it handles everything you need to know.


if (single word register)

For a suitable definition of "single word register". Pseudos and hard regs likely will require separate treatment.


if (set is of a subreg of the mw register)

Only if it really is a _sub_register. You could also get (subreg:DF (reg:DI x)), which really is mode-punning, rather than a partial access.



Bernd



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]