Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » SDCC
  • » [Sdcc-user] To Z80 port users: I need C sample code for compiler optimization [RSS Feed]

#1 March 14, 2008 18:10:43

Philipp K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[Sdcc-user] To Z80 port users: I need C sample code for compiler optimization


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, fellow Z80 port users,
I have become maintainer of sdcc's Z80 port a month ago. I want to make
it the best Z80 C compiler in terms of code size (seehttp://sdcc.wiki.sourceforge.net/Philipp%27s+TODO+list).

Since different programmers code things different ways I'd like to have
some sample code from you to ensure that I don't just optimize sdcc for
my own code.

Please send me some sample functions that you think are representative
of your C programs. Don't send anything secret since I intent to put the
sample code on the sdcc wiki.

The sample code should have the following form:
- -Pure ANSI C (so replace that uint_fast16_t by unsigned chort int)
- -No custom headers (just move your function declarations into the .c file)
- -One function per file
- -Descriptive filenames

You can use the files at the bottom ofhttp://sdcc.wiki.sourceforge.net/Philipp%27s+TODO+listas examples.

Philipp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.orgiD8DBQFH2rFtbtUV+xsoLpoRAl/gAJ47jgVrGmlDFqDQ0QnK9U8nlTU+KACfWAnc
obCv3GRLepoq2hiwDb9hJJE=
=s46d
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/sdcc-user

Offline

  • Root
  • » SDCC
  • » [Sdcc-user] To Z80 port users: I need C sample code for compiler optimization [RSS Feed]

Board footer

Moderator control

Enjoy the 11th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support