4.7.2.4 Nodiva Attribute

The __nodiva attribute indicates that the function should not be encoded to use the DIVA module for and division, shift or modulus operations. Instead, these operations will be performed using software routines. For example:
void __attribute__((nodiva)) foo(void);
You can alternatively use the __nodiva specifier provided by <xc.h>, for example:
#include <xc.h>
void  __nodiva  foo(void);