Revision 5fafdf24 target-sparc/op.c

b/target-sparc/op.c
287 287
    __p.l.v1 = PARAM1;\
288 288
    __p.l.v0 = PARAM2;\
289 289
    __p.q;\
290
}) 
290
})
291 291

  
292 292
void OPPROTO op_movq_T0_im64(void)
293 293
{
......
1065 1065
void OPPROTO op_save(void)
1066 1066
{
1067 1067
    uint32_t cwp;
1068
    cwp = (env->cwp - 1) & (NWINDOWS - 1); 
1068
    cwp = (env->cwp - 1) & (NWINDOWS - 1);
1069 1069
    if (env->wim & (1 << cwp)) {
1070 1070
        raise_exception(TT_WIN_OVF);
1071 1071
    }
......
1076 1076
void OPPROTO op_restore(void)
1077 1077
{
1078 1078
    uint32_t cwp;
1079
    cwp = (env->cwp + 1) & (NWINDOWS - 1); 
1079
    cwp = (env->cwp + 1) & (NWINDOWS - 1);
1080 1080
    if (env->wim & (1 << cwp)) {
1081 1081
        raise_exception(TT_WIN_UNF);
1082 1082
    }
......
1197 1197
void OPPROTO op_save(void)
1198 1198
{
1199 1199
    uint32_t cwp;
1200
    cwp = (env->cwp - 1) & (NWINDOWS - 1); 
1200
    cwp = (env->cwp - 1) & (NWINDOWS - 1);
1201 1201
    if (env->cansave == 0) {
1202
        raise_exception(TT_SPILL | (env->otherwin != 0 ? 
1202
        raise_exception(TT_SPILL | (env->otherwin != 0 ?
1203 1203
				    (TT_WOTHER | ((env->wstate & 0x38) >> 1)):
1204 1204
				    ((env->wstate & 0x7) << 2)));
1205 1205
    } else {
......
1218 1218
void OPPROTO op_restore(void)
1219 1219
{
1220 1220
    uint32_t cwp;
1221
    cwp = (env->cwp + 1) & (NWINDOWS - 1); 
1221
    cwp = (env->cwp + 1) & (NWINDOWS - 1);
1222 1222
    if (env->canrestore == 0) {
1223
        raise_exception(TT_FILL | (env->otherwin != 0 ? 
1223
        raise_exception(TT_FILL | (env->otherwin != 0 ?
1224 1224
				   (TT_WOTHER | ((env->wstate & 0x38) >> 1)):
1225 1225
				   ((env->wstate & 0x7) << 2)));
1226 1226
    } else {
......
1285 1285
void OPPROTO op_eval_ble(void)
1286 1286
{
1287 1287
    target_ulong Z = FLAG_SET(PSR_ZERO), N = FLAG_SET(PSR_NEG), V = FLAG_SET(PSR_OVF);
1288
    
1288
   
1289 1289
    T2 = Z | (N ^ V);
1290 1290
}
1291 1291

  
......
1373 1373
void OPPROTO op_eval_xble(void)
1374 1374
{
1375 1375
    target_ulong Z = XFLAG_SET(PSR_ZERO), N = XFLAG_SET(PSR_NEG), V = XFLAG_SET(PSR_OVF);
1376
    
1376
   
1377 1377
    T2 = Z | (N ^ V);
1378 1378
}
1379 1379

  
......
1802 1802
void OPPROTO op_flushw(void)
1803 1803
{
1804 1804
    if (env->cansave != NWINDOWS - 2) {
1805
        raise_exception(TT_SPILL | (env->otherwin != 0 ? 
1805
        raise_exception(TT_SPILL | (env->otherwin != 0 ?
1806 1806
				    (TT_WOTHER | ((env->wstate & 0x38) >> 1)):
1807 1807
				    ((env->wstate & 0x7) << 2)));
1808 1808
    }

Also available in: Unified diff