• Home
  • Raw
  • Download

Lines Matching refs:alu_out

1783 bool Simulator::OverflowFromSigned(T1 alu_out, T1 left, T1 right,  in OverflowFromSigned()  argument
1790 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFromSigned()
1795 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFromSigned()
3136 uint32_t alu_out = 0; in EVALUATE() local
3138 alu_out = (r3_val << shiftBits) | (rotateBits); in EVALUATE()
3139 set_low_register(r1, alu_out); in EVALUATE()
3456 uint32_t alu_out = 0; in EVALUATE() local
3458 alu_out = r1_val + r2_val; in EVALUATE()
3460 set_low_register(r1, alu_out); in EVALUATE()
3461 SetS390ConditionCodeCarry<uint32_t>(alu_out, isOF); in EVALUATE()
3470 uint32_t alu_out = 0; in EVALUATE() local
3472 alu_out = r1_val - r2_val; in EVALUATE()
3474 set_low_register(r1, alu_out); in EVALUATE()
3475 SetS390ConditionCodeCarry<uint32_t>(alu_out, isOF); in EVALUATE()
3607 int32_t alu_out = 0; in EVALUATE() local
3610 alu_out = r1_val + mem_val; in EVALUATE()
3611 set_low_register(r1, alu_out); in EVALUATE()
3612 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
3626 int32_t alu_out = 0; in EVALUATE() local
3629 alu_out = r1_val - mem_val; in EVALUATE()
3630 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
3644 int32_t alu_out = 0; in EVALUATE() local
3645 alu_out = r1_val * mem_val; in EVALUATE()
3646 set_low_register(r1, alu_out); in EVALUATE()
3682 int32_t alu_out = 0; in EVALUATE() local
3683 alu_out = r1_val & mem_val; in EVALUATE()
3684 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
3685 set_low_register(r1, alu_out); in EVALUATE()
3709 int32_t alu_out = 0; in EVALUATE() local
3710 alu_out = r1_val | mem_val; in EVALUATE()
3711 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
3712 set_low_register(r1, alu_out); in EVALUATE()
3724 int32_t alu_out = 0; in EVALUATE() local
3725 alu_out = r1_val ^ mem_val; in EVALUATE()
3726 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
3727 set_low_register(r1, alu_out); in EVALUATE()
3751 int32_t alu_out = 0; in EVALUATE() local
3754 alu_out = r1_val + mem_val; in EVALUATE()
3755 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
3757 set_low_register(r1, alu_out); in EVALUATE()
3769 int32_t alu_out = 0; in EVALUATE() local
3772 alu_out = r1_val - mem_val; in EVALUATE()
3773 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
3775 set_low_register(r1, alu_out); in EVALUATE()
3940 uint32_t alu_out = 0; in EVALUATE() local
3941 alu_out = r1_val >> shiftBits; in EVALUATE()
3942 set_low_register(r1, alu_out); in EVALUATE()
3953 uint32_t alu_out = 0; in EVALUATE() local
3954 alu_out = r1_val << shiftBits; in EVALUATE()
3955 set_low_register(r1, alu_out); in EVALUATE()
3966 int32_t alu_out = 0; in EVALUATE() local
3968 alu_out = r1_val >> shiftBits; in EVALUATE()
3969 set_low_register(r1, alu_out); in EVALUATE()
3970 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
3982 int32_t alu_out = 0; in EVALUATE() local
3985 alu_out = r1_val << shiftBits; in EVALUATE()
3986 set_low_register(r1, alu_out); in EVALUATE()
3987 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
4002 uint64_t alu_out = r1_val >> shiftBits; in EVALUATE() local
4003 set_low_register(r1, alu_out >> 32); in EVALUATE()
4004 set_low_register(r1 + 1, alu_out & 0x00000000FFFFFFFF); in EVALUATE()
4005 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
4019 uint64_t alu_out = (static_cast<uint64_t>(r1_val) << 32) | in EVALUATE() local
4021 alu_out <<= shiftBits; in EVALUATE()
4022 set_low_register(r1 + 1, static_cast<uint32_t>(alu_out)); in EVALUATE()
4023 set_low_register(r1, static_cast<uint32_t>(alu_out >> 32)); in EVALUATE()
4037 int64_t alu_out = r1_val >> shiftBits; in EVALUATE() local
4038 set_low_register(r1, alu_out >> 32); in EVALUATE()
4039 set_low_register(r1 + 1, alu_out & 0x00000000FFFFFFFF); in EVALUATE()
4040 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
4712 uint32_t alu_out = 0; in EVALUATE() local
4713 alu_out = get_high_register<uint32_t>(r1); in EVALUATE()
4714 alu_out = alu_out ^ imm; in EVALUATE()
4715 set_high_register(r1, alu_out); in EVALUATE()
4716 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4723 uint32_t alu_out = 0; in EVALUATE() local
4724 alu_out = get_low_register<uint32_t>(r1); in EVALUATE()
4725 alu_out = alu_out ^ imm; in EVALUATE()
4726 set_low_register(r1, alu_out); in EVALUATE()
4727 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4735 uint32_t alu_out = get_high_register<uint32_t>(r1); in EVALUATE() local
4736 alu_out &= imm; in EVALUATE()
4737 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4738 set_high_register(r1, alu_out); in EVALUATE()
4746 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
4747 alu_out &= imm; in EVALUATE()
4748 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4749 set_low_register(r1, alu_out); in EVALUATE()
4757 uint32_t alu_out = get_high_register<uint32_t>(r1); in EVALUATE() local
4758 alu_out |= imm; in EVALUATE()
4759 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4760 set_high_register(r1, alu_out); in EVALUATE()
4768 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
4769 alu_out |= imm; in EVALUATE()
4770 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
4771 set_low_register(r1, alu_out); in EVALUATE()
4796 int64_t alu_out = get_register(r1); in EVALUATE() local
4797 alu_out = alu_out * i2; in EVALUATE()
4798 set_register(r1, alu_out); in EVALUATE()
4805 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
4806 alu_out = alu_out * i2; in EVALUATE()
4807 set_low_register(r1, alu_out); in EVALUATE()
4819 uint64_t alu_out; in EVALUATE() local
4820 alu_out = r1_val - i2; in EVALUATE()
4821 set_register(r1, (intptr_t)alu_out); in EVALUATE()
4822 SetS390ConditionCode<uint64_t>(alu_out, 0); in EVALUATE()
4829 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
4830 alu_out -= imm; in EVALUATE()
4831 SetS390ConditionCode<uint32_t>(alu_out, 0); in EVALUATE()
4832 set_low_register(r1, alu_out); in EVALUATE()
4845 int64_t alu_out = r1_val + i2; in EVALUATE() local
4846 set_register(r1, alu_out); in EVALUATE()
4847 SetS390ConditionCode<int64_t>(alu_out, 0); in EVALUATE()
4860 int32_t alu_out = r1_val + i2; in EVALUATE() local
4861 set_low_register(r1, alu_out); in EVALUATE()
4862 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
4875 uint64_t alu_out; in EVALUATE() local
4876 alu_out = r1_val + i2; in EVALUATE()
4877 set_register(r1, (intptr_t)alu_out); in EVALUATE()
4878 SetS390ConditionCode<uint64_t>(alu_out, 0); in EVALUATE()
4886 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
4887 alu_out += imm; in EVALUATE()
4888 SetS390ConditionCode<uint32_t>(alu_out, 0); in EVALUATE()
4889 set_low_register(r1, alu_out); in EVALUATE()
7278 uint32_t alu_out = 0; in EVALUATE() local
7281 alu_out = r1_val + r2_val; in EVALUATE()
7284 alu_out = alu_out + 1; in EVALUATE()
7285 isOF = isOF_original || CheckOverflowForUIntAdd(alu_out, 1); in EVALUATE()
7289 set_low_register(r1, alu_out); in EVALUATE()
7290 SetS390ConditionCodeCarry<uint32_t>(alu_out, isOF); in EVALUATE()
7299 uint32_t alu_out = 0; in EVALUATE() local
7302 alu_out = r1_val - r2_val; in EVALUATE()
7305 alu_out = alu_out - 1; in EVALUATE()
7306 isOF = isOF_original || CheckOverflowForUIntSub(alu_out, 1); in EVALUATE()
7310 set_low_register(r1, alu_out); in EVALUATE()
7311 SetS390ConditionCodeCarry<uint32_t>(alu_out, isOF); in EVALUATE()
7663 int64_t alu_out = get_register(r1); in EVALUATE() local
7665 bool isOF = CheckOverflowForIntAdd(alu_out, mem_val, int64_t); in EVALUATE()
7666 alu_out += mem_val; in EVALUATE()
7667 SetS390ConditionCode<int64_t>(alu_out, 0); in EVALUATE()
7669 set_register(r1, alu_out); in EVALUATE()
7678 int64_t alu_out = get_register(r1); in EVALUATE() local
7680 bool isOF = CheckOverflowForIntSub(alu_out, mem_val, int64_t); in EVALUATE()
7681 alu_out -= mem_val; in EVALUATE()
7682 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
7684 set_register(r1, alu_out); in EVALUATE()
7698 uint64_t alu_out = r1_val; in EVALUATE() local
7700 alu_out += mem_val; in EVALUATE()
7701 SetS390ConditionCode<uint64_t>(alu_out, 0); in EVALUATE()
7702 set_register(r1, alu_out); in EVALUATE()
7716 uint64_t alu_out = r1_val; in EVALUATE() local
7718 alu_out -= mem_val; in EVALUATE()
7719 SetS390ConditionCode<uint64_t>(alu_out, 0); in EVALUATE()
7720 set_register(r1, alu_out); in EVALUATE()
7807 uint64_t alu_out = r1_val; in EVALUATE() local
7809 alu_out += mem_val; in EVALUATE()
7810 SetS390ConditionCode<int64_t>(alu_out, 0); in EVALUATE()
7811 set_register(r1, alu_out); in EVALUATE()
7822 uint64_t alu_out = r1_val; in EVALUATE() local
7824 alu_out -= mem_val; in EVALUATE()
7825 SetS390ConditionCode<int64_t>(alu_out, 0); in EVALUATE()
7826 set_register(r1, alu_out); in EVALUATE()
7914 int64_t alu_out = get_register(r1); in EVALUATE() local
7916 SetS390ConditionCode<int64_t>(alu_out, mem_val); in EVALUATE()
7917 set_register(r1, alu_out); in EVALUATE()
7926 int64_t alu_out = get_register(r1); in EVALUATE() local
7928 SetS390ConditionCode<uint64_t>(alu_out, mem_val); in EVALUATE()
7929 set_register(r1, alu_out); in EVALUATE()
8057 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8059 alu_out &= mem_val; in EVALUATE()
8060 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8061 set_low_register(r1, alu_out); in EVALUATE()
8070 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
8072 SetS390ConditionCode<uint32_t>(alu_out, mem_val); in EVALUATE()
8081 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8083 alu_out |= mem_val; in EVALUATE()
8084 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8085 set_low_register(r1, alu_out); in EVALUATE()
8094 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8096 alu_out ^= mem_val; in EVALUATE()
8097 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8098 set_low_register(r1, alu_out); in EVALUATE()
8107 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8109 SetS390ConditionCode<int32_t>(alu_out, mem_val); in EVALUATE()
8118 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8121 isOF = CheckOverflowForIntAdd(alu_out, mem_val, int32_t); in EVALUATE()
8122 alu_out += mem_val; in EVALUATE()
8123 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
8125 set_low_register(r1, alu_out); in EVALUATE()
8134 int32_t alu_out = get_low_register<int32_t>(r1); in EVALUATE() local
8137 isOF = CheckOverflowForIntSub(alu_out, mem_val, int32_t); in EVALUATE()
8138 alu_out -= mem_val; in EVALUATE()
8139 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
8141 set_low_register(r1, alu_out); in EVALUATE()
8168 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
8170 alu_out += mem_val; in EVALUATE()
8171 set_low_register(r1, alu_out); in EVALUATE()
8172 SetS390ConditionCode<uint32_t>(alu_out, 0); in EVALUATE()
8181 uint32_t alu_out = get_low_register<uint32_t>(r1); in EVALUATE() local
8183 alu_out -= mem_val; in EVALUATE()
8184 set_low_register(r1, alu_out); in EVALUATE()
8185 SetS390ConditionCode<uint32_t>(alu_out, 0); in EVALUATE()
8289 int32_t alu_out = 0; in EVALUATE() local
8291 alu_out = r1_val + mem_val; in EVALUATE()
8293 set_low_register(r1, alu_out); in EVALUATE()
8294 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
8308 int32_t alu_out = 0; in EVALUATE() local
8310 alu_out = r1_val - mem_val; in EVALUATE()
8312 set_low_register(r1, alu_out); in EVALUATE()
8313 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
8329 int64_t alu_out = get_register(r1); in EVALUATE() local
8331 alu_out &= mem_val; in EVALUATE()
8332 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8333 set_register(r1, alu_out); in EVALUATE()
8342 int64_t alu_out = get_register(r1); in EVALUATE() local
8344 alu_out |= mem_val; in EVALUATE()
8345 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8346 set_register(r1, alu_out); in EVALUATE()
8355 int64_t alu_out = get_register(r1); in EVALUATE() local
8357 alu_out ^= mem_val; in EVALUATE()
8358 SetS390BitWiseConditionCode<uint32_t>(alu_out); in EVALUATE()
8359 set_register(r1, alu_out); in EVALUATE()
8669 intptr_t alu_out = 0; in EVALUATE() local
8671 alu_out = r3_val >> shiftBits; in EVALUATE()
8672 set_register(r1, alu_out); in EVALUATE()
8673 SetS390ConditionCode<intptr_t>(alu_out, 0); in EVALUATE()
8686 intptr_t alu_out = 0; in EVALUATE() local
8689 alu_out = r3_val << shiftBits; in EVALUATE()
8690 set_register(r1, alu_out); in EVALUATE()
8691 SetS390ConditionCode<intptr_t>(alu_out, 0); in EVALUATE()
8709 uint64_t alu_out = 0; in EVALUATE() local
8710 alu_out = r3_val >> shiftBits; in EVALUATE()
8711 set_register(r1, alu_out); in EVALUATE()
8728 uint64_t alu_out = 0; in EVALUATE() local
8729 alu_out = r3_val << shiftBits; in EVALUATE()
8730 set_register(r1, alu_out); in EVALUATE()
8799 uint64_t alu_out = 0; in EVALUATE() local
8801 alu_out = (r3_val << shiftBits) | (rotateBits); in EVALUATE()
8802 set_register(r1, alu_out); in EVALUATE()
8951 int32_t alu_out = mem_val + i2; in EVALUATE() local
8952 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
8954 WriteW(addr, alu_out, instr); in EVALUATE()
8980 int64_t alu_out = mem_val + i2; in EVALUATE() local
8981 SetS390ConditionCode<uint64_t>(alu_out, 0); in EVALUATE()
8983 WriteDW(addr, alu_out); in EVALUATE()
9079 int32_t alu_out = 0; in EVALUATE() local
9081 alu_out = r3_val >> shiftBits; in EVALUATE()
9082 set_low_register(r1, alu_out); in EVALUATE()
9083 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
9096 int32_t alu_out = 0; in EVALUATE() local
9099 alu_out = r3_val << shiftBits; in EVALUATE()
9100 set_low_register(r1, alu_out); in EVALUATE()
9101 SetS390ConditionCode<int32_t>(alu_out, 0); in EVALUATE()
9119 uint32_t alu_out = 0; in EVALUATE() local
9120 alu_out = r3_val >> shiftBits; in EVALUATE()
9121 set_low_register(r1, alu_out); in EVALUATE()
9138 uint32_t alu_out = 0; in EVALUATE() local
9139 alu_out = r3_val << shiftBits; in EVALUATE()
9140 set_low_register(r1, alu_out); in EVALUATE()