Skip to content

Commit 67c33a2

Browse files
authored
CI: Enable XIP spectest for RISCV32 ILP32F (#3727)
1 parent 4c12771 commit 67c33a2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/spec_test_on_nuttx.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ jobs:
125125
- target_config: { config: "boards/risc-v/qemu-rv/rv-virt/configs/nsh64" }
126126
wamr_test_option: { mode: "-t aot -X" }
127127

128-
# XIP is not fully supported yet on RISCV32 ILP32F, some relocations can not be resolved
129-
- target_config: { config: "boards/risc-v/qemu-rv/rv-virt/configs/nsh", fpu_type: "fp" }
130-
wamr_test_option: { mode: "-t aot -X" }
131-
132128
# Our xtensa environment doesn't have enough memory
133129
- target_config: { target: "xtensa" }
134130
wamr_feature_option: { mode: "-G" }

tests/wamr-test-suites/spec-test-script/runtest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
# AOT compilation options mapping for XIP mode
6666
aot_target_options_map_xip = {
6767
# avoid l32r relocations for xtensa
68-
"xtensa": ["--mllvm=-mtext-section-literals"]
68+
"xtensa": ["--mllvm=-mtext-section-literals"],
69+
"riscv32_ilp32f": ["--enable-builtin-intrinsics=i64.common,f64.common,f32.const,f64.const,f64xi32,f64xi64,f64_promote_f32,f32_demote_f64"],
6970
}
7071

7172
def debug(data):

0 commit comments

Comments
 (0)