expanding instructions to match the way it is called by build.sh in riscv-tools