Commit 2af1c8c
committed
Fix compiler errors with JIT when Zbs is disabled
When using 'make ENABLE_Zbs=0 ENABLE_JIT=1', the following errors are
observed:
src/jit.c:1760:17: error: ‘do_bseti’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_bset’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_binvi’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_binv’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_bexti’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_bext’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_bclri’ defined but not used [-Werror=unused-function]
src/jit.c:1760:17: error: ‘do_bclr’ defined but not used [-Werror=unused-function
]
Include "Zbs" in EXT_LIST to ensure instructions like `bseti`, `bset`,
and `bclr` are properly handled, resolving unused function errors
during JIT builds.1 parent 37a2a99 commit 2af1c8c
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | | - | |
| 146 | + | |
137 | 147 | | |
138 | 148 | | |
139 | 149 | | |
| |||
0 commit comments