[Vm-dev] Optimisation and ArmV8 64 bit systems

Levente Uzonyi leves at caesar.elte.hu
Sun Oct 20 23:46:41 UTC 2019


Hi Bruce,

You're probably seeing the issue described here: 
http://forum.world.st/Primitive-40-asFloat-fails-for-me-td5095689.html

You may want to check if this part applies to your build as well:

> Actually the returned float object is -100.0 (-100 asFloat < 0.0 returns
> true), but the code used for printing doesn't work properly, because
> #basicAt: returns 0 (when the argument is 1 or 2), and the method used to
> print the number uses #signBit to print the negative sign, and #signBit
> relies on #basicAt: returning a non-zero value when the number is
> negative.

> So, we're back to the original issue I found: #basicAt: (primitive 38)
> doesn't work with newer gcc versions

Levente


More information about the Vm-dev mailing list