* Leopold Toetsch ([EMAIL PROTECTED]) [040301 18:50]: > $ parrot -j examples/assembly/mops.pasm > > should show huge improvements in execution time, *if* JIT works. > > $ make testj
Well, make testj barfs. Here's the output: rolf:[526]/var/tmp/parrot>make testj perl t/harness --gc-debug --running-make-test -j t/op/*.t t/pmc/*.t t/native_pbc/*.t imcc/t/*/*.t t/op/00ff-dos.......# Failed test (t/op/00ff-dos.t at line 24) # got: '' # expected: 'ok # ' # Failed test (t/op/00ff-dos.t at line 29) # got: '' # expected: 'ok # ' # Looks like you failed 2 tests of 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/op/00ff-unix......# Failed test (t/op/00ff-unix.t at line 23) # got: '' # expected: 'ok # ' # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/local/lib/perl5/5.00503/Test/Harness.pm line 288. *** Exit 1 Stop. So I guess JIT doesn't go... > Signal initialization code isn't yet in platforms. But you can do a > short test: > > newsub P20, .Exception_Handler, _handler > set_eh P20 > sleep 10 > end > _handler: > print "intr\n" > end > > If running this is stopped by pressing <ctrl-C> and prints the text, > catching the SIGINT works. Stopping this by <ctrl-C> didn't produce a thing[1], so I guess this too is something else which needs work. I don't know how much help I can be here, but I'm willing to be of any help that I can. > > cc: Info: ../include/parrot/config.h, line 62: In this declaration, type long > > double has the same representation as type double on this platform. > > (longdoublenyi) > > typedef long double HUGEFLOATVAL; > > --------^ > > We probably need a configure hint, if "long double" is a distinct type. After some digging around I found out that the DEC OSF C compiler by default promotes float to double, and it supports long double (one has to append an L to the number to make it a long double). The web site that I found this on is http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40F_HTML/AQTLTBTE/DOCU_010.HTM#floating_point_constants_sec (just in case you wanted to know). Hope that helps, Later Paul [1] ie: rolf:[535]/var/tmp/parrot>parrot sig.pasm (implied <ctrl-C> here...) rolf:[536]/var/tmp/parrot>