solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
277 stars 169 forks source link

Fix mislabelled mul64_imm and mul64_reg #573

Closed deanmlittle closed 5 months ago

deanmlittle commented 5 months ago

MUL64_IMM and MUL64_REG opcodes were both mislabelled in the comments as div64 which also stated that they perform an operation equivalent /=. This commit accurately labels them both as mul64 and performing an operation equivalent to *=.