This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
alpha nobwx movqi/hi question
- From: Spundun Bhatt <spundun at ISI dot EDU>
- To: gcc at gcc dot gnu dot org
- Date: 06 Feb 2003 11:12:10 -0800
- Subject: alpha nobwx movqi/hi question
- Organization:
Hi
I have a question about the implementation of movqi and movhi in alpha.
In alpha.c the finction alpha_expand_mov_nobwx there is a condition
check whether the memory access is aligned or not. My problem is, I
cantthink of places where the memory address will not be algned. I
thoght since the compiler is generating code, all the memory accesses
would automatically be aligned because compiler will aliign the stack
and data structures that way.
Just in case you are wondering why I am insterestedin this. I am porting
gcc for a new architecture, I have taken powerpc config files as a
template because theres a resemblence, but the architecture has only
4byte memory accesses, so I asked a question on this list in november
and somebody suggested me to take a look at code for alpha without bwx.
So I am trying to understand this code and inject it into the powerpc
files. I also have confusions about the reload part.. but I cant even
phrase my questions on that yet, may be later.
Thanx
Spundun