diff --git a/platforms/riscv32.xml b/platforms/riscv32.xml
new file mode 100644
index 00000000000..1ba1f7e431d
--- /dev/null
+++ b/platforms/riscv32.xml
@@ -0,0 +1,18 @@
+
+
+ 8
+ unsigned
+
+ 1
+ 2
+ 4
+ 4
+ 8
+ 4
+ 8
+ 16
+ 4
+ 4
+ 4
+
+
diff --git a/platforms/riscv64.xml b/platforms/riscv64.xml
new file mode 100644
index 00000000000..818c2841580
--- /dev/null
+++ b/platforms/riscv64.xml
@@ -0,0 +1,18 @@
+
+
+ 8
+ unsigned
+
+ 1
+ 2
+ 4
+ 8
+ 8
+ 4
+ 8
+ 16
+ 8
+ 8
+ 4
+
+