www.digitalmars.com         C & C++   DMDScript  

D.gnu - Comparison between GDC test suite results on x86 and ARM

reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <alex lycus.org> writes:
Hi,

I just ran the GDC test suite on x86 and ARM. I have attached the 
results to this message.

Quick summary:

x86:





ARM:





Not bad - the ARM port is progressing nicely.

As for specific files...

These tests fail on x86 but *not* on ARM:

FAIL: fail_compilation/fail6451.d output-exists-not fail6451.s
FAIL: runnable/test42.d (internal compiler error)

These tests fail on ARM but *not* on x86:

FAIL: runnable/arrayop.d execution test
FAIL: runnable/opover2.d execution test
FAIL: runnable/template1.d execution test
FAIL: runnable/test11.d execution test
FAIL: runnable/test12.d execution test
FAIL: runnable/testmath.d execution test
FAIL: runnable/testmmfile.d execution test

I have not actually looked into any of the failures yet. This is just 
for informational purposes to let people know how far along the ARM port is.

-- 
Alex Rønne Petersen
alex lycus.org
http://lycus.org
Jul 24 2012
next sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
On 25 July 2012 01:24, Alex R=F8nne Petersen <alex lycus.org> wrote:
 Hi,

 I just ran the GDC test suite on x86 and ARM. I have attached the results=
to
 this message.

 Quick summary:

 x86:





 ARM:





 Not bad - the ARM port is progressing nicely.

 As for specific files...

 These tests fail on x86 but *not* on ARM:

 FAIL: fail_compilation/fail6451.d output-exists-not fail6451.s
 FAIL: runnable/test42.d (internal compiler error)

 These tests fail on ARM but *not* on x86:

 FAIL: runnable/arrayop.d execution test
 FAIL: runnable/opover2.d execution test
 FAIL: runnable/template1.d execution test
 FAIL: runnable/test11.d execution test
 FAIL: runnable/test12.d execution test
 FAIL: runnable/testmath.d execution test
 FAIL: runnable/testmmfile.d execution test

 I have not actually looked into any of the failures yet. This is just for
 informational purposes to let people know how far along the ARM port is.
In the <build>/gcc/testsuite/d directory, there is a .log file which will contain the reasons for the test failure. Most failures are simply because the bindings to the gcc testsuite isn't up to scratch yet, whilst I'd be interested to look into that ICE you're getting there. :-) --=20 Iain Buclaw *(p < e ? p++ : p) =3D (c & 0x0f) + '0';
Jul 25 2012
parent reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <alex lycus.org> writes:
On 25-07-2012 09:11, Iain Buclaw wrote:
 On 25 July 2012 01:24, Alex Rønne Petersen <alex lycus.org> wrote:
 Hi,

 I just ran the GDC test suite on x86 and ARM. I have attached the results to
 this message.

 Quick summary:

 x86:





 ARM:





 Not bad - the ARM port is progressing nicely.

 As for specific files...

 These tests fail on x86 but *not* on ARM:

 FAIL: fail_compilation/fail6451.d output-exists-not fail6451.s
 FAIL: runnable/test42.d (internal compiler error)

 These tests fail on ARM but *not* on x86:

 FAIL: runnable/arrayop.d execution test
 FAIL: runnable/opover2.d execution test
 FAIL: runnable/template1.d execution test
 FAIL: runnable/test11.d execution test
 FAIL: runnable/test12.d execution test
 FAIL: runnable/testmath.d execution test
 FAIL: runnable/testmmfile.d execution test

 I have not actually looked into any of the failures yet. This is just for
 informational purposes to let people know how far along the ARM port is.
