x86_64 was introduced less than 10 years ago. It is likely that the
assumptions you made then were valid then. Note that on 32 bit
machines you only need 4 byte alignment. It is only the x86_64 ABI
which requires alignment to 8 bytes.

Bill.

2009/12/21 Dan Grayson <d...@math.uiuc.edu>:
> The memory allocator provided with Singular-Factory is in the file
> libcfmem.a, and the routines are called getBlock, freeBlock, and
> reallocBlock.  I copied the routines more than 10 years ago and
> continue to use the modified copy.  I may even have destroyed 8 byte
> alignment then while optimizing it for speed and not noticed it until
> now.  I will fix it by aligning to something like sizeof(void *).  Is
> that good enough?
>
> On Dec 10, 4:23 pm, Bill Hart <goodwillh...@googlemail.com> wrote:
>> By the way, which allocator was it? I did not know about the Singular
>> one and had assumed it was Boehm.
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "mpir-devel" group.
> To post to this group, send email to mpir-de...@googlegroups.com.
> To unsubscribe from this group, send email to 
> mpir-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/mpir-devel?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.


Reply via email to