Skip to content

Commit 9458e96

Browse files
committed
Remove xtensa constraints for f64_cmp to avoid relocations
1 parent a10ac13 commit 9458e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/compilation/aot_emit_compare.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ aot_compile_op_f64_compare(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
205205

206206
if (comp_ctx->disable_llvm_intrinsics
207207
&& aot_intrinsic_check_capability(comp_ctx, "f64_cmp")
208-
&& strcmp(comp_ctx->target_arch, "xtensa")) {
208+
) {
209209
LLVMTypeRef param_types[3];
210210
LLVMValueRef opcond = LLVMConstInt(I32_TYPE, cond, true);
211211
param_types[0] = I32_TYPE;

0 commit comments

Comments
 (0)