CRIS: optimize clear insns + other minor updates.
PATCH 1/1 CRIS: optimize clear insns + other minor updates.
Small CRIS patch to:
Optimize clear insns by treating support reg P0 specially. Add missing micro-op RETURN's.
Minor cleanup.
Best regards
Signature · 2 lines
Edgar E. Iglesias Axis Communications AB
target-cris/op.c +2 -0
@@ -205,6 +205,7 @@ void OPPROTO op_ccs_lshift (void) ccs = env->pregs[SR_CCS ]; ccs = (ccs &0xc0000000 ) | ((ccs <<12 ) >>2 ); env->pregs[SR_CCS ] = ccs; +RETURN (); } void OPPROTO op_ccs_rshift (void) {
@@ -214,6 +215,7 @@ void OPPROTO op_ccs_rshift (void) ccs = env->pregs[SR_CCS ]; ccs = (ccs &0xc0000000 ) | (ccs >>10 ); env->pregs[SR_CCS ] = ccs; +RETURN (); } void OPPROTO op_setf (void)
target-cris/translate.c +28 -19
97 lines not on this page · raw message