chiark / gitweb /
mandy.git
2 years agoDist visual studio build files. win32
Richard Kettlewell [Sun, 21 Nov 2010 20:39:23 +0000]
Dist visual studio build files.

2 years agodistcheck-clean
Richard Kettlewell [Sun, 21 Nov 2010 20:31:07 +0000]
distcheck-clean

2 years agoMerge branch 'master' into win32
Richard Kettlewell [Sun, 21 Nov 2010 20:20:03 +0000]
Merge branch 'master' into win32

2 years agoDist getopt sources
Richard Kettlewell [Sun, 21 Nov 2010 20:18:47 +0000]
Dist getopt sources

2 years agoRestore option parsing under Windows.
Richard Kettlewell [Sun, 21 Nov 2010 20:15:50 +0000]
Restore option parsing under Windows.

Swiped the getopt sources from GCC 4.5.0 and modified them slightly to
build on Windows.  This commit doesn't attempt to support Unix
platforms without getopt_long() but that wouldn't be especially hard
(although all the mainstream ones have it anyway now).

2 years agoUse Microsoft-friendly logo.h
Richard Kettlewell [Sun, 21 Nov 2010 19:45:25 +0000]
Use Microsoft-friendly logo.h

2 years agodistcheck-clean
Richard Kettlewell [Sun, 21 Nov 2010 19:37:13 +0000]
distcheck-clean

2 years agoTranslate embedded image to a format that Microsoft's compiler can
Richard Kettlewell [Sun, 21 Nov 2010 19:35:45 +0000]
Translate embedded image to a format that Microsoft's compiler can
digest.

2 years agoPick up number of CPUs on windows too.
Richard Kettlewell [Sun, 21 Nov 2010 18:07:38 +0000]
Pick up number of CPUs on windows too.

2 years ago...and the release configuration too
Richard Kettlewell [Sun, 21 Nov 2010 18:07:11 +0000]
...and the release configuration too

2 years agoAdd gthread to linker options.
Richard Kettlewell [Sun, 21 Nov 2010 17:52:14 +0000]
Add gthread to linker options.
mandy now builds and runs on Windows!

2 years agoWIP compiles but does not link on windows
Richard Kettlewell [Sun, 21 Nov 2010 17:47:41 +0000]
WIP compiles but does not link on windows
Why does that manage() call need explicit namespace qualification but
not the adjacent ones?  I have NO idea...

2 years agoWIP further Windows support.
Richard Kettlewell [Sun, 21 Nov 2010 17:43:44 +0000]
WIP further Windows support.
Some issues remain.

2 years agoWIP more windows porting
Richard Kettlewell [Sun, 21 Nov 2010 17:07:07 +0000]
WIP more windows porting

2 years agoWIP Checkpoint windows build of main program.
Richard Kettlewell [Sun, 21 Nov 2010 16:54:26 +0000]
WIP Checkpoint windows build of main program.

2 years agofixed64-test works on Windows too now.
Richard Kettlewell [Sun, 21 Nov 2010 14:26:48 +0000]
fixed64-test works on Windows too now.

2 years agointtypes.h is UNIX-only.
Richard Kettlewell [Sun, 21 Nov 2010 14:19:43 +0000]
inttypes.h is UNIX-only.

2 years agoAdd a master .sln file.
Richard Kettlewell [Sun, 21 Nov 2010 14:17:28 +0000]
Add a master .sln file.
Move projects into their own private directory.

2 years agoWIP some initial windows support. fixed-test builds and works,
Richard Kettlewell [Sun, 21 Nov 2010 14:08:21 +0000]
WIP some initial windows support.  fixed-test builds and works,
not tried anything else.

2 years agodeclare header
Richard Kettlewell [Sun, 21 Nov 2010 12:18:45 +0000]
declare header

2 years agoReorganize configure.ac a bit.
Richard Kettlewell [Sun, 21 Nov 2010 12:14:06 +0000]
Reorganize configure.ac a bit.
Cope in the absence of unistd.h.

2 years agoRequest correct version of gthread
Richard Kettlewell [Sun, 21 Nov 2010 12:07:32 +0000]
Request correct version of gthread

2 years agoWIP more threading
Richard Kettlewell [Sun, 21 Nov 2010 12:03:19 +0000]
WIP more threading

2 years agoWIP start of support for alt thread APIs
Richard Kettlewell [Sun, 21 Nov 2010 11:48:36 +0000]
WIP start of support for alt thread APIs

