[PATCH, ARM] Add support for Faraday CPU cores

M.F. Wu mingfeng6865@gmail.com
Fri Jan 14 02:13:00 GMT 2011


This patch add support for ARM-compatible Faraday's CPU cores.
For more details about Faraday CPUs, please see
http://www.faraday-tech.com/html/products/IP/processor/fa6_series.html

2011-01-14  Mingfeng Wu  <mingfeng@faraday-tech.com>

        * gas/config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
        cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
        * gas/doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
        fmp626} options.

--- gas/config/tc-arm.c.orig    2011-01-14 09:53:17.322097000 +0800
+++ gas/config/tc-arm.c 2011-01-14 09:56:12.463473000 +0800
@@ -22538,7 +22538,10 @@
   {"arm1022e",         ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
   {"arm1026ejs",       ARM_ARCH_V5TEJ,  FPU_ARCH_VFP_V2, "ARM1026EJ-S"},
   {"arm1026ej-s",      ARM_ARCH_V5TEJ,  FPU_ARCH_VFP_V2, NULL},
-  {"fa626te",          ARM_ARCH_V5TE,   FPU_NONE,        NULL},
+  {"fa606te",          ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
+  {"fa616te",          ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
+  {"fa626te",          ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
+  {"fmp626",           ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
   {"fa726te",          ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2, NULL},
   {"arm1136js",                ARM_ARCH_V6,     FPU_NONE,        "ARM1136J-S"},
   {"arm1136j-s",       ARM_ARCH_V6,     FPU_NONE,        NULL},
--- gas/doc/c-arm.texi.orig     2011-01-14 09:56:40.061812000 +0800
+++ gas/doc/c-arm.texi  2011-01-14 09:57:42.385930000 +0800
@@ -102,7 +102,10 @@
 @code{arm1020e},
 @code{arm1022e},
 @code{arm1026ej-s},
+@code{fa606te} (Faraday FA606TE processor),
+@code{fa616te} (Faraday FA616TE processor),
 @code{fa626te} (Faraday FA626TE processor),
+@code{fmp626} (Faraday FMP626 processor),
 @code{fa726te} (Faraday FA726TE processor),
 @code{arm1136j-s},
 @code{arm1136jf-s},

Tested documentation changes with "make info"; regression-tested on
arm-none-eabi.

Cheers
Mingfeng



More information about the Binutils mailing list