public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Restrictive addressing mode
@ 2009-08-11 13:49 Mohamed Shafi
  0 siblings, 0 replies; only message in thread
From: Mohamed Shafi @ 2009-08-11 13:49 UTC (permalink / raw)
  To: GCC

Hello all,

I am trying to port a 32bit target in GCC 4.4.0
Of the addressing modes that are allowed by my target the one with
(base register + offset) is restrictive in QImode.
The restriction is that if the base register is not Stack Pointer then
this kind of address cannot come in a load instruction but only in
store instruction. So how can i implement this? Should i do a
define_expand for movQi3 and force it to a register when i get this
addressing mode?

Please let me know your thoughts on this.

Regards,
shafi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-11  4:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11 13:49 Restrictive addressing mode Mohamed Shafi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).