2 years agoConflate doubling and rounding, for a performance boost
Richard Kettlewell [Sun, 21 Nov 2010 01:02:44 +0000]
Conflate doubling and rounding, for a performance boost

2 years agoAlternative means of deciding the new sign. Turns out to be faster.
Richard Kettlewell [Sun, 21 Nov 2010 01:00:13 +0000]
Alternative means of deciding the new sign.  Turns out to be faster.

2 years agocomment
Richard Kettlewell [Sun, 21 Nov 2010 00:57:47 +0000]
comment

2 years agomove rbp<-escape limit way up, helps.
Richard Kettlewell [Sun, 21 Nov 2010 00:55:09 +0000]
move rbp<-escape limit way up, helps.

2 years agomove r12/13<-zx^2 down a bit, helps a little
Richard Kettlewell [Sun, 21 Nov 2010 00:54:08 +0000]
move r12/13<-zx^2 down a bit, helps a little

2 years agoalign Fixed_iterate to get a bit of consistency
Richard Kettlewell [Sun, 21 Nov 2010 00:52:17 +0000]
align Fixed_iterate to get a bit of consistency

2 years agospeedtest program
Richard Kettlewell [Sun, 21 Nov 2010 00:50:17 +0000]
speedtest program

2 years agoFurtle with sign handling.
Richard Kettlewell [Sun, 21 Nov 2010 00:40:29 +0000]
Furtle with sign handling.
Doing the same in Fixed_mul seems to throw things off, presumably
there is an alignment question to answer.

2 years agoAlign square subroutine.
Richard Kettlewell [Sun, 21 Nov 2010 00:08:50 +0000]
Align square subroutine.
Did NOT align iterloop, it makes it worse!  Perhaps branch density too high.

2 years agoWe have a register spare for the iteration count
Richard Kettlewell [Sun, 21 Nov 2010 00:05:08 +0000]
We have a register spare for the iteration count

2 years agoAs recommended by optimization guide, spill to memory rather than xmm
Richard Kettlewell [Sun, 21 Nov 2010 00:00:30 +0000]
As recommended by optimization guide, spill to memory rather than xmm
registers.  It really does seem to help - GPR<->XMM transfers are
expensive!

2 years agoReport arithmetic type properly
Richard Kettlewell [Sat, 20 Nov 2010 20:10:21 +0000]
Report arithmetic type properly

2 years agoMerge branch 'master' of git+ssh://araminta/~/git/mandy
Richard Kettlewell [Sat, 20 Nov 2010 20:08:57 +0000]
Merge branch 'master' of git+ssh://araminta/~/git/mandy

2 years agoconsistent naming
Richard Kettlewell [Sat, 20 Nov 2010 20:08:36 +0000]
consistent naming

2 years agoupdate README for --with-short-fixed-point
Richard Kettlewell [Sat, 20 Nov 2010 20:07:40 +0000]
update README for --with-short-fixed-point

2 years agoClear errno before calling strtol
Richard Kettlewell [Sat, 20 Nov 2010 19:59:48 +0000]
Clear errno before calling strtol

2 years agomove a shrd back a bit (or a mov forward). small benefit.
Richard Kettlewell [Sat, 20 Nov 2010 19:52:51 +0000]
move a shrd back a bit (or a mov forward).  small benefit.

2 years agoShave off some more cycles using lea
Richard Kettlewell [Sat, 20 Nov 2010 19:48:06 +0000]
Shave off some more cycles using lea

2 years agomove shrds up a bit in the hope of parallelizing with the
Richard Kettlewell [Sat, 20 Nov 2010 18:56:45 +0000]
move shrds up a bit in the hope of parallelizing with the
now-subsequent imul.  a small measured improvement.

2 years agooptimization TODO
Richard Kettlewell [Sat, 20 Nov 2010 18:22:11 +0000]
optimization TODO

2 years agoalign inner loop. seems to improve performance a tiny amount
Richard Kettlewell [Sat, 20 Nov 2010 18:14:37 +0000]
align inner loop.  seems to improve performance a tiny amount

2 years agosacrifice a bit or two at the bottom for ~30% reduction in runtime
Richard Kettlewell [Sat, 20 Nov 2010 18:04:25 +0000]
sacrifice a bit or two at the bottom for ~30% reduction in runtime

