ami_stuff wrote: > > Maybe it's also possible to use this asm inline also for these functions? > > #ifndef MULL > # define MULL(a,b,s) (((int64_t)(a) * (int64_t)(b)) >> (s)) > #endif > > #ifndef MUL64 > # define MUL64(a,b) ((int64_t)(a) * (int64_t)(b)) > #endif > > #ifndef MAC64 > # define MAC64(d, a, b) ((d) += MUL64(a, b)) > #endif > > #ifndef MLS64 > # define MLS64(d, a, b) ((d) -= MUL64(a, b)) > #endif > > All functions used by FFmpeg's mp3 decoder. Yes, but you must be careful. These macros will be interpreted differently depending on whether their arguments are signed or unsigned, so you must ensure their assembly replacements are appropriate. Andrew.