<div dir="ltr"><div><div><div><div><div>Dear,<br><br></div>I have modified the LLVM X86 backend by adding some new instructions. I would like to compile my programs using llvm and run them on a CPU simulated by gem5.<br></div>

I have a few questions regarding this mostly related to the consistency of the machine code generated by llvm and accepted by gem5 (Opcode differences.). <br></div> <br></div>In  gem5, OR instructions are supported at opcodes different from llvm opcodes for OR. I am facing similar problems with my new instructions.<br>

</div>I would like to run my executable generated by llvm on a gem5 simulator.<br><br clear="all"><div><div><div><div><div><div><div><div><div>Any help would be appreciated.<br></div><div>-- <br>Pratik<div><br></div>
</div></div></div></div></div></div></div></div></div></div>