[Openmcl-devel] M1
Gary Palter
palter at clozure.com
Mon Feb 21 04:50:20 PST 2022
Yes, it’s running through Rosetta 2 but there’s one serious flaw. CCL relies on the hardware to signal exceptions for illegal numeric operations but Rosetta 2 doesn’t emulate the exception mechanism. For example,
(/ 1.0d0 0.0d0)
doesn’t signal DIVISION-BY-ZERO but instead returns a float infinity value.
If you were to run the ANSI test suite, there are dozens of failures in float, bignum, and rational arithmetic.
In other words, if you’re application is heavily reliant on math, CCL is not reliable on Apple silicon.
- Gary Palter
Clozure Associates
> On Feb 21, 2022, at 6:31 AM, Tim Bradshaw <tfb at tfeb.org> wrote:
>
> Presumably Rosetta (which I think is Rosetta 2): there's an x64 emulator which is running it.
>
>> On 21 Feb 2022, at 09:52, Joakim Sandgren <info at joakimsandgren.com> wrote:
>>
>> hello,
>> how come my old already compiled clozure 1.12 dx86cl64 binary (is it ?) runs just fine in the terminal on a M1 ?? /joakim
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> https://lists.clozure.com/mailman/listinfo/openmcl-devel
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20220221/0c7aaf39/attachment.htm>
More information about the Openmcl-devel
mailing list