RFA: Add Epiphany port
diff mbox

Message ID 20111105145121.d5kh3ze1w0oc8o48-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Nov. 5, 2011, 6:51 p.m. UTC
Sorry, it took a bit longer because some of the macro changes in the port
seemed like they warranted better testing, so I back-ported them to the
Embecosm branch, tested, and found some regressions; I had to have some
sleep then before I could debug the issue.

Please find attached the updated wwwdocs patch and Epiphany port tarball.
The ChangeLog entry and the patches to existing config files in the gcc
repository are still unchanged from my last posting:
http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00551.html

Comments

Richard Henderson Nov. 5, 2011, 7:57 p.m. UTC | #1
>  #define __builtin_epiphany_fmsub(a, b, c) __builtin_fmaf (-b, c, a)

Needs -(b), or conversion to __always_inline__ functions, as with the
intrinsics used by the i386 target.

Otherwise, you've taken care of all of my concerns.


r~

Patch
diff mbox

Index: htdocs/backends.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/backends.html,v
retrieving revision 1.41
diff -u -r1.41 backends.html
--- htdocs/backends.html	15 Jul 2011 09:48:14 -0000	1.41
+++ htdocs/backends.html	5 Nov 2011 18:30:56 -0000
@@ -73,6 +73,7 @@ 
 c4x      |  ??  N I BD       g  d  e 
 c6x      |   S     CB      p g bda 
 cris     |       F  B     cp g b a  s
+epiphany |         C       p g bda  s
 fr30     | ??    FI B        gm     s
 frv      | ??       B      p    da  s
 h8300    |       FI       cp g      s
Index: htdocs/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.819
diff -u -r1.819 index.html
--- htdocs/index.html	28 Oct 2011 21:47:30 -0000	1.819
+++ htdocs/index.html	5 Nov 2011 18:30:56 -0000
@@ -53,6 +53,11 @@ 
 
 <dl class="news">
 
+<dt><span>Epiphany processor support</span>
+    <span class="date">[2011-11-03]</span></dt>
+<dd>A port for Adapteva's Epiphany multicore processor has been contributed by
+Embecosm.</dd>
+
 <dt><span><a href="gcc-4.6/">GCC 4.6.2</a> released</span>
     <span class="date">[2011-10-26]</span></dt>
 <dd></dd>
Index: htdocs/readings.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v
retrieving revision 1.215
diff -u -r1.215 readings.html
--- htdocs/readings.html	15 Jul 2011 09:48:15 -0000	1.215
+++ htdocs/readings.html	5 Nov 2011 18:30:57 -0000
@@ -114,6 +114,12 @@ 
    <br /><a href="http://developer.axis.com/">Site with CPU documentation</a>
  </li>
  
+ <li>Epiphany
+  <br />Manufacturer: Adapteva
+  <br /><a href="http://www.adapteva.com/">Manufacturer's website</a> with
+  additional information about the Epiphany architecture.
+ </li>
+ 
  <li>fr30
    <br />Manufacturer: Fujitsu
    <br />Acronym stands for: Fujitsu RISC