cpu.c (6c4591566d6f1257683d2ccc94b9360ee8315474) cpu.c (69ceea64bf565559a2b865ffb2a097d2caab805b)
1/*
2 * QEMU ARM CPU
3 *
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 218 unchanged lines hidden (view full) ---

227 * adjust the PC accordingly.
228 */
229 if (A32_BANKED_CURRENT_REG_GET(env, sctlr) & SCTLR_V) {
230 env->regs[15] = 0xFFFF0000;
231 }
232
233 env->vfp.xregs[ARM_VFP_FPEXC] = 0;
234#endif
1/*
2 * QEMU ARM CPU
3 *
4 * Copyright (c) 2012 SUSE LINUX Products GmbH
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2

--- 218 unchanged lines hidden (view full) ---

227 * adjust the PC accordingly.
228 */
229 if (A32_BANKED_CURRENT_REG_GET(env, sctlr) & SCTLR_V) {
230 env->regs[15] = 0xFFFF0000;
231 }
232
233 env->vfp.xregs[ARM_VFP_FPEXC] = 0;
234#endif
235
236 if (arm_feature(env, ARM_FEATURE_PMSA) &&
237 arm_feature(env, ARM_FEATURE_V7)) {
238 if (cpu->pmsav7_dregion > 0) {
239 memset(env->pmsav7.drbar, 0,
240 sizeof(*env->pmsav7.drbar) * cpu->pmsav7_dregion);
241 memset(env->pmsav7.drsr, 0,
242 sizeof(*env->pmsav7.drsr) * cpu->pmsav7_dregion);
243 memset(env->pmsav7.dracr, 0,
244 sizeof(*env->pmsav7.dracr) * cpu->pmsav7_dregion);
245 }
246 env->pmsav7.rnr = 0;
247 }
248
235 set_flush_to_zero(1, &env->vfp.standard_fp_status);
236 set_flush_inputs_to_zero(1, &env->vfp.standard_fp_status);
237 set_default_nan_mode(1, &env->vfp.standard_fp_status);
238 set_float_detect_tininess(float_tininess_before_rounding,
239 &env->vfp.fp_status);
240 set_float_detect_tininess(float_tininess_before_rounding,
241 &env->vfp.standard_fp_status);
242#ifndef CONFIG_USER_ONLY

--- 1476 unchanged lines hidden ---
249 set_flush_to_zero(1, &env->vfp.standard_fp_status);
250 set_flush_inputs_to_zero(1, &env->vfp.standard_fp_status);
251 set_default_nan_mode(1, &env->vfp.standard_fp_status);
252 set_float_detect_tininess(float_tininess_before_rounding,
253 &env->vfp.fp_status);
254 set_float_detect_tininess(float_tininess_before_rounding,
255 &env->vfp.standard_fp_status);
256#ifndef CONFIG_USER_ONLY

--- 1476 unchanged lines hidden ---