Sean O'Rourke wrote:
S3 says:
1|2 + 3&4; # (4|5) & (5|6)
but shouldn't that equal
(1 + (3&4)) | (2 + (3&4))
= (4&5) | (5&6)
= (4|6) & 5 # ???
No, it shouldn't.
You should read:
1|2 + 3&4
as:
"Is ther
Jens Rieks <[EMAIL PROTECTED]> writes:
> Hi,
>
> does the attached test use the Continuation in a correct way?
> The test failes, what am I doing wrong?
Without running it I'm guessing that it prints out something like
456=789
456=456
123=123
And on running it, I see that I'm right.
Remember t
At 7:16 PM -0800 3/18/04, Adam Thomason (via RT) wrote:
Attached patched fixes up the following issues for x86_64:
- Like PPC, x86_64 has a convoluted varargs convention that
disallows taking the address of a va_list. Solution is just to do
what PPC does, use va_list instead of va_list*.
- The
S3 says:
1|2 + 3&4; # (4|5) & (5|6)
but shouldn't that equal
(1 + (3&4)) | (2 + (3&4))
= (4&5) | (5&6)
= (4|6) & 5 # ???
For one thing, OR's of AND's (DNF) is just nicer than AND's of OR's
(CNF). For another, I read th
# New Ticket Created by Adam Thomason
# Please include the string: [perl #27753]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=27753 >
Attached patched fixes up the following issues for x86_64:
- Like PPC, x86_64 has a
Which brings up again my warnocked question: How can return
continuations get reused? Please provide some PASM code that enables my
brain to follow your argument that we cant't simply cache them.
Well, I can't do PASM code, but let me give it try. ;)
Single vs multiple use. It should be
oops, I renamed the wrong file...
This is the correct example.
jens
.pcc_sub _main:
newsub P0, .Sub, _foo
newsub P1, .RetContinuation, _ret
invoke
_ret:
print "returned!\n"
set P0, P2
invokecc
print "after 2nd invoke\n"
end
.pcc_sub _foo:
print "foo start\n"
Hi,
On Thursday 18 March 2004 22:38, Leopold Toetsch wrote:
> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > At 4:10 PM -0500 3/18/04, Mitchell N Charity wrote:
> >>It seemed nontrivial to reduce the number return continuation pmc's
> >>used in oofib.imc. So I instead added an _extra_, unused one, t
At 10:38 PM +0100 3/18/04, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
At 4:10 PM -0500 3/18/04, Mitchell N Charity wrote:
It seemed nontrivial to reduce the number return continuation pmc's
used in oofib.imc. So I instead added an _extra_, unused one, to the
two already used i
>Which suggests return continuation pmc driven memory management costs
>(gc and allocation) are currently a major, perhaps even dominant,
>factor in method invocation speed.
Yow. Okay, thanks. That means it's time to dive into the think tank
and see what we can do about that.
Noth
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 4:10 PM -0500 3/18/04, Mitchell N Charity wrote:
>>It seemed nontrivial to reduce the number return continuation pmc's
>>used in oofib.imc. So I instead added an _extra_, unused one, to the
>>two already used in each fib method.
>>
>>Parrot ran 30% slow
Hi,
the attached test fails. There is no newline at the end of the file.
I think that imcc is causing a memory leak due to this, I got error messages
like:
"store_sub_in_namespace: sub '__new_class' namespace #1082752832 too
big.namespace"
in a large program due to this bug. Please note the .n
I find the following code sefaults in gc, around N=18.
What am I overlooking...??
Thanks,
Mitchell
.sub _main
.param pmc argv
.sym int argc
argc = argv
.sym int N
N = 24
if argc <= 1 goto noarg
$S0 = argv[1]
N = $S0
noarg:
.sym float start
time start
At 4:10 PM -0500 3/18/04, Mitchell N Charity wrote:
It seemed nontrivial to reduce the number return continuation pmc's
used in oofib.imc. So I instead added an _extra_, unused one, to the
two already used in each fib method.
Parrot ran 30% slower. (Optimized, unoptimized, and jit)
Which suggest
It seemed nontrivial to reduce the number return continuation pmc's
used in oofib.imc. So I instead added an _extra_, unused one, to the
two already used in each fib method.
Parrot ran 30% slower. (Optimized, unoptimized, and jit)
Which suggests return continuation pmc driven memory management
On Thu, Mar 18, 2004 at 05:25:00PM +, Piers Cawley wrote:
: Larry Wall <[EMAIL PROTECTED]> writes:
:
: > On Wed, Mar 17, 2004 at 12:41:20PM -0500, Dan Sugalski wrote:
: > : Currently I'm figuring on just nuking the whole cache in any of these
: > : cases. Later on we can consider doing Clever
Danke!
On Thursday, March 18, 2004, at 01:46 PM, Bernhard Schmalhofer (via
RT) wrote:
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #27746]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id
Leopold Toetsch wrote:
BTW sscanf() is missing too.
I have never used scanf. I have no idea what it does or how.
Therefore, I'm hardly qualified to write an implementation of it.
--
Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]>
Perl and Parrot hacker
Oceania has always been at war with Eastasia.
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #27746]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=27746 >
Hi,
this patch changes the calls of parrot to './parrot'. This is needed whe
> PS -- Brent my ISP seems to be having an argument with perl.org at the
> moment, if this does not make it to the list will you forward it along
> for me? Thanks.
As requested. I may have mis-threaded this--sorry if I did.
> All~
>
> I just discovered that my system does have copysign so the fo
Hi,
does the attached test use the Continuation in a correct way?
The test failes, what am I doing wrong?
jens
use strict;
use Parrot::Test tests => 1;
output_is(<<'CODE', <<'OUTPUT', "use a continuation to go down the callchain");
##PIR##
.sub _main
.local int a
.local int b
.local
On Thu, 2004-03-18 at 08:50, Jens Rieks wrote:
> the attached patch fixes a small typo in alling_conventions.pod
Thanks, applied.
-- c
At 5:34 PM +0100 3/18/04, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
Fix up another dependency issue
-library/config.fpmc: myconfig config_lib.pasm
+library/config.fpmc: myconfig config_lib.pasm $(TEST_PROG)
Actually I deleted $(TEST_PROG) from dependencies a day ago o
Larry Wall <[EMAIL PROTECTED]> writes:
> On Wed, Mar 17, 2004 at 12:41:20PM -0500, Dan Sugalski wrote:
> : Currently I'm figuring on just nuking the whole cache in any of these
> : cases. Later on we can consider doing Clever Things, if it seems
> : worthwhile.
>
> That's what Perl 5 does, FWIW.
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> Fix up another dependency issue
> -library/config.fpmc: myconfig config_lib.pasm
> +library/config.fpmc: myconfig config_lib.pasm $(TEST_PROG)
Actually I deleted $(TEST_PROG) from dependencies a day ago or so. If
Configure is run, myconfig is update
Hi,
the attached patch fixes a small typo in alling_conventions.pod
jens
Index: imcc/docs/calling_conventions.pod
===
RCS file: /cvs/public/parrot/imcc/docs/calling_conventions.pod,v
retrieving revision 1.19
diff -u -w -r1.19 calling
Arthur Bergman <[EMAIL PROTECTED]> wrote:
> Hi,
> Tracking down test failures in ponie I noticed some tests using SIGINT
> failing,
I'm using now SIGHUP for the tests. Hope that's ok.
> Arthur
leo
On Tue, 16 Mar 2004, Larry Wall wrote:
> On Tue, Mar 16, 2004 at 06:00:51PM -0800, Brent Dax Royal-Gordon wrote:
> : Dan Sugalski wrote:
> : >Instead,
> : >what I'd like is for someone (Oh, Brent... :) to go through perl's
> : >configure
> :
> : Gulp.
>
> I'm sure Andy can give you *reams* of advi
Folks,
for those of you with CVS access, when checking in patches from other
people you *must* make sure you add a:
Courtesy of foo <[EMAIL PROTECTED]>
line to the commit message. (Colon after the "of" is optional) This
is how we track who's sent what in, and records the info we need to
get i
Will Coleda <[EMAIL PROTECTED]> wrote:
> This didn't make it in from the big patch. small verbage change, more
> importantly, updates the required version.
Thanks, applied #27737 done too.
leo
> "LT" == Leopold Toetsch <[EMAIL PROTECTED]> writes:
LT> BTW sscanf() is missing too.
perl5 mever had a scanf (or variation) and for good reason IIRC. it was
never needed and it has a very nasty api. i hated using it in c because
you could never control how much to read and parse and also
# New Ticket Created by Will Coleda
# Please include the string: [perl #27737]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=27737 >
languages/tcl/t/var_subst.t
should be removed. Must have missed it in the big patch t
Hurm. I upgraded my cvs client, no love, did a fresh checkout, works
fine. I recall getting a core dump doing an update after leo checked in
all my stuff - local info probably got corrupted.
Thanks for trying.
On Tuesday, March 16, 2004, at 10:29 PM, Robert Spier wrote:
I can't replicate this
# New Ticket Created by Will Coleda
# Please include the string: [perl #27736]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=27736 >
This didn't make it in from the big patch. small verbage change, more
importantly, up
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> wrote:
> How close is string_to_num() to being adequate for Parrot_sprintf()'s
> purposes? (It currently falls back to the platform sprintf for floats,
> because I didn't have, and still don't have, any idea how to properly
> format a float.)
Well, str
Mitchell N Charity <[EMAIL PROTECTED]> wrote:
> to
> if (value == vali && (0 != vali || ...something...))
> perl 5.9.0 devotes several configuration arguments to finding a
> floating point classifier (fpclass or similar). And 100+ lines of
> perl.h to using them. Defines quite a few macr
How close is string_to_num() to being adequate for Parrot_sprintf()'s
purposes? (It currently falls back to the platform sprintf for floats,
because I didn't have, and still don't have, any idea how to properly
format a float.)
--
Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]>
Perl and Parrot ha
Simon Glover <[EMAIL PROTECTED]> wrote:
> newclass P0, "City"
> subclass P1, P0
Fixed, test cased added.
> Simon
Thanks,
leo
Skip Livingston <[EMAIL PROTECTED]> wrote:
> IMCC uses atof() because it doesn't use (need?) any of the encoding
> stuff.
Well imcc used to be a standalone language compiler that converted PIR
to PASM, which got then assembled to bytecode by assembler.pl. Now
imcc is fully integrated, parrot is th
S. Livingston <[EMAIL PROTECTED]> wrote:
> Oops, use this one instead... "re"-fixes the exponent support...
Thanks, applied.
leo
Did anybody notice that Larry has slipped in an anime smiley operator?
Between "^^" and the recent musing about "wa"...
On a closely related note, how long do you think it'll be before someone
puts this on CP6AN?
class n {
method n() is classmethod {# Or whatever it turns out to
41 matches
Mail list logo