Page 2 of 2 FirstFirst 1 2
Results 16 to 16 of 16

Thread: Ice for non-Intel systems (SPARC)

  1. #16
    fmccor is offline Registered User
    Name: Ferris McCormick
    Organization: Alpha Informatics, Ltd
    Project: Evaluation (Gentoo Linux)
    Join Date
    Feb 2003
    Location
    Northern Virginia
    Posts
    15
    I now have assembler code which seems to work on sparc-v9/linux systems for the
    atomic operations. It is basically David Miller's sparc 64 linux kernel code repackaged
    to live in a little file (IceAtomic.c) in the <src/IceUtil> directory. It should work on
    sparc-v9/solaris systems, but I don't have a solaris Ice port to try it with.
    It is available in "Patches > SPARC mutex assembler: patches & new code" and
    attached to this. (If I had realized I could attach a file outside the Patch threads,
    I would not have put it there. It really should just be here because it is for comment;
    it is not for general use. Appolgies for denseness.)

    The patch file changes:
    config/Make.rules <<< New flags and rules to enable sparc assembler
    include/IceUtil/Shared.h <<< Defines for sparc assembler
    src/IceUtil/Makefile <<< Compile IceAtomic.c if the environment is right.
    src/IceUtil/IceAtomic.c <<< New file >>> Inplement __atomic_add, etc
    src/icecpp/config.h <<< (allow sparc architecture)

    This will NOT work on sparc-v8 (SS20) or earlier because it uses instructions which do
    not exist prior to sparc version 9.

    With this enabled, Ice for me passes all tests except for my random Glacier/starter
    timeout, but I don't have a proof of correctness for the code, nor do I have an extensive
    stress test. For reference, the system on which it works describes itself with
    uname -srvmpio as:

    Linux 2.4.20-sparc-r0 #3 SMP Fri Jan 3 15:56:09 UTC 2003 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux

    I am submitting this as an example or strawman only, and note again that the code
    is owned by the linux kernel, and it carries David S. Miller's copyright.
    Attached Files Attached Files
    --
    Ferris McCormick

Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Building Ice (cpp) on Solaris 10 (sparc)
    By dsessions in forum Help Center
    Replies: 19
    Last Post: 03-16-2011, 10:30 AM
  2. Ice on Solaris 2.6/Sparc ?
    By Garric in forum Comments
    Replies: 9
    Last Post: 01-30-2006, 06:28 PM
  3. Replies: 0
    Last Post: 09-21-2004, 04:58 PM
  4. Help compiling Ice on Linux with Intel compiler
    By kevinl in forum Help Center
    Replies: 1
    Last Post: 01-30-2004, 05:27 PM
  5. Ice-1.1.0 on (ultra)Sparc/Linux
    By fmccor in forum Comments
    Replies: 5
    Last Post: 07-29-2003, 09:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •