Re: alignment on powerpc

Etienne Gagnon <[email protected]> Wed, 03 May 2006 09:23:18 -0400
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0702163084==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enigCC5E5BB467EA8789E8559096"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCC5E5BB467EA8789E8559096
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Interesting...  On my PowerBook G4, running Debian, I get:

$ gcc test.c

$ ./a.out
alignment = 8

$ uname -a
Linux gandalf 2.6.15.2 #1 Tue Jan 31 02:08:54 PST 2006 ppc GNU/Linux

$ cat /proc/cpuinfo
processor       : 0
cpu             : 7455, altivec supported
clock           : 1000MHz
revision        : 0.2 (pvr 8001 0302)
bogomips        : 997.90
machine         : PowerBook3,5
motherboard     : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as     : 80 (PowerBook Titanium IV)
pmac flags      : 0000001b
L2 cache        : 256K unified
memory          : 1024MB
pmac-generation : NewWorld

Etienne

Chris Pickett wrote:
>>The program you copied is not the same as the one in system.h.  Can you
>>run the program in system.h, first?
> 
> Yes, I've done that now, and I still get alignment = 4.

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

--------------enigCC5E5BB467EA8789E8559096
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEWK7GjyrJi4rH84gRAsyVAJ9cU/bN7Z21V/cR1AaJ5q+18tJn9QCgg8IN
PR9mT+nzAPzZF6JW4TNGmKg=
=hLLk
-----END PGP SIGNATURE-----

--------------enigCC5E5BB467EA8789E8559096--


--===============0702163084==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SableVM-devel mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-devel

--===============0702163084==--