add support x86 and mips

Signed-off-by: Young-Ho Cha <ganadist@gmail.com>