aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_asm_arm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index 8e0ebd7a..ccd20545 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -1046,7 +1046,7 @@ static ARMIns asm_fxloadins(IRIns *ir)
1046 case IRT_I16: return ARMI_LDRSH; 1046 case IRT_I16: return ARMI_LDRSH;
1047 case IRT_U16: return ARMI_LDRH; 1047 case IRT_U16: return ARMI_LDRH;
1048 case IRT_NUM: lua_assert(!LJ_SOFTFP); return ARMI_VLDR_D; 1048 case IRT_NUM: lua_assert(!LJ_SOFTFP); return ARMI_VLDR_D;
1049 case IRT_FLOAT: if (!LJ_SOFTFP) return ARMI_VLDR_S; 1049 case IRT_FLOAT: if (!LJ_SOFTFP) return ARMI_VLDR_S; /* fallthrough */
1050 default: return ARMI_LDR; 1050 default: return ARMI_LDR;
1051 } 1051 }
1052} 1052}
@@ -1057,7 +1057,7 @@ static ARMIns asm_fxstoreins(IRIns *ir)
1057 case IRT_I8: case IRT_U8: return ARMI_STRB; 1057 case IRT_I8: case IRT_U8: return ARMI_STRB;
1058 case IRT_I16: case IRT_U16: return ARMI_STRH; 1058 case IRT_I16: case IRT_U16: return ARMI_STRH;
1059 case IRT_NUM: lua_assert(!LJ_SOFTFP); return ARMI_VSTR_D; 1059 case IRT_NUM: lua_assert(!LJ_SOFTFP); return ARMI_VSTR_D;
1060 case IRT_FLOAT: if (!LJ_SOFTFP) return ARMI_VSTR_S; 1060 case IRT_FLOAT: if (!LJ_SOFTFP) return ARMI_VSTR_S; /* fallthrough */
1061 default: return ARMI_STR; 1061 default: return ARMI_STR;
1062 } 1062 }
1063} 1063}