Revision d35527d9 target-sparc/op_helper.c

b/target-sparc/op_helper.c
1636 1636
}
1637 1637

  
1638 1638
#else
1639
target_ulong helper_rdccr(void)
1640
{
1641
    return GET_CCR(env);
1642
}
1643

  
1644
void helper_wrccr(target_ulong new_ccr)
1645
{
1646
    PUT_CCR(env, new_ccr);
1647
}
1648

  
1649
// CWP handling is reversed in V9, but we still use the V8 register
1650
// order.
1651
target_ulong helper_rdcwp(void)
1652
{
1653
    return GET_CWP64(env);
1654
}
1655

  
1656
void helper_wrcwp(target_ulong new_cwp)
1657
{
1658
    PUT_CWP64(env, new_cwp);
1659
}
1639 1660

  
1640 1661
// This function uses non-native bit order
1641 1662
#define GET_FIELD(X, FROM, TO)                                  \

Also available in: Unified diff