Closed lrzlin closed 2 months ago
Implement LoongArch dbar 0 memory fence, which is a full memory barrier just like fence iorw, iorw on RISC-V.
dbar 0
fence iorw, iorw
Also support tmp register for atomic, it worth noticing that TMP_REG2 seems to have collision issues, so I use TMP_REG3 instead.
TMP_REG2
TMP_REG3
Done: https://github.com/zherczeg/sljit/issues/262
Implement LoongArch
dbar 0
memory fence, which is a full memory barrier just likefence iorw, iorw
on RISC-V.Also support tmp register for atomic, it worth noticing that
TMP_REG2
seems to have collision issues, so I useTMP_REG3
instead.Done: https://github.com/zherczeg/sljit/issues/262