Lines Matching refs:alu_out

1229 bool Simulator::OverflowFrom(int32_t alu_out,  in OverflowFrom()  argument
1236 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
1241 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
2028 int32_t alu_out = rm_val * rs_val; in DecodeType01() local
2029 set_register(rd, alu_out); in DecodeType01()
2031 SetNZFlags(alu_out); in DecodeType01()
2299 int32_t alu_out; in DecodeType01() local
2305 alu_out = rn_val & shifter_operand; in DecodeType01()
2306 set_register(rd, alu_out); in DecodeType01()
2308 SetNZFlags(alu_out); in DecodeType01()
2317 alu_out = rn_val ^ shifter_operand; in DecodeType01()
2318 set_register(rd, alu_out); in DecodeType01()
2320 SetNZFlags(alu_out); in DecodeType01()
2329 alu_out = rn_val - shifter_operand; in DecodeType01()
2330 set_register(rd, alu_out); in DecodeType01()
2332 SetNZFlags(alu_out); in DecodeType01()
2334 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2342 alu_out = shifter_operand - rn_val; in DecodeType01()
2343 set_register(rd, alu_out); in DecodeType01()
2345 SetNZFlags(alu_out); in DecodeType01()
2347 SetVFlag(OverflowFrom(alu_out, shifter_operand, rn_val, false)); in DecodeType01()
2355 alu_out = rn_val + shifter_operand; in DecodeType01()
2356 set_register(rd, alu_out); in DecodeType01()
2358 SetNZFlags(alu_out); in DecodeType01()
2360 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2368 alu_out = rn_val + shifter_operand + GetCarry(); in DecodeType01()
2369 set_register(rd, alu_out); in DecodeType01()
2371 SetNZFlags(alu_out); in DecodeType01()
2373 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2381 alu_out = (rn_val - shifter_operand) - (GetCarry() ? 0 : 1); in DecodeType01()
2382 set_register(rd, alu_out); in DecodeType01()
2384 SetNZFlags(alu_out); in DecodeType01()
2386 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2401 alu_out = rn_val & shifter_operand; in DecodeType01()
2402 SetNZFlags(alu_out); in DecodeType01()
2406 alu_out = instr->ImmedMovwMovtValue(); in DecodeType01()
2407 set_register(rd, alu_out); in DecodeType01()
2416 alu_out = rn_val ^ shifter_operand; in DecodeType01()
2417 SetNZFlags(alu_out); in DecodeType01()
2431 alu_out = rn_val - shifter_operand; in DecodeType01()
2432 SetNZFlags(alu_out); in DecodeType01()
2434 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, false)); in DecodeType01()
2437 alu_out = (get_register(rd) & 0xffff) | in DecodeType01()
2439 set_register(rd, alu_out); in DecodeType01()
2448 alu_out = rn_val + shifter_operand; in DecodeType01()
2449 SetNZFlags(alu_out); in DecodeType01()
2451 SetVFlag(OverflowFrom(alu_out, rn_val, shifter_operand, true)); in DecodeType01()
2463 alu_out = rn_val | shifter_operand; in DecodeType01()
2464 set_register(rd, alu_out); in DecodeType01()
2466 SetNZFlags(alu_out); in DecodeType01()
2475 alu_out = shifter_operand; in DecodeType01()
2476 set_register(rd, alu_out); in DecodeType01()
2478 SetNZFlags(alu_out); in DecodeType01()
2487 alu_out = rn_val & ~shifter_operand; in DecodeType01()
2488 set_register(rd, alu_out); in DecodeType01()
2490 SetNZFlags(alu_out); in DecodeType01()
2499 alu_out = ~shifter_operand; in DecodeType01()
2500 set_register(rd, alu_out); in DecodeType01()
2502 SetNZFlags(alu_out); in DecodeType01()