An efficient and retargetable dynamic binary translator on multicores