Page 1 of 1

GCC for XS1

Posted: Wed Jun 20, 2012 8:02 pm
by segher
Version: 0.5
Status: Under development
License: GPL

A port of GCC to the XS1 architecture.
Completion 50%:

-- it compiles the whole testsuite without crashing;

-- many ops are a libcall right now;

-- exception handling and trampolines are non-existent;

-- testsuite results look quite reasonable;

-- most things run fine on my sim, haven't tested real hardware much;

-- also compiles big code like newlib fine.
(Note about git: make sure to get the correct branch, "xs1").
Testsuite results:
=== gcc Summary ===

# of expected passes 78356

# of unexpected failures 3532

# of unexpected successes 1

# of expected failures 96

# of unresolved testcases 63

# of unsupported tests 1590

/home/segher/build/xs1-gcc/gcc/xgcc version 4.9.0 20130807 (experimental) (GCC)
Images:

Re: GCC for XS1

Posted: Wed Dec 18, 2013 9:00 pm
by Erlo
Just looked at the projeects website - I see indications of Ada support, what priority will that have in your schedule?

Re: GCC for XS1

Posted: Thu Dec 19, 2013 11:51 am
by segher
Not a very high priority; as it stands it won't fit in
the devices (only in the simulator, but that has
gigabytes of memory). There is a lot of Ada-
specific work to be done, and I don't know Ada
all that well. Adding intrinsics (for I/O and threading
etc.) is going to be fun as well. Lastly, it currently
fails to build because it tries to write to read-only
memory and there is no STWCP insn ;-)

Re: GCC for XS1

Posted: Tue Dec 24, 2013 11:53 am
by segher
Did that answer your questions? Have you
tried it out?

Re: GCC for XS1

Posted: Wed Dec 25, 2013 11:35 pm
by Erlo
It did answer my question, thank you. I have not tried it out (yet). After reading some of the documentation for XC, I realised that some of the Ada-features I primarily want are implemented in XC (bounds check, rendevouz). Still Ada has more features that eases sw engineering and development.
 
Whish you a happy new year.
 
Erlo