2 years agoRestrict Fixed64 to actual iteration; it cannot represent large enough
Richard Kettlewell [Sat, 20 Nov 2010 17:48:16 +0000]
Restrict Fixed64 to actual iteration; it cannot represent large enough
integers to do all the other work, which we therefore keep in Fixed.

2 years agofixed64 arith_traits
Richard Kettlewell [Sat, 20 Nov 2010 17:37:10 +0000]
fixed64 arith_traits

2 years agoC++ fixed64
Richard Kettlewell [Sat, 20 Nov 2010 17:34:41 +0000]
C++ fixed64

2 years agoA couple more assembler fixes
Richard Kettlewell [Sat, 20 Nov 2010 17:22:09 +0000]
A couple more assembler fixes

2 years agobetter test output
Richard Kettlewell [Sat, 20 Nov 2010 16:30:33 +0000]
better test output

2 years agoCorrect register
Richard Kettlewell [Sat, 20 Nov 2010 16:13:48 +0000]
Correct register

2 years agoAsserts
Richard Kettlewell [Sat, 20 Nov 2010 16:13:39 +0000]
Asserts

2 years agodon't use a temporary to store r^2 return
Richard Kettlewell [Sat, 20 Nov 2010 16:09:29 +0000]
don't use a temporary to store r^2 return

2 years agoMerge branch 'master' into fixed64
Richard Kettlewell [Sat, 20 Nov 2010 16:07:16 +0000]
Merge branch 'master' into fixed64

2 years agoinsist that test matches
Richard Kettlewell [Sat, 20 Nov 2010 16:06:28 +0000]
insist that test matches

2 years agoReset z0 for Fixed_iterate test
Richard Kettlewell [Sat, 20 Nov 2010 16:04:41 +0000]
Reset z0 for Fixed_iterate test

2 years agoComments
Richard Kettlewell [Sat, 20 Nov 2010 14:58:21 +0000]
Comments

2 years agoWIP 8.56 mandelbrot iterator
Richard Kettlewell [Sat, 20 Nov 2010 14:56:06 +0000]
WIP 8.56 mandelbrot iterator

2 years agoWIP 8.56 assembler support
Richard Kettlewell [Sat, 20 Nov 2010 13:53:39 +0000]
WIP 8.56 assembler support

2 years agofixed multiplication (right this time), square roots
Richard Kettlewell [Sat, 20 Nov 2010 12:59:56 +0000]
fixed multiplication (right this time), square roots

2 years agodivision
Richard Kettlewell [Sat, 20 Nov 2010 12:39:50 +0000]
division

2 years agoCorrect multiplication
Richard Kettlewell [Sat, 20 Nov 2010 12:22:04 +0000]
Correct multiplication

2 years agoWIP 8.56 fixed point in C
Richard Kettlewell [Sat, 20 Nov 2010 12:05:22 +0000]
WIP 8.56 fixed point in C

2 years ago--with-short-fixed-point configure option
Richard Kettlewell [Sat, 20 Nov 2010 11:10:31 +0000]
--with-short-fixed-point configure option

2 years agoassembler syntax
Richard Kettlewell [Fri, 19 Nov 2010 21:59:07 +0000]
assembler syntax

2 years agoupdate docs
Richard Kettlewell [Sun, 14 Nov 2010 19:19:11 +0000]
update docs

2 years agoSave JPEGs and PNGs as well
Richard Kettlewell [Sun, 14 Nov 2010 19:05:48 +0000]
Save JPEGs and PNGs as well

2 years agowidth/height on command line
Richard Kettlewell [Sun, 14 Nov 2010 18:52:18 +0000]
width/height on command line

2 years agodraw a ppm from the command line
Richard Kettlewell [Sun, 14 Nov 2010 18:49:11 +0000]
draw a ppm from the command line

2 years agoSmooth coloring for the fixed point version. Cheats by converting
Richard Kettlewell [Sun, 14 Nov 2010 18:03:19 +0000]
Smooth coloring for the fixed point version.  Cheats by converting
r^2 to double, so might get crufty at high magnifications?

2 years agoRather less garish
Richard Kettlewell [Sun, 14 Nov 2010 17:57:32 +0000]
Rather less garish

2 years agoSmooth (if rather garish) coloring
Richard Kettlewell [Sun, 14 Nov 2010 17:53:06 +0000]
Smooth (if rather garish) coloring

2 years agoColor according to n-log2(log(r^2)). Still steppy. Fixed point
Richard Kettlewell [Sun, 14 Nov 2010 17:39:56 +0000]
Color according to n-log2(log(r^2)).  Still steppy.  Fixed point
version missing.

