public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Freescale hc11/12 port extension to s12x / xgate
@ 2010-05-12 13:52 James Murray
  0 siblings, 0 replies; only message in thread
From: James Murray @ 2010-05-12 13:52 UTC (permalink / raw)
  To: gcc

Announce. I have posted some patches to gcc and binutils to better
support Freescale S12X and XGATE cores.

See:
http://www.msextra.com/tools/s12x-20100504.zip

This contains rolled up patches against.
gcc-3.3.6
binutils-2.18
newlib-1.16-0

The patches include Stephane Carrez' patches and add binutils support
for the S12X instructions and XGATE core.
gcc contains a hand coded S12X assembler version of udivsi32 which is
faster than the original C version.
gcc/binutils modified to allow the m9s12x xgate CPU target flags to be
passed but do not otherwise use them.

Typical Makefile likes would be:
CFLAGS = -g -Wall -Werror -O -fomit-frame-pointer -m9s12x -mshort
-msoft-reg-count=5 -mauto
-incdec -fsigned-char -DGCC_BUILD -Wa,-mm9s12x
XFLAGS = -g -Wall -Werror -O -fomit-frame-pointer -m9s12xg -mshort
-msoft-reg-count=5 -maut
o-incdec -fsigned-char -DGCC_BUILD -Wa,-mxgate

XGATE assembly appears functional.

Probably best discussed on
http://tech.groups.yahoo.com/group/gnu-m68hc11

regards

James

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-12 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-12 13:52 Freescale hc11/12 port extension to s12x / xgate James Murray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).