Jump to content

QuickThreads for ARM

Recommended Posts

Hello as apfitch did on his blog Half Fact http://apfitch.wordpress.com/2012/08/30/systemc-on-a-raspberry-pi/, I tried SystemC on an ARM platform. It works reasonably based on pthreads making it somewhat slow. So I thought about porting the QT (QuickThreads) for ARM? 1- Did anybody do that before?


I already read the original Technical Report of 93-05-06 of David Keppel describing QT and had a look into the QT source folder. Now I’m kind of stuck where to start at. It seems relevant to know the ABI (Application Binary Interface) of the target. 2-Would that be depended on which Linux Kernel is running on the target or maybe if the ARM platform is armv7 or armv6 based?


3- I’m also happy about every hint which would get me started on the issue.

Share this post

Link to post
Share on other sites

I'm not quite sure about the QT implementation. For some architectures it looks like it just extending a simple thread implementation with the QT abilities, instead of doing a thread implementation from scratch.

So I’m not sure if just asking for QT on ARM is enough or if I actually would do a QT for ARM only working with a specific OS on it e.g. Linux.

Share this post

Link to post
Share on other sites

If this is related to your "bare metal" question elsethread, you definitely ask for QT on ARM, not for a specific OS.


The closest thing related to "QT on ARM" implementation, I'm aware of, is included in the "old stable" version of Guile (http://www.gnu.org/software/guile/).


In http://git.savannah.gnu.org/gitweb/?p=guile.git;a=tree;f=qt;h=c98346f9299df235964738dbf4b87da9806c9f52;hb=72e4a3b1df86fdfca752221716c3e3f5573ff6a5, there is "md/arm.{h,s}", which may be a good starting point.


When I had a closer look several years back, I think this has not been fully integrated in the QT package there.  So there is probably still some work left, especially for including it in the build system and the architecture detection, etc.  Maybe you can contact the original author to learn something about the status of the port.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now