2 years agoMore count_t
Richard Kettlewell [Sun, 14 Nov 2010 17:25:23 +0000]
More count_t

2 years agoPreparatory work for smooth coloring.
Richard Kettlewell [Sun, 14 Nov 2010 14:05:28 +0000]
Preparatory work for smooth coloring.

2 years agoMake color functions templates so we can mess with 'count' type
Richard Kettlewell [Sun, 14 Nov 2010 13:37:06 +0000]
Make color functions templates so we can mess with 'count' type
conveniently.

2 years agoMove color selection into lib/
Richard Kettlewell [Sun, 14 Nov 2010 13:29:25 +0000]
Move color selection into lib/

2 years agoDocument --with-long-double
Richard Kettlewell [Sun, 14 Nov 2010 13:03:04 +0000]
Document --with-long-double

2 years agoImplement --with-long-double
Richard Kettlewell [Sun, 14 Nov 2010 13:02:55 +0000]
Implement --with-long-double

2 years agoBuild fixes for sid/32
Richard Kettlewell [Sat, 13 Nov 2010 20:23:03 +0000]
Build fixes for sid/32

2 years agoLoad cx/cy correctly fixed
Richard Kettlewell [Sat, 13 Nov 2010 19:40:53 +0000]
Load cx/cy correctly

2 years agoCorrect escape test
Richard Kettlewell [Sat, 13 Nov 2010 19:29:00 +0000]
Correct escape test

2 years agoWIP more asm iteration counter fixing
Richard Kettlewell [Sat, 13 Nov 2010 19:10:28 +0000]
WIP more asm iteration counter fixing

2 years agoCorrect square's abs()
Richard Kettlewell [Sat, 13 Nov 2010 18:59:25 +0000]
Correct square's abs()

2 years agoRetrieve iteration count on escape
Richard Kettlewell [Sat, 13 Nov 2010 18:56:49 +0000]
Retrieve iteration count on escape

2 years agoTest case for broken iteration computation
Richard Kettlewell [Sat, 13 Nov 2010 18:54:34 +0000]
Test case for broken iteration computation

2 years agoCorrect register preservation
Richard Kettlewell [Sat, 13 Nov 2010 18:54:24 +0000]
Correct register preservation

2 years agoUse less stack
Richard Kettlewell [Sat, 13 Nov 2010 18:43:40 +0000]
Use less stack

2 years agoFix sign of zx*zy
Richard Kettlewell [Sat, 13 Nov 2010 18:40:44 +0000]
Fix sign of zx*zy

2 years ago(nonworking) assembler iterate function
Richard Kettlewell [Sat, 13 Nov 2010 18:34:07 +0000]
(nonworking) assembler iterate function

2 years agoMove main loop into traits, so it can be specialized
Richard Kettlewell [Sat, 13 Nov 2010 15:14:56 +0000]
Move main loop into traits, so it can be specialized

2 years agonote how to enable fp math
Richard Kettlewell [Sat, 13 Nov 2010 14:49:23 +0000]
note how to enable fp math

2 years agoReorganize arithmetic traits stuff so it's more reliably included
Richard Kettlewell [Sat, 13 Nov 2010 14:40:51 +0000]
Reorganize arithmetic traits stuff so it's more reliably included
where it needs to be.

2 years agolinux (and other) build fixes
Richard Kettlewell [Sat, 13 Nov 2010 13:46:59 +0000]
linux (and other) build fixes

2 years agoConvert string to fixed point integer, use it from control panel.
Richard Kettlewell [Sat, 13 Nov 2010 13:33:25 +0000]
Convert string to fixed point integer, use it from control panel.

2 years agoFixed_divu works on -ve operands
Richard Kettlewell [Sat, 13 Nov 2010 10:14:14 +0000]
Fixed_divu works on -ve operands

2 years ago--without-assembler option to suppress assembler implementations|
Richard Kettlewell [Sat, 13 Nov 2010 10:06:05 +0000]
--without-assembler option to suppress assembler implementations|

2 years agoUse signed cc for sign test
Richard Kettlewell [Sat, 13 Nov 2010 09:59:58 +0000]
Use signed cc for sign test

2 years agohex print, test case for multiplier fail
Richard Kettlewell [Fri, 12 Nov 2010 20:06:17 +0000]
hex print, test case for multiplier fail