[llvm-dev] [iovisor-dev] [PATCH, BPF 2/5] BPF: Rearrange instruction classes

Richard Henderson via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 16 10:00:32 PDT 2016


On 06/15/2016 10:23 PM, Alexei Starovoitov wrote:
>> +class F_CMS<bits<3> cls, bits<3> mode, bits<2> sz,
> ...
>> +class F_COF<bits<3> cls, bits<4> op, bits<1> srcf,
> 
> what F_CMS and F_COF abbreviations mean?

"Code, Mode, Size" and "Code, Op, source Flag"

which are the two field tuples.  A comment would have been handy, I admit.


r~



More information about the llvm-dev mailing list