[LLVMdev] how to interpret MRMDestReg in X86InstrFormat.td?

Jun Koi junkoi2004 at gmail.com
Wed Apr 23 20:30:43 PDT 2014


hi,

i am struggling to understand how MRMDestReg is used in X86.

in X86InstrFormat.td, we have this:


class Format<bits<7> val> {
  bits<7> Value =
val;

}
def MRMDestReg : Format<3>


i think eventually, MRMDestReg is mapped back to ModMRM byte. but this
still doesnt make sense to me why MRMDestReg is defined this way, and how
it is mapped back to ModRM byte.

any hint please?

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140424/2568625f/attachment.html>


More information about the llvm-dev mailing list