This is the mail archive of the gcc@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: problem with subregs.


Tal Agmon wrote:
2. Allowing changing SImode to HImode but with some additional move and
scratch regs.
(reload_in and reload_out did not helped in that because they effects only
moves so they will
not work in the case described here).

Reload should do this for you already.


Note that what reload does is emit move instructions in order to make the result valid, and thus reload_in/reload_out work in all cases, because they are for the move instruction that reload emits.

Look at the reloads generated for the problematic instruction, and make sure that they are right. debug_reload() will print them. Also, they are in the greg dump, but this assumes reload gets far enough to emit the data to the dump file.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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