Revision 01653295

b/target-arm/cpu.h
300 300
    }
301 301
}
302 302

  
303
/* Return the current FPSCR value.  */
304
uint32_t vfp_get_fpscr(CPUARMState *env);
305
void vfp_set_fpscr(CPUARMState *env, uint32_t val);
306

  
303 307
enum arm_cpu_mode {
304 308
  ARM_CPU_MODE_USR = 0x10,
305 309
  ARM_CPU_MODE_FIQ = 0x11,
b/target-arm/helper.c
2251 2251
    return fpscr;
2252 2252
}
2253 2253

  
2254
uint32_t vfp_get_fpscr(CPUState *env)
2255
{
2256
    return HELPER(vfp_get_fpscr)(env);
2257
}
2258

  
2254 2259
/* Convert vfp exception flags to target form.  */
2255 2260
static inline int vfp_exceptbits_to_host(int target_bits)
2256 2261
{
......
2307 2312
    set_float_exception_flags(i, &env->vfp.fp_status);
2308 2313
}
2309 2314

  
2315
void vfp_set_fpscr(CPUState *env, uint32_t val)
2316
{
2317
    HELPER(vfp_set_fpscr)(env, val);
2318
}
2319

  
2310 2320
#define VFP_HELPER(name, p) HELPER(glue(glue(vfp_,name),p))
2311 2321

  
2312 2322
#define VFP_BINOP(name) \

Also available in: Unified diff