Advanced Instruction Folding for an Object-oriented Processor

jHISC is an object-oriented processor with RISC core and architectural support for object instructions. It is a three-addressing machine instead of a stack machine as JVM. With instruction folding techniques, several JVM operations could be translated into fewer or one jHISC three-address machine code, and they execute more effectively. This paper presents an improved folding algorithm for jHISC V4.0 in which the bytecodes are divided into six types and treat the intermediate operation result as P type operations and our instruction folding algorithm is further implemented in hardware level to further reduce the translation burden in software level.