←back to thread

23 points ingve | 2 comments | | HN request time: 0.398s | source
Show context
mannyv ◴[] No.41875816[source]
If you can find a copy Apple's SANE for the 6502 test it. It was faster than hardware fpus. That was according to a friend who was an FP geek back when.
replies(2): >>41876206 #>>41876676 #
1. spc476 ◴[] No.41876206[source]
First off, the assembler is for a Motorola 6809, which is not a 6502. Second, one benchmark result I found [1] showed it being a bit slower than some alternatives.

[1] https://www.callapple.org/programming/sane-programming-on-th...

replies(1): >>41877377 #
2. adrian_b ◴[] No.41877377[source]
Motorola MC6809 was much faster for floating-point computations than any other 8-bit microprocessor, because it not only had 16-bit additions, but it also had 8 bit by 8 bit multiplications. No other 8-bit microprocessor had multiplication instructions.

MC6809 had a very beautiful ISA in comparison with all other 8-bit microprocessors, but it was launched too late, in 1979, when there already were the 16-bit microprocessors Intel 8086 and Motorola MC68000.

Motorola had made the mistake of developing simultaneously two incompatible instruction sets, MC6809 intended for cheap CPUs and MC68000 intended for expensive CPUs. They should have developed a single architecture, with a stripped-down version of MC68000 for cheap CPUs, like they have done later with MC68008, but only when it was too late, because the cheap version of Intel 8086, i.e. Intel 8088 had already won the IBM PC.