Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #2317

Re: printf for 65c02

Newsgroups comp.sys.apple2.programmer
Date 2016-02-20 08:14 -0800
References (7 earlier) <6462ff1b-9f37-45b7-be70-ed3d40b7e7c9@googlegroups.com> <vdadnVL_IcJDRFvLnZ2dnUU7-emdnZ2d@giganews.com> <fabf0ec4-4815-4068-bb84-938df14b4ab8@googlegroups.com> <40da0f39-8458-4d4e-b52e-68350ff4d199@googlegroups.com> <360bf5f9-2af6-46d7-a630-e85b6b4d3690@googlegroups.com>
Message-ID <0fca2fb7-5ae8-435b-9df8-e604778d9ba5@googlegroups.com> (permalink)
Subject Re: printf for 65c02
From Michael Pohoreski <michael.pohoreski@gmail.com>

Show all headers | View raw


On Saturday, February 20, 2016 at 4:40:38 AM UTC-8, wss...@gmail.com wrote:
> Am Samstag, 20. Februar 2016 03:05:18 UTC+9 schrieb qkumba:
> > tprintf minified...
> >                xc 
> >                rel 
> >                dsk  tprintf.l 
> 
> Thanks. I've incorporated all of your changes into my source.
> I wrote this code probably 8 or 9 months ago and I remember
> thinking I wanted the loops unrolled at the time, but when I
> now think of how I use this routine, the few cycles saved by
> unrolling are completely inconsequential.

For printm I'm optimizing for size, `-Os` in gcc speak, so any byte savings are worth it.
Does anyone actually benchmark printing / printf on the 6502? :-)

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

printf for 65c02 wssimms@gmail.com - 2016-02-13 20:29 -0800
  Re: printf for 65c02 wssimms@gmail.com - 2016-02-13 20:31 -0800
    Re: printf for 65c02 wssimms@gmail.com - 2016-02-13 20:36 -0800
      Re: printf for 65c02 Antoine Vignau <antoine.vignau@laposte.net> - 2016-02-13 23:22 -0800
        Re: printf for 65c02 Michael Barry <barrym95838@yahoo.com> - 2016-02-15 22:57 -0800
          Re: printf for 65c02 wssimms@gmail.com - 2016-02-16 01:54 -0800
            Re: printf for 65c02 "Bill Garber" <willy46pa@comcast.net> - 2016-02-16 21:11 -0500
              Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 16:03 -0800
                Re: printf for 65c02 wssimms@gmail.com - 2016-02-18 18:07 -0800
                Re: printf for 65c02 Michael J. Mahon <mjmahon@aol.com> - 2016-02-19 03:01 -0600
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-19 08:04 -0800
                Re: printf for 65c02 qkumba <peter.ferrie@gmail.com> - 2016-02-19 10:05 -0800
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 00:37 -0800
                Re: printf for 65c02 qkumba <peter.ferrie@gmail.com> - 2016-02-20 09:46 -0800
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 11:35 -0800
                Re: printf for 65c02 wssimms@gmail.com - 2016-02-20 04:40 -0800
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 08:14 -0800
                Re: printf for 65c02 Michael J. Mahon <mjmahon@aol.com> - 2016-02-22 14:13 -0600
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 10:52 -0800
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-21 00:53 -0800
                Re: printf for 65c02 wssimms@gmail.com - 2016-02-25 09:26 -0800
                Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-25 12:36 -0800
        Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 07:38 -0800
  Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 15:27 -0800
    Re: printf for 65c02 wssimms@gmail.com - 2016-02-16 18:48 -0800
      Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 19:13 -0800
        Re: printf for 65c02 wssimms@gmail.com - 2016-02-17 07:49 -0800
        Re: printf for 65c02 wssimms@gmail.com - 2016-02-17 07:55 -0800
    Re: printf for 65c02 wssimms@gmail.com - 2016-02-16 18:55 -0800
      Re: printf for 65c02 wssimms@gmail.com - 2016-02-16 18:58 -0800
      Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 13:14 -0800
        Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 13:27 -0800
          Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 15:09 -0800
            Re: printf for 65c02 wssimms@gmail.com - 2016-02-18 17:58 -0800
              Re: printf for 65c02 Michael Barry <barrym95838@yahoo.com> - 2016-02-19 17:52 -0800
                Re: printf for 65c02 wssimms@gmail.com - 2016-02-19 18:09 -0800
                Re: printf for 65c02 Michael J. Mahon <mjmahon@aol.com> - 2016-02-20 00:27 -0600
  Re: printf for 65c02 Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 13:37 -0800

csiph-web