[Mono-list] Problems with arrays over 4gb on 64 bit Itanium
Dallman, John
john.dallman at siemens.com
Wed Dec 10 08:35:27 EST 2008
> Thanks for the idea Alan but the big array switch is for array index
> size over 32bit. In my case the index is smaller (factor 8 because I
> use double) but the memory the array data covers exceeds 4gb and that
> raises the problem.
Try it anyway. On a byte-addressed machine like Itanium, using an
integer as an index for an array of doubles will result in the
integer being multiplied by eight before it's added to the base
address of the array. So the addressing will actually be in terms
of bytes. And the big array switch could well be documented in
terms of the memory being addressed, which is what really matters.
--
John Dallman
Parasolid Porting Engineer
More information about the Mono-list
mailing list