On 9/14/21 6:00 AM, Song Gao wrote:
This patch implement fixed point atomic instruction translation.

This includes:
- LL.{W/D}, SC.{W/D}
- AM{SWAP/ADD/AND/OR/XOR/MAX/MIN}[_DB].{W/D}
- AM{MAX/MIN}[_DB].{WU/DU}

Signed-off-by: Song Gao<[email protected]>
Signed-off-by: XiaoJuan Yang<[email protected]>
---
  target/loongarch/insn_trans/trans_atomic.c | 133 +++++++++++++++++++++++++++++
  target/loongarch/insns.decode              |  44 ++++++++++
  target/loongarch/translate.c               |   1 +
  3 files changed, 178 insertions(+)
  create mode 100644 target/loongarch/insn_trans/trans_atomic.c

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to