Revision d35527d9 target-sparc/op.c

b/target-sparc/op.c
258 258
    FORCE_RET();
259 259
}
260 260
#else
261
void OPPROTO op_rdccr(void)
262
{
263
    T0 = GET_CCR(env);
264
}
265

  
266
void OPPROTO op_wrccr(void)
267
{
268
    PUT_CCR(env, T0);
269
}
270

  
271
// CWP handling is reversed in V9, but we still use the V8 register
272
// order.
273
void OPPROTO op_rdcwp(void)
274
{
275
    T0 = GET_CWP64(env);
276
}
277

  
278
void OPPROTO op_wrcwp(void)
279
{
280
    PUT_CWP64(env, T0);
281
}
282

  
283 261
/* XXX: use another pointer for %iN registers to avoid slow wrapping
284 262
   handling ? */
285 263
void OPPROTO op_save(void)

Also available in: Unified diff