soc/runtime: split main.c, add gcd64