this post was submitted on 16 Jun 2023
2 points (75.0% liked)
C Programming for Low Level Hardware
258 readers
1 users here now
A subreddit dedicated to the C language with an emphasis on microcontrollers and low level hardware. However, all C discussion welcome :)
Related communities:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Isn't
inline
technically just a suggestion to the compiler though? It's not necessarily guaranteed to inline it.Sure. So? If the compiler feels it's more efficient not to inline, who am I to judge? As far as I know there's nothing keeping the compiler from recognizing repetitive code generated by macros and factoring out into a single assembly routine...