[Lldb-commits] [PATCH] D140759: [LLDB][LoongArch] Add FP branch instructions for EmulateInstructionLoongArch

Hui Li via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 2 18:42:12 PST 2023


lh03061238 added inline comments.


================
Comment at: lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp:154
+  opcode = opcode >> 2;
+  return opcode << 26 | offs15_0 << 10 | bcxxz << 8 | cj << 5 | offs20_16;
+}
----------------
SixWeining wrote:
> Seems you can use `opcode & 0b11` directly.
will be modified,
thanks.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140759/new/

https://reviews.llvm.org/D140759



More information about the lldb-commits mailing list