flexible portability macro to handle Intel-MIPS BES