Lines Matching refs:alu_out
1135 bool Simulator::OverflowFrom(int32_t alu_out, int32_t left, int32_t right, in OverflowFrom() argument
1143 ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
1149 ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom()
1634 intptr_t alu_out = im_val - ra_val; in ExecuteGeneric() local
1635 set_register(rt, alu_out); in ExecuteGeneric()
1721 uintptr_t alu_out = ra_val + im_val; in ExecuteGeneric() local
1728 set_register(rt, alu_out); in ExecuteGeneric()
1735 intptr_t alu_out; in ExecuteGeneric() local
1737 alu_out = im_val; in ExecuteGeneric()
1740 alu_out = ra_val + im_val; in ExecuteGeneric()
1742 set_register(rt, alu_out); in ExecuteGeneric()
1750 intptr_t alu_out; in ExecuteGeneric() local
1752 alu_out = im_val; in ExecuteGeneric()
1755 alu_out = ra_val + im_val; in ExecuteGeneric()
1757 set_register(rt, alu_out); in ExecuteGeneric()
1900 intptr_t alu_out = rs_val | im_val; in ExecuteGeneric() local
1901 set_register(ra, alu_out); in ExecuteGeneric()
1909 intptr_t alu_out = rs_val | (im_val << 16); in ExecuteGeneric() local
1910 set_register(ra, alu_out); in ExecuteGeneric()
1918 intptr_t alu_out = rs_val ^ im_val; in ExecuteGeneric() local
1919 set_register(ra, alu_out); in ExecuteGeneric()
1928 intptr_t alu_out = rs_val ^ (im_val << 16); in ExecuteGeneric() local
1929 set_register(ra, alu_out); in ExecuteGeneric()
1937 intptr_t alu_out = rs_val & im_val; in ExecuteGeneric() local
1938 set_register(ra, alu_out); in ExecuteGeneric()
1939 SetCR0(alu_out); in ExecuteGeneric()
1947 intptr_t alu_out = rs_val & (im_val << 16); in ExecuteGeneric() local
1948 set_register(ra, alu_out); in ExecuteGeneric()
1949 SetCR0(alu_out); in ExecuteGeneric()
1986 uint32_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; in ExecuteGeneric() local
1987 set_register(rt, alu_out); in ExecuteGeneric()
1997 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; in ExecuteGeneric() local
1998 set_register(rt, alu_out); in ExecuteGeneric()
2011 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val % rb_val; in ExecuteGeneric() local
2012 set_register(rt, alu_out); in ExecuteGeneric()
2026 int64_t alu_out = in ExecuteGeneric() local
2030 set_register(rt, alu_out); in ExecuteGeneric()
2375 uintptr_t alu_out = ~ra_val + rb_val + 1; in ExecuteGeneric() local
2382 set_register(rt, alu_out); in ExecuteGeneric()
2384 SetCR0(alu_out); in ExecuteGeneric()
2396 uintptr_t alu_out = ~ra_val + rb_val; in ExecuteGeneric() local
2398 alu_out += 1; in ExecuteGeneric()
2400 set_register(rt, alu_out); in ExecuteGeneric()
2402 SetCR0(static_cast<intptr_t>(alu_out)); in ExecuteGeneric()
2414 uintptr_t alu_out = ra_val + rb_val; in ExecuteGeneric() local
2421 set_register(rt, alu_out); in ExecuteGeneric()
2423 SetCR0(static_cast<intptr_t>(alu_out)); in ExecuteGeneric()
2435 uintptr_t alu_out = ra_val + rb_val; in ExecuteGeneric() local
2437 alu_out += 1; in ExecuteGeneric()
2439 set_register(rt, alu_out); in ExecuteGeneric()
2441 SetCR0(static_cast<intptr_t>(alu_out)); in ExecuteGeneric()
2452 int64_t alu_out = (int64_t)ra_val * (int64_t)rb_val; in ExecuteGeneric() local
2453 alu_out >>= 32; in ExecuteGeneric()
2454 set_register(rt, alu_out); in ExecuteGeneric()
2456 SetCR0(static_cast<intptr_t>(alu_out)); in ExecuteGeneric()
2466 uint64_t alu_out = (uint64_t)ra_val * (uint64_t)rb_val; in ExecuteGeneric() local
2467 alu_out >>= 32; in ExecuteGeneric()
2468 set_register(rt, alu_out); in ExecuteGeneric()
2470 SetCR0(static_cast<intptr_t>(alu_out)); in ExecuteGeneric()
2478 intptr_t alu_out = 1 + ~ra_val; in ExecuteGeneric() local
2485 set_register(rt, alu_out); in ExecuteGeneric()
2495 SetCR0(alu_out, setSO); in ExecuteGeneric()
2625 intptr_t alu_out = rs_val & rb_val; in ExecuteGeneric() local
2626 set_register(ra, alu_out); in ExecuteGeneric()
2628 SetCR0(alu_out); in ExecuteGeneric()
2638 intptr_t alu_out = rs_val & ~rb_val; in ExecuteGeneric() local
2639 set_register(ra, alu_out); in ExecuteGeneric()
2641 SetCR0(alu_out); in ExecuteGeneric()
2692 intptr_t alu_out = rb_val - ra_val; in ExecuteGeneric() local
2694 set_register(rt, alu_out); in ExecuteGeneric()
2696 SetCR0(alu_out); in ExecuteGeneric()
2721 intptr_t alu_out = ~(rs_val | rb_val); in ExecuteGeneric() local
2722 set_register(ra, alu_out); in ExecuteGeneric()
2724 SetCR0(alu_out); in ExecuteGeneric()
2734 int32_t alu_out = ra_val * rb_val; in ExecuteGeneric() local
2735 set_register(rt, alu_out); in ExecuteGeneric()
2737 SetCR0(alu_out); in ExecuteGeneric()
2749 int64_t alu_out = ra_val * rb_val; in ExecuteGeneric() local
2750 set_register(rt, alu_out); in ExecuteGeneric()
2752 SetCR0(alu_out); in ExecuteGeneric()
2767 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val / rb_val; in ExecuteGeneric() local
2768 set_register(rt, alu_out); in ExecuteGeneric()
2778 SetCR0(alu_out, setSO); in ExecuteGeneric()
2790 uint32_t alu_out = (overflow) ? -1 : ra_val / rb_val; in ExecuteGeneric() local
2791 set_register(rt, alu_out); in ExecuteGeneric()
2801 SetCR0(alu_out, setSO); in ExecuteGeneric()
2816 int64_t alu_out = in ExecuteGeneric() local
2820 set_register(rt, alu_out); in ExecuteGeneric()
2822 SetCR0(alu_out); in ExecuteGeneric()
2834 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val / rb_val; in ExecuteGeneric() local
2835 set_register(rt, alu_out); in ExecuteGeneric()
2837 SetCR0(alu_out); in ExecuteGeneric()
2850 intptr_t alu_out = ra_val + rb_val; in ExecuteGeneric() local
2851 set_register(rt, alu_out); in ExecuteGeneric()
2853 SetCR0(alu_out); in ExecuteGeneric()
2864 intptr_t alu_out = rs_val ^ rb_val; in ExecuteGeneric() local
2865 set_register(ra, alu_out); in ExecuteGeneric()
2867 SetCR0(alu_out); in ExecuteGeneric()
2877 intptr_t alu_out = rs_val | rb_val; in ExecuteGeneric() local
2878 set_register(ra, alu_out); in ExecuteGeneric()
2880 SetCR0(alu_out); in ExecuteGeneric()
2890 intptr_t alu_out = rs_val | ~rb_val; in ExecuteGeneric() local
2891 set_register(ra, alu_out); in ExecuteGeneric()
2893 SetCR0(alu_out); in ExecuteGeneric()