[Pharo-project] [NativeBoost] fxch instruction not working... crash

2012-07-21 Thread Lawson English
Still playing with Native Boost assembler. This code instantly crashes Pharo 1.4 with NB installed: TestAssem swapDoubFirst: 1.0 withSecond: 2.0. TestAssem>>swapDoubFirst: r1 withSecond: r2 ^ NBFFICallout cdecl: #( double ( double r1, double r2 )) emitCall: [:gen | | asm proxy

Re: [Pharo-project] [NativeBoost] fxch instruction not working... crash

2012-07-22 Thread Igor Stasenko
Most probably it generates invalid opcode. Need to check that with disassembler. On 22 July 2012 05:27, Lawson English wrote: > Still playing with Native Boost assembler. > > This code instantly crashes Pharo 1.4 with NB installed: > > TestAssem swapDoubFirst: 1.0 withSecond: 2.0. > > > > TestAss