Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Hardware Linux

Developers Try Again To Upstream Motorola 68000 Series Support In LLVM (phoronix.com) 69

Hobbyist developers are trying once again to get a Motorola 68000 back-end merged into the upstream LLVM compiler. Phoronix reports: The Motorola 68000 series processors have been around since the 80's thanks to the likes of the early Apple Macintosh computers. Fast forward to 2020, the Motorola 68000 is still a popular target for vintage computer enthusiasts and hobbyists. Community developers have worked on improving the Linux kernel support for M68k hardware like early Apple Powerbooks as recently as a few years ago and the compiler support is a continued target. GCC 11 due out next year was looking to drop the M68k target over its unmaintained status. Hobbyists though stepped up there so the M68k support will remain in GCC. Now developers are also looking at adding M68k support to the LLVM compiler.

This isn't the first time that M68k support for LLVM has been brought up albeit never successfully landed to date. Building off the past failures to get the Motorola 68000 series support upstreamed, developers last week sent out new patches proposing this back-end -- this time they are showing more clarity about the developers involved and being committed to supporting the code, the sustainability of the code, and responding quickly to code review comments. This patch series is the latest attempt at upstreaming Motorola 68000 series support in LLVM. Besides all the back-end specific code there is also some common LLVM code changes that fall under greater scrutiny.

This discussion has been archived. No new comments can be posted.

Developers Try Again To Upstream Motorola 68000 Series Support In LLVM

Comments Filter:
  • Amiga, et al (Score:5, Informative)

    by Dan East ( 318230 ) on Wednesday September 30, 2020 @07:01PM (#60558946) Journal

    The 68000 was also in a number of systems that sold far more units and were more popular (and affordable) than the mac at that time. Like the Commodore Amiga, Atari ST and the Sega Genesis, to name a few.

    • Re: (Score:3, Informative)

      by Cmdln Daco ( 1183119 )

      It was also used in 'grown up' computers like the Apollo and Sun workstations, not just in consumer compters sold in department stores.

  • by iggymanz ( 596061 ) on Wednesday September 30, 2020 @07:07PM (#60558962)

    variants of the thing still around and sold. Look up pricing for 68SEC000 in bulk

    • Look to old industrial equipment for magic chips. They even put them in convenient sockets!
    • Imagine playing space invaders on a 68K fabricated on a 5nm chip. It will probably blaze at 12 Ghz .. that's about 3,000 times faster than 4Mhz, give or take. That's alien ships coming at you 3,000 times faster. Do you have a clue what that would be like?

      • by Bert64 ( 520050 )

        There is a more modern 68k compatible cpu on an fpga that's being used for amiga accelerator cards, if you could adapt this to an asic im sure it would be pretty quick.

      • Impossible no display refreshes at 3000mhz.
      • by hawk ( 1151 )

        It introduces a temporal problem, though . . . something needs to slow it down so that the user hasn't already lost before letting go of his quarter . . .

        hawk

      • Memory bandwidth is a big problem. No matter how fast the CPU, you still have to feed it data and get the answers back. Maybe 68K can make better use of cache than X86, but there's only so much gain possible.
  • Finally! (Score:5, Insightful)

    by AndyKron ( 937105 ) on Wednesday September 30, 2020 @07:30PM (#60559014)
    OK. This is genuinely news for news about stuff that matters
  • by kriston ( 7886 ) on Wednesday September 30, 2020 @07:50PM (#60559066) Homepage Journal

    Why hasn't the DragonBall processor community kept it alive?

  • Why does nobody care about the 4004 and 6502 and 6510 ?
    • Because none of those were as easy to design boards and write software for as the 68K, and aren't really good for much more than rolling your own Apple II, C64, and other early systems when compared to other 8-bit solutions. The 4004 is even more limited and was discontinued almost 40 years ago. Useful legacy 8-bit processors like the Z80 and 8051 are still made, and the 6809 is available as an FPGA core. For new designs, there are far better/faster 8-bit chips available today.

    • Comment removed based on user account deletion
      • by tepples ( 727027 )

        The 68000 has a 32 bit ISA. It's trivial to have GCC support it, I'm surprised they removed support for it in the first place.

        They didn't.

        Condition codes are used for branching and inter-word propagation of bitwise operations: zero, negative, carry, extend, overflow. GCC was about to remove support for an old condition code framework that only the back end for m68k (the 68000 family) really still used. The Amiga scene managed to crowdfund paying a compiler expert to port m68k to GCC's current condition code framework.

  • by DrXym ( 126579 ) on Thursday October 01, 2020 @05:38AM (#60560012)
    Some industrial control devices and other embedded systems still contain 68000 derived processors. I'm not sure if they're still manufactured but they were until a few years ago.
    • If there is still a demand for 68000, they may still be manufactured, but at a price. This is sometimes necessary to support military hardware, that has a long service life.

      There is a niche market for manufacturers of legacy chips. As far as I know, the legacy chip manufacturer will buy the manufacturing line off the original manufacturer, who no longer uses it. I came across something like this with the continuing manufacture of polycarbonate film capacitors. These were discontinued when the chemical compa

      • CMOS version are still sold and used, very cheap in bulk $15-20 each in qty of hundreds to thousands.

      • by DrXym ( 126579 )
        Freescale sold 68000 derivatives until very recently and maybe there are others still selling designs. I can't know their reasons for using the instruction set for sure but I imagine it boils down to it being a relatively low cost and reliable architecture for the market they're targeting which is ultra-simple embedded devices where even ARM is overkill.
        • More recent micros, such as 32 bit PICs, are much better value than the 68000 in hardware terms. I was surprised at the low price, e,g. just a few pounds; not much more than the 16 bit PIC families.

          There is maybe a consideration of sticking with a known architecture, which allows for code and hardware design re-use. In the case of my work, it has nearly always been PIC micros, from the smallest 8 bit devices, and approaching the big 32 bit devices. Our biggest usage is 16 bit devices. There is some merit in

  • I bet they're having trouble to make the LLVM properly use the blast processing.

Whoever dies with the most toys wins.

Working...