ARM: Fix sense of to_integer bit in Neon VCVT float/int conversion
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
This commit is contained in:
parent
f73534a56e
commit
d3587ef81d
@ -5664,17 +5664,17 @@ static int disas_neon_data_insn(CPUState * env, DisasContext *s, uint32_t insn)
|
|||||||
gen_helper_rsqrte_f32(cpu_F0s, cpu_F0s, cpu_env);
|
gen_helper_rsqrte_f32(cpu_F0s, cpu_F0s, cpu_env);
|
||||||
break;
|
break;
|
||||||
case 60: /* VCVT.F32.S32 */
|
case 60: /* VCVT.F32.S32 */
|
||||||
gen_vfp_tosiz(0);
|
|
||||||
break;
|
|
||||||
case 61: /* VCVT.F32.U32 */
|
|
||||||
gen_vfp_touiz(0);
|
|
||||||
break;
|
|
||||||
case 62: /* VCVT.S32.F32 */
|
|
||||||
gen_vfp_sito(0);
|
gen_vfp_sito(0);
|
||||||
break;
|
break;
|
||||||
case 63: /* VCVT.U32.F32 */
|
case 61: /* VCVT.F32.U32 */
|
||||||
gen_vfp_uito(0);
|
gen_vfp_uito(0);
|
||||||
break;
|
break;
|
||||||
|
case 62: /* VCVT.S32.F32 */
|
||||||
|
gen_vfp_tosiz(0);
|
||||||
|
break;
|
||||||
|
case 63: /* VCVT.U32.F32 */
|
||||||
|
gen_vfp_touiz(0);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* Reserved: 21, 29, 39-56 */
|
/* Reserved: 21, 29, 39-56 */
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user