Serious problems with some operations on the ARM platfor.

Igor Karymov ingham.k@REDACTED
Thu Jan 20 17:01:04 CET 2011


On the last version of erlang (tested on r13b04 and r14a) I observ
next behavior:

(nmg@REDACTED)2> A =
85023954648017753633109926276377209232011432883926046723251747957496189689499554217508419200604908647245310645038654319411021235336416116239327092322283173571753199380814137374196214921340934814673139306620241639100528995020328973184941898694736203837639298925043282006637104161166612956247829863503707011335.
85023954648017753633109926276377209232011432883926046723251747957496189689499554217508419200604908647245310645038654319411021235336416116239327092322283173571753199380814137374196214921340934814673139306620241639100528995020328973184941898694736203837639298925043282006637104161166612956247829863503707011335

(nmg@REDACTED)3> B = A bsr 8.
21766132389892544930076141126752565563394926818285067961152447477119024560511885879682155315354856613694799525129895505769221436246122525757267735634504492434368819041488419167794231019863279312556323662494781859609735422725204217135345126065852468182435660524811080193699098665258652916799444445056948994901760

(nmg@REDACTED)4> C = A bsl 8.
21766132389892544930076141126752565563394926818285067961152447477119024560511885879682155315354856613694799525129895505769221436246122525757267735634504492434368819041488419167794231019863279312556323662494781859609735422725204217135345126065852468182435660524811080193699098665258652916799444445056948994901760

(nmg@REDACTED)5> A > B.
true
(nmg@REDACTED)6> C == B.
true

On older versions (r12b05)  all are right.

Compiler:
$ arm-softfloat-linux-gnu-gcc --version
arm-softfloat-linux-gnu-gcc (GCC) 3.4.5

Linux:
Linux some 2.6.22.19-4.03.0-c300evm #123 Tue Sep 21 10:00:16 NOVST
2010 armv6l unknown

Processor:
CPU: ARMv6-compatible processor [4117b361] revision 1 (ARMv6TEJ)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 22635 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110120/ca907119/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg_arm.sh
Type: application/x-sh
Size: 449 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110120/ca907119/attachment.sh>


More information about the erlang-questions mailing list