提交 d3587ef8 编写于 作者: P Peter Maydell

ARM: Fix sense of to_integer bit in Neon VCVT float/int conversion

Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: NNathan Froyd <froydnj@codesourcery.com>
上级 f73534a5
......@@ -5664,16 +5664,16 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
gen_helper_rsqrte_f32(cpu_F0s, cpu_F0s, cpu_env);
break;
case 60: /* VCVT.F32.S32 */
gen_vfp_tosiz(0);
gen_vfp_sito(0);
break;
case 61: /* VCVT.F32.U32 */
gen_vfp_touiz(0);
gen_vfp_uito(0);
break;
case 62: /* VCVT.S32.F32 */
gen_vfp_sito(0);
gen_vfp_tosiz(0);
break;
case 63: /* VCVT.U32.F32 */
gen_vfp_uito(0);
gen_vfp_touiz(0);
break;
default:
/* Reserved: 21, 29, 39-56 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册