m68k MacOS target support?

Toon Moene toon@moene.indiv.nluug.nl
Tue Sep 12 11:48:00 GMT 2000


Mark Mitchell wrote:

> if there are other architectures that have similarly unusual pointer
> formats.  (I don't know whether there are such beasts or not,
> honestly).

It looks suspiciously like the Cray (Parallel Vector, i.e. Cray Classic)
character pointer format.

The word (64 bits) address is in the lower 32 bits of the pointer and
the bit offset within the word is in the upper 6 bits of the pointer.

[ With this information at hand, estimate the number of instructions
necessary to encode the loop body in:

f(char *s, char *t)
{
	while (*s++ = *t++)
		;
}

given only word sized loads, stores and shifts. Use of a slide rule is
permitted. ]

HTH,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


More information about the Gcc mailing list