Efficient custom instruction generation based on characterizing of basic blocks | IEEE Conference Publication | IEEE Xplore