Make the most of compiled C loops on the 68000

(dciabrin.net)

18 points | by floitsch 2 days ago ago

3 comments

  • dmitrygr 2 days ago ago

    Significant further gains are possible by simply unrolling the loop eight or 16 times to lower the overhead of the DBF per word written

  • p_l 2 days ago ago

    The step with declaring hw registers in assembly reminds me how assignment of value to pointer is IIRC at best implementation defined, and at worst UB, and playing around with volatile saves you not from zealous optimizer.

    Arguably every hardware register should be declared that way as a symbol

  • pjmlp 2 days ago ago

    With Assembly.