Revision 77f193da target-sparc/cpu.h
b/target-sparc/cpu.h | ||
---|---|---|
347 | 347 |
#ifdef TARGET_SPARC64 |
348 | 348 |
#define GET_CCR(env) (((env->xcc >> 20) << 4) | ((env->psr & PSR_ICC) >> 20)) |
349 | 349 |
#define PUT_CCR(env, val) do { int _tmp = val; \ |
350 |
env->xcc = (_tmp >> 4) << 20; \
|
|
350 |
env->xcc = (_tmp >> 4) << 20; \ |
|
351 | 351 |
env->psr = (_tmp & 0xf) << 20; \ |
352 | 352 |
} while (0) |
353 | 353 |
#define GET_CWP64(env) (NWINDOWS - 1 - (env)->cwp) |
Also available in: Unified diff