User Activity

  • Created ticket #3787 on Small Device C Compiler (SDCC)

    MOS6502 interrupts

  • Posted a comment on ticket #944 on Small Device C Compiler (SDCC)

    It would be great! That's exactly what I meant. Thank you.

  • Posted a comment on ticket #944 on Small Device C Compiler (SDCC)

    It's true, kickc doesn't support runtime division. But I'm talking about static code generation at compile time. I'm not saying it's a bug (maybe I created this topic in a wrong section) but like you said, sub-optimal code generation. I think there is room for improvement for your consideration. Besides that, I really appreciate your work on this project and for giving others the opportunity to use such a tool. kickc results: c source #define F_CPU 25000000UL void CounterInit(uint32_t ms) { uint32_t...

  • Posted a comment on ticket #3784 on Small Device C Compiler (SDCC)

    I do expect some sort of optimization, i.e. when division (or any other arithmetic operation) is performed on two constant values, the final code would perform the load and store instructions only (to return the constant value, calculated on compiler's side), without jump to divide subroutine. I saw that in another implementations (like "kickc" ).

  • Created ticket #3784 on Small Device C Compiler (SDCC)

    Preventing code from being generated by using const qualifier

View All

Personal Data

Username:
haltir
Joined:
2024-10-01 13:16:30.170000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB