support x86 and mips