[Vm-dev] Funny Floats [WAS OpenSmalltalk current on aarch64]

Tobias Pape Das.Linux at gmx.de
Fri Dec 6 17:22:31 UTC 2019


> On 06.12.2019, at 17:46, Christian Kellermann <ckeen at pestilenz.org> wrote:
> 
> 
> * ken.dickey at whidbey.com <ken.dickey at whidbey.com> [191206 17:33]:
>> 
>> Greetings,
>> 
>> OK. So current VM on aarch64.  I have an older VM in which floats work fine
>> (same machine).
>> 
>> I am doing diffs like:
>>  diff -r {kens-,oscog}vm/platforms/Cross/plugins/FloatMathPlugin
>>  diff -r {kens-,oscog}vm/platforms/unix/plugins/FloatMathPlugin
>>  diff -r {kens-,oscog}vm/platforms/Cross/vm
>> 
>> but not finding differences in float calculations.
>> 
>> Any hints on where to look for "1.0 = 1.1  --> true" ?? [Same w Squeak or
>> Cuis]
> 
> Have you tried switching off compiler optimisations? I recall running
> into similar problems with a newer gcc and turning off optimisations
> has been a workaround.

I recall such a thing from another thread.
Apparently using clang also helped, IIRC

Best regards
	-Tobias




More information about the Vm-dev mailing list