-=| Nobuhiro Iwamatsu, Fri, Sep 11, 2009 at 04:12:13PM +0900 |=-
> 2009/9/10 Damyan Ivanov <d...@debian.org>:
> > I am attaching a program that I use to check various hardware 
> > details,
> > like pointer size and such. It is compiled with simple "g++
> > archtests.cpp -o archtests". If it runs fine on sh4, then unaligned
> > access is OK. If you get bus error or similar, unaligned access is
> > prohibited.
> >
> 
> Thank you.
> sh4 can not unaligned access is NG in float, double and long double.
> Does sh4 need define RISC_ALIGNMENT?

It seems so.

I have a prreliminary patch to upstream CVS HEAD prepared, that 
depends on the patch for s390 port. As soon as upstream commits the 
s390 part, I'll post sh4 port patch there, including RISC_ALIGNMENT.

It would be nice to be able to test the build before sending the patch 
upstream. Can you provide me access to sh4 hardware? Alternatively 
I can send you a tarball (or URL of a tarball) for you to try building 
it.

-- 
dam

Attachment: signature.asc
Description: Digital signature

Reply via email to