In the <build>/gcc/testsuite/d directory, there is a .log file which will contain the reasons for the test failure. Most failures are simply because the bindings to the gcc testsuite isn't up to scratch yet, whilst I'd be interested to look into that ICE you're getting there. :-)
Appears to be this, if I'm reading this log correctly: cc1d: internal compiler error: in hwi2toli, at d/d-codegen.cc:1107 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: success Not ported to x86-64 compatible varargs, yet. myInt int myBool bool cc1d: internal compiler error: in hwi2toli, at d/d-codegen.cc:1107 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: runnable/test42.d (internal compiler error) -- Alex Rønne Petersen alex lycus.org http://lycus.org
Jul 25 2012
parent Iain Buclaw <ibuclaw ubuntu.com> writes:
On 25 July 2012 19:25, Alex R=F8nne Petersen <alex lycus.org> wrote:
 On 25-07-2012 09:11, Iain Buclaw wrote:
 On 25 July 2012 01:24, Alex R=F8nne Petersen <alex lycus.org> wrote:
 Hi,

 I just ran the GDC test suite on x86 and ARM. I have attached the resul=
ts
 to
 this message.

 Quick summary:

 x86:





 ARM:





 Not bad - the ARM port is progressing nicely.

 As for specific files...

 These tests fail on x86 but *not* on ARM:

 FAIL: fail_compilation/fail6451.d output-exists-not fail6451.s
 FAIL: runnable/test42.d (internal compiler error)

 These tests fail on ARM but *not* on x86:

 FAIL: runnable/arrayop.d execution test
 FAIL: runnable/opover2.d execution test
 FAIL: runnable/template1.d execution test
 FAIL: runnable/test11.d execution test
 FAIL: runnable/test12.d execution test
 FAIL: runnable/testmath.d execution test
 FAIL: runnable/testmmfile.d execution test

 I have not actually looked into any of the failures yet. This is just f=
or
 informational purposes to let people know how far along the ARM port is=
.

 In the <build>/gcc/testsuite/d directory, there is a .log file which
 will contain the reasons for the test failure.

 Most failures are simply because the bindings to the gcc testsuite
 isn't up to scratch yet, whilst I'd be interested to look into that
 ICE you're getting there. :-)
Appears to be this, if I'm reading this log correctly: cc1d: internal compiler error: in hwi2toli, at d/d-codegen.cc:1107 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiler exited with status 1 output is: success Not ported to x86-64 compatible varargs, yet. myInt int myBool bool cc1d: internal compiler error: in hwi2toli, at d/d-codegen.cc:1107 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. FAIL: runnable/test42.d (internal compiler error)
Yep, spotted it, and have fixed. :-) --=20 Iain Buclaw *(p < e ? p++ : p) =3D (c & 0x0f) + '0';
Jul 25 2012
prev sibling parent reply Johannes Pfau <nospam example.com> writes:
Am Wed, 25 Jul 2012 02:24:58 +0200
schrieb Alex R=C3=B8nne Petersen <alex lycus.org>:

 Hi,
=20
 I just ran the GDC test suite on x86 and ARM. I have attached the=20
 results to this message.
=20
 Quick summary:
=20
 x86:
=20



=20
 ARM:
=20



=20
 Not bad - the ARM port is progressing nicely.
That's indeed quite good. On what platform did you run those tests? Soft/Hard float, thumb mode / normal mode, etc? Did anyone already run the druntime/phobos unittests?
Jul 25 2012
parent =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= <alex lycus.org> writes:
On 25-07-2012 19:47, Johannes Pfau wrote:
 Am Wed, 25 Jul 2012 02:24:58 +0200
 schrieb Alex Rønne Petersen <alex lycus.org>:

 Hi,

 I just ran the GDC test suite on x86 and ARM. I have attached the
 results to this message.

 Quick summary:

 x86:





 ARM:





 Not bad - the ARM port is progressing nicely.
That's indeed quite good. On what platform did you run those tests? Soft/Hard float, thumb mode / normal mode, etc? Did anyone already run the druntime/phobos unittests?
This was on an Efika MX with a Freescale i.MX515 (ARM Cortex A8) processor, running armel (normal mode) with soft float. I might give it a shot in a Debian armhf chroot at some point. -- Alex Rønne Petersen alex lycus.org http://lycus.org
Jul 25 2012