mirror of https://github.com/inolen/redream.git
fix LE condition test in armv3 interpreter
This commit is contained in:
parent
4b8f969307
commit
708a0044d3
|
@ -70,8 +70,7 @@ static inline int armv3_fallback_cond_check(struct armv3_context *ctx,
|
|||
return Z_CLEAR(ctx->r[CPSR]) &&
|
||||
N_SET(ctx->r[CPSR]) == V_SET(ctx->r[CPSR]);
|
||||
case COND_LE:
|
||||
return Z_CLEAR(ctx->r[CPSR]) ||
|
||||
N_SET(ctx->r[CPSR]) != V_SET(ctx->r[CPSR]);
|
||||
return Z_SET(ctx->r[CPSR]) || N_SET(ctx->r[CPSR]) != V_SET(ctx->r[CPSR]);
|
||||
case COND_AL:
|
||||
return 1;
|
||||
case COND_NV:
|
||||
|
|
Loading…
Reference in New Issue