Lines Matching refs:ra_val
1631 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1634 intptr_t alu_out = im_val - ra_val; in ExecuteGeneric()
1648 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1649 if (ra_val < im_val) { in ExecuteGeneric()
1652 if (ra_val > im_val) { in ExecuteGeneric()
1655 if (ra_val == im_val) { in ExecuteGeneric()
1660 uint32_t ra_val = get_register(ra); in ExecuteGeneric() local
1661 if (ra_val < im_val) { in ExecuteGeneric()
1664 if (ra_val > im_val) { in ExecuteGeneric()
1667 if (ra_val == im_val) { in ExecuteGeneric()
1687 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1688 if (ra_val < im_val) { in ExecuteGeneric()
1691 if (ra_val > im_val) { in ExecuteGeneric()
1694 if (ra_val == im_val) { in ExecuteGeneric()
1699 int32_t ra_val = get_register(ra); in ExecuteGeneric() local
1700 if (ra_val < im_val) { in ExecuteGeneric()
1703 if (ra_val > im_val) { in ExecuteGeneric()
1706 if (ra_val == im_val) { in ExecuteGeneric()
1719 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1721 uintptr_t alu_out = ra_val + im_val; in ExecuteGeneric()
1723 if (~ra_val < im_val) { in ExecuteGeneric()
1739 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1740 alu_out = ra_val + im_val; in ExecuteGeneric()
1754 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
1755 alu_out = ra_val + im_val; in ExecuteGeneric()
1824 int32_t ra_val = get_register(ra); in ExecuteGeneric() local
1847 ra_val &= ~mask; in ExecuteGeneric()
1848 result |= ra_val; in ExecuteGeneric()
1984 uint32_t ra_val = get_register(ra); in ExecuteGeneric() local
1986 uint32_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; in ExecuteGeneric()
1995 uint64_t ra_val = get_register(ra); in ExecuteGeneric() local
1997 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; in ExecuteGeneric()
2006 int32_t ra_val = get_register(ra); in ExecuteGeneric() local
2008 bool overflow = (ra_val == kMinInt && rb_val == -1); in ExecuteGeneric()
2011 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val % rb_val; in ExecuteGeneric()
2020 int64_t ra_val = get_register(ra); in ExecuteGeneric() local
2027 (rb_val == 0 || (ra_val == kMinLongLong && rb_val == -1)) in ExecuteGeneric()
2029 : ra_val % rb_val; in ExecuteGeneric()
2080 intptr_t ra_val = (rs_val << shift) >> shift; in ExecuteGeneric() local
2081 set_register(ra, ra_val); in ExecuteGeneric()
2083 SetCR0(ra_val); in ExecuteGeneric()
2093 intptr_t ra_val = (rs_val << shift) >> shift; in ExecuteGeneric() local
2094 set_register(ra, ra_val); in ExecuteGeneric()
2096 SetCR0(ra_val); in ExecuteGeneric()
2105 intptr_t ra_val = (rs_val << shift) >> shift; in ExecuteGeneric() local
2106 set_register(ra, ra_val); in ExecuteGeneric()
2108 SetCR0(ra_val); in ExecuteGeneric()
2117 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2119 int32_t val = ReadW(ra_val + rb_val, instr); in ExecuteGeneric()
2136 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2145 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2147 int64_t* dptr = reinterpret_cast<int64_t*>(ReadDW(ra_val + rb_val)); in ExecuteGeneric()
2151 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2160 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2178 WriteW(ra_val + rb_val, *p, instr); in ExecuteGeneric()
2181 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2190 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2193 WriteDW(ra_val + rb_val, frs_val); in ExecuteGeneric()
2196 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2243 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2245 set_register(rt, ReadWU(ra_val + offset, instr)); in ExecuteGeneric()
2248 set_register(ra, ra_val + offset); in ExecuteGeneric()
2257 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2259 set_register(rt, ReadB(ra_val + offset) & 0xFF); in ExecuteGeneric()
2262 set_register(ra, ra_val + offset); in ExecuteGeneric()
2271 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2274 WriteW(ra_val + offset, rs_val, instr); in ExecuteGeneric()
2277 set_register(ra, ra_val + offset); in ExecuteGeneric()
2297 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2300 SetCR0(WriteExB(ra_val + rb_val, rs_val)); in ExecuteGeneric()
2307 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2310 SetCR0(WriteExH(ra_val + rb_val, rs_val, instr)); in ExecuteGeneric()
2317 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2320 SetCR0(WriteExW(ra_val + rb_val, rs_val, instr)); in ExecuteGeneric()
2337 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2339 if (ra_val < rb_val) { in ExecuteGeneric()
2342 if (ra_val > rb_val) { in ExecuteGeneric()
2345 if (ra_val == rb_val) { in ExecuteGeneric()
2350 int32_t ra_val = get_register(ra); in ExecuteGeneric() local
2352 if (ra_val < rb_val) { in ExecuteGeneric()
2355 if (ra_val > rb_val) { in ExecuteGeneric()
2358 if (ra_val == rb_val) { in ExecuteGeneric()
2373 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2375 uintptr_t alu_out = ~ra_val + rb_val + 1; in ExecuteGeneric()
2377 if (ra_val <= rb_val) { in ExecuteGeneric()
2394 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2396 uintptr_t alu_out = ~ra_val + rb_val; in ExecuteGeneric()
2412 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2414 uintptr_t alu_out = ra_val + rb_val; in ExecuteGeneric()
2416 if (~ra_val < rb_val) { in ExecuteGeneric()
2433 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2435 uintptr_t alu_out = ra_val + rb_val; in ExecuteGeneric()
2450 int32_t ra_val = (get_register(ra) & 0xFFFFFFFF); in ExecuteGeneric() local
2452 int64_t alu_out = (int64_t)ra_val * (int64_t)rb_val; in ExecuteGeneric()
2464 uint32_t ra_val = (get_register(ra) & 0xFFFFFFFF); in ExecuteGeneric() local
2466 uint64_t alu_out = (uint64_t)ra_val * (uint64_t)rb_val; in ExecuteGeneric()
2477 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2478 intptr_t alu_out = 1 + ~ra_val; in ExecuteGeneric()
2487 if (ra_val == kOverflowVal) { in ExecuteGeneric()
2546 int64_t ra_val = get_register(ra); in ExecuteGeneric() local
2547 set_d_register(frt, ra_val); in ExecuteGeneric()
2554 int64_t ra_val = static_cast<int32_t>(get_register(ra)); in ExecuteGeneric() local
2555 set_d_register(frt, ra_val); in ExecuteGeneric()
2562 uint64_t ra_val = static_cast<uint32_t>(get_register(ra)); in ExecuteGeneric() local
2563 set_d_register(frt, ra_val); in ExecuteGeneric()
2654 uintptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2656 if (ra_val < rb_val) { in ExecuteGeneric()
2659 if (ra_val > rb_val) { in ExecuteGeneric()
2662 if (ra_val == rb_val) { in ExecuteGeneric()
2667 uint32_t ra_val = get_register(ra); in ExecuteGeneric() local
2669 if (ra_val < rb_val) { in ExecuteGeneric()
2672 if (ra_val > rb_val) { in ExecuteGeneric()
2675 if (ra_val == rb_val) { in ExecuteGeneric()
2690 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2692 intptr_t alu_out = rb_val - ra_val; in ExecuteGeneric()
2704 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2706 ra_val += 1; in ExecuteGeneric()
2708 set_register(rt, ra_val); in ExecuteGeneric()
2710 SetCR0(ra_val); in ExecuteGeneric()
2732 int32_t ra_val = (get_register(ra) & 0xFFFFFFFF); in ExecuteGeneric() local
2734 int32_t alu_out = ra_val * rb_val; in ExecuteGeneric()
2747 int64_t ra_val = get_register(ra); in ExecuteGeneric() local
2749 int64_t alu_out = ra_val * rb_val; in ExecuteGeneric()
2762 int32_t ra_val = get_register(ra); in ExecuteGeneric() local
2764 bool overflow = (ra_val == kMinInt && rb_val == -1); in ExecuteGeneric()
2767 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val / rb_val; in ExecuteGeneric()
2786 uint32_t ra_val = get_register(ra); in ExecuteGeneric() local
2790 uint32_t alu_out = (overflow) ? -1 : ra_val / rb_val; in ExecuteGeneric()
2810 int64_t ra_val = get_register(ra); in ExecuteGeneric() local
2817 (rb_val == 0 || (ra_val == kMinLongLong && rb_val == -1)) in ExecuteGeneric()
2819 : ra_val / rb_val; in ExecuteGeneric()
2831 uint64_t ra_val = get_register(ra); in ExecuteGeneric() local
2834 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val / rb_val; in ExecuteGeneric()
2848 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
2850 intptr_t alu_out = ra_val + rb_val; in ExecuteGeneric()
2931 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2934 WriteW(ra_val + rb_val, rs_val, instr); in ExecuteGeneric()
2937 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2946 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2949 WriteB(ra_val + rb_val, rs_val); in ExecuteGeneric()
2952 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2961 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2964 WriteH(ra_val + rb_val, rs_val, instr); in ExecuteGeneric()
2967 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2976 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2978 set_register(rt, ReadWU(ra_val + rb_val, instr)); in ExecuteGeneric()
2981 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
2990 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
2992 set_register(rt, ReadW(ra_val + rb_val, instr)); in ExecuteGeneric()
3000 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3002 intptr_t* result = ReadDW(ra_val + rb_val); in ExecuteGeneric()
3006 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
3015 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3018 WriteDW(ra_val + rb_val, rs_val); in ExecuteGeneric()
3021 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
3031 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3033 set_register(rt, ReadBU(ra_val + rb_val) & 0xFF); in ExecuteGeneric()
3036 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
3045 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3047 set_register(rt, ReadHU(ra_val + rb_val, instr) & 0xFFFF); in ExecuteGeneric()
3050 set_register(ra, ra_val + rb_val); in ExecuteGeneric()
3058 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3060 set_register(rt, ReadH(ra_val + rb_val, instr)); in ExecuteGeneric()
3067 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3069 set_register(rt, ReadExBU(ra_val + rb_val) & 0xFF); in ExecuteGeneric()
3076 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3078 set_register(rt, ReadExHU(ra_val + rb_val, instr)); in ExecuteGeneric()
3085 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3087 set_register(rt, ReadExWU(ra_val + rb_val, instr)); in ExecuteGeneric()
3100 intptr_t ra_val = (ra == 0) ? 0 : get_register(ra); in ExecuteGeneric() local
3102 intptr_t value = (condition_reg_ & condition_mask) ? ra_val : rb_val; in ExecuteGeneric()
3111 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3114 WriteB(ra_val + offset, rs_val); in ExecuteGeneric()
3117 set_register(ra, ra_val + offset); in ExecuteGeneric()
3126 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3128 uintptr_t result = ReadHU(ra_val + offset, instr) & 0xFFFF; in ExecuteGeneric()
3131 set_register(ra, ra_val + offset); in ExecuteGeneric()
3140 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3142 intptr_t result = ReadH(ra_val + offset, instr); in ExecuteGeneric()
3145 set_register(ra, ra_val + offset); in ExecuteGeneric()
3154 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3157 WriteH(ra_val + offset, rs_val, instr); in ExecuteGeneric()
3160 set_register(ra, ra_val + offset); in ExecuteGeneric()
3176 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3177 int32_t val = ReadW(ra_val + offset, instr); in ExecuteGeneric()
3194 set_register(ra, ra_val + offset); in ExecuteGeneric()
3204 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3205 int64_t* dptr = reinterpret_cast<int64_t*>(ReadDW(ra_val + offset)); in ExecuteGeneric()
3209 set_register(ra, ra_val + offset); in ExecuteGeneric()
3219 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3236 WriteW(ra_val + offset, *p, instr); in ExecuteGeneric()
3239 set_register(ra, ra_val + offset); in ExecuteGeneric()
3248 intptr_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3250 WriteDW(ra_val + offset, frs_val); in ExecuteGeneric()
3253 set_register(ra, ra_val + offset); in ExecuteGeneric()
3750 intptr_t ra_val = get_register(ra); in ExecuteGeneric() local
3773 ra_val &= ~mask; in ExecuteGeneric()
3774 result |= ra_val; in ExecuteGeneric()
3806 int64_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3810 intptr_t* result = ReadDW(ra_val + offset); in ExecuteGeneric()
3815 intptr_t* result = ReadDW(ra_val + offset); in ExecuteGeneric()
3818 set_register(ra, ra_val + offset); in ExecuteGeneric()
3822 intptr_t result = ReadW(ra_val + offset, instr); in ExecuteGeneric()
3834 int64_t ra_val = ra == 0 ? 0 : get_register(ra); in ExecuteGeneric() local
3837 WriteDW(ra_val + offset, rs_val); in ExecuteGeneric()
3840 set_register(ra, ra_val + offset); in ExecuteGeneric()