#236 Faster 8-bit multiplication with constants on Z80

closed
None
4
2008-02-22
2008-02-20
No

sdcc generates code that uses 16-bit additions in multiplications even when the result is an 8-bit value (so the upper 8 bits are ignored) (see the last loop in gen.c). 8-bit additions would be faster.

Philipp

Discussion

  • Philipp Klaus Krause

    • status: open --> closed
     
  • Philipp Klaus Krause

    Logged In: YES
    user_id=564030
    Originator: YES

    Implemented in #5041.

     

Log in to post a comment.