Lines Matching refs:alu_out
1223 bool Simulator::OverflowFrom(int32_t alu_out, in OverflowFrom() argument
1230 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
1235 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
2005 int32_t alu_out = rm_val * rs_val; in DecodeType01() local
2006 set_register(rd, alu_out); in DecodeType01()
2008 SetNZFlags(alu_out); in DecodeType01()
2365 int32_t alu_out; in DecodeType01() local
2371 alu_out = rn_val & shifter_operand; in DecodeType01()
2372 set_register(rd, alu_out); in DecodeType01()
2374 SetNZFlags(alu_out); in DecodeType01()
2383 alu_out = rn_val ^ shifter_operand; in DecodeType01()
2384 set_register(rd, alu_out); in DecodeType01()
2386 SetNZFlags(alu_out); in DecodeType01()
2395 alu_out = rn_val - shifter_operand; in DecodeType01()
2396 set_register(rd, alu_out); in DecodeType01()
2398 SetNZFlags(alu_out); in DecodeType01()
2400 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2408 alu_out = shifter_operand - rn_val; in DecodeType01()
2409 set_register(rd, alu_out); in DecodeType01()
2411 SetNZFlags(alu_out); in DecodeType01()
2413 SetVFlag(OverflowFrom(alu_out, shifter_operand, rn_val, false)); in DecodeType01()
2421 alu_out = rn_val + shifter_operand; in DecodeType01()
2422 set_register(rd, alu_out); in DecodeType01()
2424 SetNZFlags(alu_out); in DecodeType01()
2426 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2434 alu_out = rn_val + shifter_operand + GetCarry(); in DecodeType01()
2435 set_register(rd, alu_out); in DecodeType01()
2437 SetNZFlags(alu_out); in DecodeType01()
2439 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2447 alu_out = (rn_val - shifter_operand) - (GetCarry() ? 0 : 1); in DecodeType01()
2448 set_register(rd, alu_out); in DecodeType01()
2450 SetNZFlags(alu_out); in DecodeType01()
2452 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2467 alu_out = rn_val & shifter_operand; in DecodeType01()
2468 SetNZFlags(alu_out); in DecodeType01()
2472 alu_out = instr->ImmedMovwMovtValue(); in DecodeType01()
2473 set_register(rd, alu_out); in DecodeType01()
2482 alu_out = rn_val ^ shifter_operand; in DecodeType01()
2483 SetNZFlags(alu_out); in DecodeType01()
2497 alu_out = rn_val - shifter_operand; in DecodeType01()
2498 SetNZFlags(alu_out); in DecodeType01()
2500 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2503 alu_out = in DecodeType01()
2505 set_register(rd, alu_out); in DecodeType01()
2514 alu_out = rn_val + shifter_operand; in DecodeType01()
2515 SetNZFlags(alu_out); in DecodeType01()
2517 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2529 alu_out = rn_val | shifter_operand; in DecodeType01()
2530 set_register(rd, alu_out); in DecodeType01()
2532 SetNZFlags(alu_out); in DecodeType01()
2541 alu_out = shifter_operand; in DecodeType01()
2542 set_register(rd, alu_out); in DecodeType01()
2544 SetNZFlags(alu_out); in DecodeType01()
2553 alu_out = rn_val & ~shifter_operand; in DecodeType01()
2554 set_register(rd, alu_out); in DecodeType01()
2556 SetNZFlags(alu_out); in DecodeType01()
2565 alu_out = ~shifter_operand; in DecodeType01()
2566 set_register(rd, alu_out); in DecodeType01()
2568 SetNZFlags(alu_out); in DecodeType01()