[LLVMdev] Intrinsic instruction to switch core

Silky Arora silkyar at umich.edu
Sun Mar 9 10:04:13 PDT 2014


Hi,

I am working on a project that requires me to suggest to the hardware
simulator (gem5) switch cores from one to another at the start of certain
basic blocks. Could someone advice me if I should go with introducing a new
Intrinsic instruction for this purpose. I will be following
http://llvm.org/docs/ExtendingLLVM.html for this. Gem5 has certain reserved
op-codes which I can use.

I was thinking of adding the new instruction to Other Ops type but haven't
quite figured out the whole procedure yet. The instruction requires to have
one intty argument (that can take values from 0-2) specifying the core type.
Any help or suggestions would be appreciated.

Regards,
Silky Arora
Graduate Student Research Assistant
University of Michigan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140309/6571fda4/attachment.html>


More information about the llvm-dev mailing list