------- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-16 15:50 ------- GCC already does something like this. For /10, GCC produces: f: movl $-858993459, %eax mull 4(%esp) shrl $3, %edx movl %edx, %eax ret
Maybe I don't understand what you are requesting. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28395