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: disallow movm in a register class


EggenmÃller Bernd <egge-b@gmx.de> writes:

> how can I disallow the mov operation for a register class.
> Can someone help me?

Please do not start a new thread by replying to an existing message.
That hides your message for all of us who use threaded e-mail readers.

If there is some mode which can be stored in both register classes,
then gcc requires that you provide a way to move values between those
registers.  So you can't really disallow it.  You could disallow
direct moves between the register classes if you like; you can do that
by setting REGISTER_MOVE_COST for the modes and by providing secondary
reloads to actually move the values.

Ian


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