Laurence J. Lane wrote:
> You gave input on patch against libast to fix this some years ago.
> The code changed slightly.
> 
> I'm rather clueless about the patch and have no 64-bit system to
> test with. Can you patch and test it?
> 
[snipped old patch]

> Here's the new code in libast 0.7:
> 
>  /* Fast memset() macro contributed by vendu */
>  #if !defined(SIZEOF_LONG) || (SIZEOF_LONG == 8)
>  /** UNDOCUMENTED */
>  # define MEMSET_LONG() (l |= l<<32)
>  #else
>  /** UNDOCUMENTED */
>  # define MEMSET_LONG() NOP
>  #endif

The new libast code actually fixes it on 64bit arches. I can confirm
that this bug is fixed with Eterm 0.9.4 from your homepage, and I
suspect that it is fixed in the current version also. Unless I'm
mistaken though that might be generating useless code on i386, although
gcc should be smart enough to drop the redundant bits I'd hope.

Alan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to