Re: [perl #29402] [BUG] 64-bit bitops

2004-05-10 Thread Leopold Toetsch
Adam Thomason <[EMAIL PROTECTED]> wrote: > Attached patch implements a bitops test for 64 bit ints. Thanks, applied. I've created a new test file, though: t/op/64bit.t It's just simpler to drop all 64bit INTVAL related tests into one file, and skip_all it, if needed. leo

Re: [perl #29402] [BUG] 64-bit bitops

2004-05-10 Thread Adam Thomason
> -Original Message- > From: Adam Thomason > Sent: Monday, May 10, 2004 7:13 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [perl #29402] [BUG] 64-bit bitops > > I haven't managed to beat ICU into submission on AIX yet, so > I can&

Re: [perl #29402] [BUG] 64-bit bitops

2004-05-10 Thread Adam Thomason
> -Original Message- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 08, 2004 1:29 AM > To: Adam Thomason > Cc: [EMAIL PROTECTED] > Subject: Re: [perl #29402] [BUG] 64-bit bitops > > > Adam Thomason <[EMAIL PROTECTED]> wr

Re: [perl #29402] [BUG] 64-bit bitops

2004-05-08 Thread Leopold Toetsch
Adam Thomason <[EMAIL PROTECTED]> wrote: > _main: > set I1, 0x > shl I1, I1, 32 > set I2, 0x > print I2 # prints -1 Old imcc code strikes back. It used atoi() and with 32 bit ints and 64 bit opcodes/INTVALs this is the expected and wrong result. I've now changed a

Re: [perl #29402] [BUG] 64-bit bitops

2004-05-07 Thread Adam Thomason
> -Original Message- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED] > Sent: Friday, May 07, 2004 3:59 AM > To: [EMAIL PROTECTED] > Subject: Re: [perl #29402] [BUG] 64-bit bitops > > > One particularly odd case: > > > _main: > > set I1

Re: [perl #29402] [BUG] 64-bit bitops

2004-05-07 Thread Leopold Toetsch
Adam Thomason <[EMAIL PROTECTED]> wrote: > The recently posted sha1 and md5 programs produce incorrect answers on > amd64, at least in part because bitops on 64-bit values are screwy. > One particularly odd case: > _main: > set I1, 0x > shl I1, I1, 32 > set I2, 0xf

[perl #29402] [BUG] 64-bit bitops

2004-05-07 Thread via RT
# New Ticket Created by Adam Thomason # Please include the string: [perl #29402] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=29402 > The recently posted sha1 and md5 programs produce incorrect answers on amd64, at lea