Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] More MIPS asm patches
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-15 01:30:27


On 2/14/2012 10:13 PM, Paul H. Hargrove wrote:
> On the linux/mips64el platform I also tried the PathScale 3.3a
> compilers on both branches.
> On both branches the atomic_*_noinline tests all PASS, which validates
> these patches.
> On trunk all the tests in test/asm are PASSing.
> However, the versions NOT suffixed with _noinline are FAILing on the
> 1.5 branch.
> Since those failures DO NOT use the files touched by these patches,
> they are irrelevant.

Oops - I was looking at the wrong output when I stated pathcc/trunk was
PASSing all tests.
The *inline* atomics tests SIGBUS w/ the pathcc compilers on BOTH branches.

I know from previous encounters with pathcc on MIPS that the problem is
due to the explict use of "$1" (aka "AT", the "Assembler Temporary"
register). Unlike gcc, pathcc schedules this as a normal register.
Indeed the attached patch (which should apply cleanly to both branches)
resolves the problem simply by conditionally adding "at" to the clobbers
for the inline asm.

This is independent of the patches in my previous posting.

-Paul

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900