Commit d3587ef8 authored by Peter Maydell's avatar Peter Maydell
Browse files

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


Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarNathan Froyd <froydnj@codesourcery.com>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment