llvm.org GIT mirror llvm / c6f864f
[Docs][CodeGenerator][eBPF] Correct the values for BPF_X and BPF_K Fix the values of BPF_X and BPF_K according to BPFInstrFormats.td: " def BPF_K : BPFSrcType<0x0>; def BPF_X : BPFSrcType<0x1>; " The right value for BPF_X is 0x1, and the right value for BPF_K is 0x0. Signed-off-by: Wang YanQing <udknight@gmail.com> Differential Revision: https://reviews.llvm.org/D61512 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359904 91177308-0d34-0410-b5e6-96231b3b80d8 Yonghong Song 1 year, 5 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
25262526
25272527 ::
25282528
2529 BPF_X 0x0 use src_reg register as source operand
2530 BPF_K 0x1 use 32 bit immediate as source operand
2529 BPF_X 0x1 use src_reg register as source operand
2530 BPF_K 0x0 use 32 bit immediate as source operand
25312531
25322532 and four MSB bits store operation code
25332533