I dont like mixing specific asm code with C (moreover, the clipline macro is quite generic) but thanks for the advice.
I reported this because you had to perform some size optimization before being able to release RC7, and this one was a low-hanging fruit
Two other low-hanging fruits are replacing bsearch() and qsort() by ASM versions.
(Moreover what really costs is the multiplication and the division).
Indeed.