Float64ArrayPlugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Float64ArrayPlugin

stes
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi,

Regarding the new "Float64ArrayPlugin" which is now enabled as builtin
plugin.

This seems to compile fine on Solaris.  But I didn't do any special tests.

Is there a test for it in the test framework ?

In the Test Runner -> under CollectionsTests-Arrayed,
I see FloatArrayTest with testFloatArrayPluginPrimitiveAt

Those 8 tests are working (pass) but I'm not sure whether they test Float64.

When I run in a Workspace window (in Squeak) :

   SmalltalkImage current listBuiltinModules

This now gives me:

 #( ...  'Float64ArrayPlugin * VMMaker.oscog-nice.2753 (i)'
'FloatArrayPlugin * VMMaker.oscog-nice.2753 (i)' ... )

So apparently the Float64ArrayPlugin is now listed in the output of
listBuiltinModules.

I'm not sure why those 2 plugins are marked with '*' asterisk.

Regards,
David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJew8HAAAoJEAwpOKXMq1MabkAIAJGGBvF+A3n8Ck73RyobGFTi
1rrclfib1LcQv/YKpa8ZVYdiFgDSIUtvKmJSrar2KXErhwzbNrZC4QrkAP9ZBlJk
xigIjVdee/BGezNk5l+MVAPt/QbA6lmR6WYD7aY4yEm+1jJsLl5+ihmGqWdAMNy8
Lfao93rKjoqlMNpZj4qHF+URzXserbYepSJx80hRTK+pNkFF426qZb9XRURquZWn
FofuFOiBolzovyANLuxRElfsXxgK/9ovKvYNorgzV1S8kg2yckvqEGqfnzLjOLGw
UOLJN9mr+zXJB/N9ZE+1EC+XCrckTMb1zaDu8YQHexTV3jh0bNdUywcVJStU54M=
=GAXS
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html
Reply | Threaded
Open this post in threaded view
|

Re: Float64ArrayPlugin

stes
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Actually thinking about the issue, I think I also have to specify
what *image* I used in the test using "Test Runner".

This was with Squeak5.3-19431-64bit.image and the VM is:

Basically "Squeak" (or Smalltalk in general) has a curious architecture,
where if you compile as "builtin" a module, you also have to check that
the image you are using has support for that builtin module.

Anyway, maybe the tests come in future versions of the 'Squeak image'.

Regards,
David Stes



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJew9YtAAoJEAwpOKXMq1MafxAH+gPSKHFfViJYXNe19tq1vyDc
G1rWeYRP0t8P9ncmKLJNqU6ycjqWImF9t1V3iXzWCDHn9H6yd+6zemPs1jXzG8Tx
iOD+toBHs+UjF2mBCLk2cKi7C5GBzqoLjq3r7diNqzNO0YRNFSBqVFUXQS+9BpQT
SHJ+J6Ls9vecj81B5p/Iwi2fySna4PTQcorrwKY+Tvx0aq7J9d+7gnRAn99nveQK
DPIv6Xl9FhW4kW68wkZqu9HvfOR3ML6lvAy42YDmMG5rWdEN9dfZDGqQYOPgRcHi
RBuspdlGhHBotXjHnwMIKcWSrob9ZYbBe5SjsLgDaQZQfsBzVPED3F2fyAIuJeE=
=1dIJ
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html
Reply | Threaded
Open this post in threaded view
|

Re: Float64ArrayPlugin

Levente Uzonyi
 
Hi David,

On Tue, 19 May 2020, stes wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
> Actually thinking about the issue, I think I also have to specify
> what *image* I used in the test using "Test Runner".
>
> This was with Squeak5.3-19431-64bit.image and the VM is:
>
> Basically "Squeak" (or Smalltalk in general) has a curious architecture,
> where if you compile as "builtin" a module, you also have to check that
> the image you are using has support for that builtin module.
>
> Anyway, maybe the tests come in future versions of the 'Squeak image'.

That's correct, Float64Array is only present in the current Trunk image.
You can download one from e.g. here
https://files.squeak.org/6.0alpha/Squeak6.0alpha-19670-64bit/Squeak6.0alpha-19670-64bit.zip


Levente

>
> Regards,
> David Stes
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJew9YtAAoJEAwpOKXMq1MafxAH+gPSKHFfViJYXNe19tq1vyDc
> G1rWeYRP0t8P9ncmKLJNqU6ycjqWImF9t1V3iXzWCDHn9H6yd+6zemPs1jXzG8Tx
> iOD+toBHs+UjF2mBCLk2cKi7C5GBzqoLjq3r7diNqzNO0YRNFSBqVFUXQS+9BpQT
> SHJ+J6Ls9vecj81B5p/Iwi2fySna4PTQcorrwKY+Tvx0aq7J9d+7gnRAn99nveQK
> DPIv6Xl9FhW4kW68wkZqu9HvfOR3ML6lvAy42YDmMG5rWdEN9dfZDGqQYOPgRcHi
> RBuspdlGhHBotXjHnwMIKcWSrob9ZYbBe5SjsLgDaQZQfsBzVPED3F2fyAIuJeE=
> =1dIJ
> -----END PGP SIGNATURE-----
>
>
>
>
> --
> Sent from: http://forum.world.st/Squeak-VM-f104410.html
Reply | Threaded
Open this post in threaded view
|

Re: Float64ArrayPlugin

stes
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


The Squeak6.0alpha-19687-64bit.image seems to run the Float64ArrayTest OK.

There is a new Test under

  CollectionsTests-Arrayed -> Float64ArrayTest

Those 8 (new?) tests pass for me ... (8 passes, 0 errors).

The VM used is:

5.0-202005190844  Tue May 19 12:14:21 CEST 2020 cc [Production Spur 64-bit
VM]
StackInterpreter VMMaker.oscog-eem.2752 uuid:
38b47b95-fe1d-4843-a9ec-5cd233270c46 May 19 2020
VM: 202005190844 stes@gecko:src/opensmalltalk
Date: Tue May 19 10:44:31 2020 CommitHash: 9feae0502

David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJey/sgAAoJEAwpOKXMq1MajhQH/jySJ2k3XleoZ3AquUdxLr6K
oglVtoUQfSJhRsjh+tnwkmHa1sLBl5eYRj/hM02Wic+0YD3xqqrkSqfPxktWTvV8
qR3qAl32zDYBXfXXiDga27+KnkCJdr7OQwca6nhlOwufUiW14wQu373UyU7+LdnK
26KSBaOJyQi1dfVt6aUBaN6FS+US5oYdhFb1aEn2xBZeZxzEqUmyiLQubmc+45Qb
dpFLUmCpIrzzqxHjTlLTA/oSur2lRyr5ElBAQXGHLviu9cW8Pvj+n9sqUYYKO3OH
bxH66iSTeFxEvT7+PATTSQKooO/1bbf4kpXxcORvaacIcqrfTf8Fi6+840Gw8Xo=
=d9Ly
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html