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:
GCC for XS1
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
-
- Junior Member
- Posts: 5
- Joined: Mon Dec 16, 2013 12:07 am
Just looked at the projeects website - I see indications of Ada support, what priority will that have in your schedule?
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
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 ;-)
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 ;-)
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
Did that answer your questions? Have you
tried it out?
tried it out?
-
- Junior Member
- Posts: 5
- Joined: Mon Dec 16, 2013 12:07 am
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
Whish you a happy new year.
Erlo