aboutsummaryrefslogtreecommitdiff
path: root/sim/bpf
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bpf')
-rw-r--r--sim/bpf/bpf-sim.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sim/bpf/bpf-sim.c b/sim/bpf/bpf-sim.c
index dbffa89..c1f1038 100644
--- a/sim/bpf/bpf-sim.c
+++ b/sim/bpf/bpf-sim.c
@@ -943,13 +943,6 @@ execute (SIM_CPU *cpu, struct bpf_insn *insn)
bpf_read_u64 (cpu, bpf_regs[BPF_R6] + skb_data_offset)
+ bpf_regs[insn->src] + insn->imm32);
break;
- case BPF_INSN_LDINDDW:
- BPF_TRACE ("BPF_INSN_LDINDDW\n");
- bpf_regs[BPF_R0] = bpf_read_u64 (cpu,
- bpf_read_u64 (cpu, bpf_regs[BPF_R6] + skb_data_offset)
- + bpf_regs[insn->src] + insn->imm32);
- break;
- /* Absolute load instructions. */
case BPF_INSN_LDABSB:
BPF_TRACE ("BPF_INSN_LDABSB\n");
bpf_regs[BPF_R0] = bpf_read_u8 (cpu,
@@ -968,12 +961,6 @@ execute (SIM_CPU *cpu, struct bpf_insn *insn)
bpf_read_u64 (cpu, bpf_regs[BPF_R6] + skb_data_offset)
+ insn->imm32);
break;
- case BPF_INSN_LDABSDW:
- BPF_TRACE ("BPF_INSN_LDABSDW\n");
- bpf_regs[BPF_R0] = bpf_read_u64 (cpu,
- bpf_read_u64 (cpu, bpf_regs[BPF_R6] + skb_data_offset)
- + insn->imm32);
- break;
/* Generic load instructions (to register.) */
case BPF_INSN_LDXB:
BPF_TRACE ("BPF_INSN_LDXB\n");