Great tool for looking at compiler generated assembly

Great tool for looking at compiler generated assembly

Postby aolofsson » Fri Aug 07, 2015 11:39 pm

Ola has spun up a server with the GCC Explorer tool installed on it supporting Epiphany.
Really fast and quite useful for code optimization.

Site:
gcc.parallella.org

Blog post:
https://www.parallella.org/2015/08/07/c ... -this-out/
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Great tool for looking at compiler generated assembly

Postby eleitl » Sun Feb 19, 2017 2:01 pm

Thanks for the pointer. I've noticed it produces sensible-looking Epiphany assembly if fed with http://tweetnacl.cr.yp.to/software.html

Publication describing it is here https://cryptojedi.org/papers/tweetnacl-20140917.pdf

I've also successfully built https://github.com/sbp/tweetnacl-tools for ARM. The library is small enough to fit the Epiphany nodes.

While the current cores do not have crypto ISA extensions, I think they would be good crypto accelerators for the power envelope.

Notice that cjdns (which uses cnacl, but tweetnacl should be a drop-in) does build on Parallella for ARM on Paraubuntu if provided with Seccomp_NO=1 ./do.

What is still missing on Paraubuntu is ability to create /dev/net/tun

Apart from that it could be an interesting practical cjdns router, even when not using Zynq FPGA space for switch/crypto implementations.
eleitl
 
Posts: 25
Joined: Mon Dec 17, 2012 3:22 am

Re: Great tool for looking at compiler generated assembly

Postby olajep » Mon Feb 27, 2017 3:07 pm

eleitl wrote:What is still missing on Paraubuntu is ability to create /dev/net/tun


Added issue here:
https://github.com/parallella/parabuntu/issues/11

I'll see if I can include it in the next Parabuntu release. In the meantime you'll have to build the kernel yourself.
You can use the bootfs-and-kernel.sh script from the parabuntu github repository
https://github.com/parallella/parabuntu
Append CONFIG_TUN=y (or =m to make it a module) to kernel.config

Anything else needed except /dev/net/tun ?

// Ola
_start = 266470723;
olajep
 
Posts: 121
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden

Re: Great tool for looking at compiler generated assembly

Postby jar » Mon Feb 27, 2017 11:04 pm

Ola,

I use http://gcc.parallella.org/ occasionally. If it's not too much trouble, could you add the latest e-gcc. The current version 4.8.2 is a bit dated.
User avatar
jar
 
Posts: 288
Joined: Mon Dec 17, 2012 3:27 am

Re: Great tool for looking at compiler generated assembly

Postby olajep » Tue Feb 28, 2017 11:34 am

jar wrote:I use http://gcc.parallella.org/ occasionally. If it's not too much trouble, could you add the latest e-gcc. The current version 4.8.2 is a bit dated.

James,

Thanks for reminding me! Added "Epiphany gcc 5.4". You might need to clear your browser's cache and cookies.

// Ola
_start = 266470723;
olajep
 
Posts: 121
Joined: Mon Dec 17, 2012 3:24 am
Location: Sweden


Return to Assembly

Who is online

Users browsing this forum: No registered users and 1 guest