GCC for XS1

XCore Project reviews, ideas, videos and proposals.
User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am
Contact:

GCC for XS1

Postby segher » Wed Jun 20, 2012 8:02 pm

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:
Erlo
Junior Member
Posts: 5
Joined: Mon Dec 16, 2013 12:07 am

Postby Erlo » Wed Dec 18, 2013 9:00 pm

Just looked at the projeects website - I see indications of Ada support, what priority will that have in your schedule?


User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Postby segher » Thu Dec 19, 2013 11:51 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 ;-)
User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Postby segher » Tue Dec 24, 2013 11:53 am

Did that answer your questions? Have you
tried it out?
Erlo
Junior Member
Posts: 5
Joined: Mon Dec 16, 2013 12:07 am

Postby Erlo » Wed Dec 25, 2013 11:35 pm

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



Return to “Projects”

Who is online

Users browsing this forum: No registered users and 13 guests