[LLDB][LoongArch] Add FP branch instructions for EmulateInstructionLoongArch
authorHui Li <lihui@loongson.cn>
Fri, 13 Jan 2023 02:26:05 +0000 (10:26 +0800)
committerWeining Lu <luweining@loongson.cn>
Sat, 14 Jan 2023 01:22:18 +0000 (09:22 +0800)
commitb7ae5762a110ee7c28b218b4ed4e3e24b2b3c64d
tree331b535edf3a3ee3c942b53064562c553b6d9b1c
parentb1f4f06dede54627c546d0e7f21e7e72295f280b
[LLDB][LoongArch] Add FP branch instructions for EmulateInstructionLoongArch

Add floating-point branch Instructions for EmulateInstructionLoongArch and
add relevant unit tests.

Without this patch:

```
$ ninja check-lldb-unit
[0/1] Running lldb unit test suite

Testing Time: 10.45s
  Passed: 1044
```

With this patch:

```
$ ninja check-lldb-unit
[0/1] Running lldb unit test suite

Testing Time: 10.20s
  Passed: 1048

```

Reviewed By: SixWeining, MaskRay, DavidSpickett

Differential Revision: https://reviews.llvm.org/D140759
lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.cpp
lldb/source/Plugins/Instruction/LoongArch/EmulateInstructionLoongArch.h
lldb/unittests/Instruction/LoongArch/TestLoongArchEmulator.cpp