-
This issue tracks adding memory barrier to native AOT R2R asm helpers on LoongArch64 and RiscV
See #106004 for arm and arm64 of the change.
-
I've tried using the `asm` tool for riscv32 and riscv64 and it doesn't seem to work correctly.
Example:
```shell
$ asm -c riscv32 'nop'
[!] Could not find system include headers for riscv32-li…
-
```
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -I. -I/home/yansendao/git/riscv-port-j…
-
```
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -I. -I/home/yansendao/git/riscv-port-j…
-
```
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -I. -I/home/yansendao/git/riscv-port-j…
-
```
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -I. -I/home/yansendao/git/riscv-port-j…
-
```
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DPRODUCT -I. -I/home/yansendao/git/riscv-port-jdk8…
-
```
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -I. -I/home/yansendao/git/riscv-port-j…
-
```
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DPRODUCT -I. -I/home/yansendao/git/riscv-port-jdk8…
-
```
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DPRODUCT -I. -I/home/yansendao/git/riscv-port-jdk8…