Lines Matching refs:mem_val

2982         int32_t mem_val = ReadW(addr, instr);  in DecodeFourByte()  local
2983 set_low_register(r1, mem_val); in DecodeFourByte()
3005 int32_t mem_val = ReadW(addr, instr); in DecodeFourByte() local
3007 SetS390ConditionCode<int32_t>(r1_val, mem_val); in DecodeFourByte()
3009 SetS390ConditionCode<uint32_t>(r1_val, mem_val); in DecodeFourByte()
3018 uint8_t mem_val = ReadB(addr); in DecodeFourByte() local
3020 SetS390ConditionCode<uint8_t>(mem_val, imm_val); in DecodeFourByte()
3029 uint8_t mem_val = ReadB(addr); in DecodeFourByte() local
3031 uint8_t selected_bits = mem_val & imm_val; in DecodeFourByte()
3534 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in DecodeFourByteArithmetic() local
3539 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in DecodeFourByteArithmetic()
3540 alu_out = r1_val + mem_val; in DecodeFourByteArithmetic()
3545 isOF = CheckOverflowForIntSub(r1_val, mem_val, int32_t); in DecodeFourByteArithmetic()
3546 alu_out = r1_val - mem_val; in DecodeFourByteArithmetic()
3555 alu_out = r1_val | mem_val; in DecodeFourByteArithmetic()
3559 alu_out = r1_val & mem_val; in DecodeFourByteArithmetic()
3563 alu_out = r1_val ^ mem_val; in DecodeFourByteArithmetic()
3623 int32_t mem_val = static_cast<int32_t>(ReadH(addr, instr)); in DecodeFourByteArithmetic() local
3627 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in DecodeFourByteArithmetic()
3628 alu_out = r1_val + mem_val; in DecodeFourByteArithmetic()
3630 isOF = CheckOverflowForIntSub(r1_val, mem_val, int32_t); in DecodeFourByteArithmetic()
3631 alu_out = r1_val - mem_val; in DecodeFourByteArithmetic()
3633 alu_out = r1_val * mem_val; in DecodeFourByteArithmetic()
3707 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in DecodeFourByteArithmetic() local
3709 set_low_register(r1, r1_val * mem_val); in DecodeFourByteArithmetic()
4475 uint8_t mem_val = ReadB(addr); in DecodeSixByte() local
4477 SetS390ConditionCode<uint8_t>(mem_val, imm_val); in DecodeSixByte()
4486 uint8_t mem_val = ReadB(addr); in DecodeSixByte() local
4488 uint8_t selected_bits = mem_val & imm_val; in DecodeSixByte()
4796 uint32_t mem_val = ReadWU(addr, instr); in DecodeSixByte() local
4797 set_low_register(r1, mem_val); in DecodeSixByte()
4799 int32_t mem_val = ReadB(addr); in DecodeSixByte() local
4800 set_low_register(r1, mem_val); in DecodeSixByte()
4802 int64_t mem_val = ReadB(addr); in DecodeSixByte() local
4803 set_register(r1, mem_val); in DecodeSixByte()
4805 int64_t mem_val = ReadDW(addr); in DecodeSixByte() local
4806 set_register(r1, mem_val); in DecodeSixByte()
4808 int64_t mem_val = static_cast<int64_t>(ReadW(addr, instr)); in DecodeSixByte() local
4809 set_register(r1, mem_val); in DecodeSixByte()
4811 int64_t mem_val = static_cast<int64_t>(ReadH(addr, instr)); in DecodeSixByte() local
4812 set_register(r1, mem_val); in DecodeSixByte()
4821 uint64_t mem_val = static_cast<uint64_t>(ReadWU(addr, instr)); in DecodeSixByte() local
4822 set_register(r1, mem_val); in DecodeSixByte()
4899 uint16_t mem_val = ReadHU(b2_val + d2_val + x2_val, instr); in DecodeSixByte() local
4901 set_low_register(r1, mem_val); in DecodeSixByte()
4903 set_register(r1, mem_val); in DecodeSixByte()
4918 uint8_t mem_val = ReadBU(b2_val + d2_val + x2_val); in DecodeSixByte() local
4920 set_low_register(r1, static_cast<uint32_t>(mem_val)); in DecodeSixByte()
4922 set_register(r1, static_cast<uint64_t>(mem_val)); in DecodeSixByte()
5141 int16_t mem_val = ReadH(mem_addr, instr); in DecodeSixByteArithmetic() local
5142 int32_t result = ByteReverse(mem_val) & 0x0000ffff; in DecodeSixByteArithmetic()
5146 int32_t mem_val = ReadW(mem_addr, instr); in DecodeSixByteArithmetic() local
5147 set_low_register(r1, ByteReverse(mem_val)); in DecodeSixByteArithmetic()
5215 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in DecodeSixByteArithmetic() local
5218 isOF = CheckOverflowForIntAdd(alu_out, mem_val, int32_t); in DecodeSixByteArithmetic()
5219 alu_out += mem_val; in DecodeSixByteArithmetic()
5223 isOF = CheckOverflowForIntSub(alu_out, mem_val, int32_t); in DecodeSixByteArithmetic()
5224 alu_out -= mem_val; in DecodeSixByteArithmetic()
5228 alu_out &= mem_val; in DecodeSixByteArithmetic()
5231 alu_out |= mem_val; in DecodeSixByteArithmetic()
5234 alu_out ^= mem_val; in DecodeSixByteArithmetic()
5237 SetS390ConditionCode<int32_t>(alu_out, mem_val); in DecodeSixByteArithmetic()
5253 int32_t mem_val = in DecodeSixByteArithmetic() local
5259 alu_out = r1_val + mem_val; in DecodeSixByteArithmetic()
5260 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in DecodeSixByteArithmetic()
5263 alu_out = r1_val - mem_val; in DecodeSixByteArithmetic()
5264 isOF = CheckOverflowForIntSub(r1_val, mem_val, int64_t); in DecodeSixByteArithmetic()
5290 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in DecodeSixByteArithmetic() local
5294 alu_out += mem_val; in DecodeSixByteArithmetic()
5299 alu_out -= mem_val; in DecodeSixByteArithmetic()
5304 alu_out &= mem_val; in DecodeSixByteArithmetic()
5309 alu_out |= mem_val; in DecodeSixByteArithmetic()
5314 alu_out ^= mem_val; in DecodeSixByteArithmetic()
5319 SetS390ConditionCode<int64_t>(alu_out, mem_val); in DecodeSixByteArithmetic()
5323 SetS390ConditionCode<uint64_t>(alu_out, mem_val); in DecodeSixByteArithmetic()
5348 uint32_t mem_val = ReadWU(b2_val + x2_val + d2, instr); in DecodeSixByteArithmetic() local
5351 alu_out += mem_val; in DecodeSixByteArithmetic()
5355 alu_out -= mem_val; in DecodeSixByteArithmetic()
5359 SetS390ConditionCode<uint32_t>(alu_out, mem_val); in DecodeSixByteArithmetic()
5402 int32_t mem_val = ReadW(addr, instr); in DecodeSixByteArithmetic() local
5403 bool isOF = CheckOverflowForIntAdd(mem_val, i2, int32_t); in DecodeSixByteArithmetic()
5404 int32_t alu_out = mem_val + i2; in DecodeSixByteArithmetic()
5423 int64_t mem_val = ReadDW(addr); in DecodeSixByteArithmetic() local
5424 int isOF = CheckOverflowForIntAdd(mem_val, i2, int64_t); in DecodeSixByteArithmetic()
5425 int64_t alu_out = mem_val + i2; in DecodeSixByteArithmetic()
5448 uint64_t mem_val = in DecodeSixByteArithmetic() local
5450 alu_out += mem_val; in DecodeSixByteArithmetic()
5453 uint64_t mem_val = in DecodeSixByteArithmetic() local
5455 alu_out -= mem_val; in DecodeSixByteArithmetic()
5458 uint32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in DecodeSixByteArithmetic() local
5459 alu_out += mem_val; in DecodeSixByteArithmetic()
5462 uint32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in DecodeSixByteArithmetic() local
5463 alu_out -= mem_val; in DecodeSixByteArithmetic()
5500 int32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in DecodeSixByteArithmetic() local
5502 set_low_register(r1, mem_val * r1_val); in DecodeSixByteArithmetic()
5504 int64_t mem_val = ReadDW(b2_val + d2_val + x2_val); in DecodeSixByteArithmetic() local
5506 set_register(r1, mem_val * r1_val); in DecodeSixByteArithmetic()
6096 int32_t mem_val = ReadW(addr, instr); in EVALUATE() local
6097 set_low_register(r1, mem_val); in EVALUATE()
6173 int64_t mem_val = ReadDW(addr); in EVALUATE() local
6174 set_register(r1, mem_val); in EVALUATE()
6245 int64_t mem_val = static_cast<int64_t>(ReadW(addr, instr)); in EVALUATE() local
6246 set_register(r1, mem_val); in EVALUATE()
6283 uint32_t mem_val = ReadWU(addr, instr); in EVALUATE() local
6284 set_low_register(r1, mem_val); in EVALUATE()
6291 uint8_t mem_val = ReadBU(GET_ADDRESS(x2, b2, d2)); in EVALUATE() local
6292 set_register(r1, static_cast<uint64_t>(mem_val)); in EVALUATE()
6299 uint8_t mem_val = ReadBU(GET_ADDRESS(x2, b2, d2)); in EVALUATE() local
6300 set_low_register(r1, static_cast<uint32_t>(mem_val)); in EVALUATE()
6771 int32_t mem_val = static_cast<int32_t>(ReadH(addr, instr)); in EVALUATE() local
6774 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in EVALUATE()
6775 alu_out = r1_val + mem_val; in EVALUATE()
6790 int32_t mem_val = static_cast<int32_t>(ReadH(addr, instr)); in EVALUATE() local
6793 isOF = CheckOverflowForIntSub(r1_val, mem_val, int32_t); in EVALUATE()
6794 alu_out = r1_val - mem_val; in EVALUATE()
6808 int32_t mem_val = static_cast<int32_t>(ReadH(addr, instr)); in EVALUATE() local
6810 alu_out = r1_val * mem_val; in EVALUATE()
6846 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
6848 alu_out = r1_val & mem_val; in EVALUATE()
6861 int32_t mem_val = ReadW(addr, instr); in EVALUATE() local
6862 SetS390ConditionCode<uint32_t>(r1_val, mem_val); in EVALUATE()
6873 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
6875 alu_out = r1_val | mem_val; in EVALUATE()
6888 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
6890 alu_out = r1_val ^ mem_val; in EVALUATE()
6903 int32_t mem_val = ReadW(addr, instr); in EVALUATE() local
6904 SetS390ConditionCode<int32_t>(r1_val, mem_val); in EVALUATE()
6915 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
6918 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in EVALUATE()
6919 alu_out = r1_val + mem_val; in EVALUATE()
6933 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
6936 isOF = CheckOverflowForIntSub(r1_val, mem_val, int32_t); in EVALUATE()
6937 alu_out = r1_val - mem_val; in EVALUATE()
6951 int32_t mem_val = ReadW(addr, instr); in EVALUATE() local
6954 static_cast<int64_t>(r1_val) * static_cast<int64_t>(mem_val); in EVALUATE()
7025 int32_t mem_val = ReadW(b2_val + x2_val + d2_val, instr); in EVALUATE() local
7027 set_low_register(r1, r1_val * mem_val); in EVALUATE()
7231 uint8_t mem_val = ReadB(addr); in EVALUATE() local
7232 uint8_t selected_bits = mem_val & imm_val; in EVALUATE()
7270 uint8_t mem_val = ReadB(addr); in EVALUATE() local
7271 SetS390ConditionCode<uint8_t>(mem_val, imm_val); in EVALUATE()
10744 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
10745 alu_out += mem_val; in EVALUATE()
10757 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
10758 alu_out -= mem_val; in EVALUATE()
10775 uint64_t mem_val = static_cast<uint64_t>(ReadDW(b2_val + d2_val + x2_val)); in EVALUATE() local
10776 alu_out += mem_val; in EVALUATE()
10793 uint64_t mem_val = static_cast<uint64_t>(ReadDW(b2_val + d2_val + x2_val)); in EVALUATE() local
10794 alu_out -= mem_val; in EVALUATE()
10806 int64_t mem_val = ReadDW(b2_val + d2_val + x2_val); in EVALUATE() local
10808 set_register(r1, mem_val * r1_val); in EVALUATE()
10843 int64_t mem_val = static_cast<int64_t>(ReadH(addr, instr)); in EVALUATE() local
10844 set_register(r1, mem_val); in EVALUATE()
10855 uint64_t mem_val = static_cast<uint64_t>(ReadWU(addr, instr)); in EVALUATE() local
10856 set_register(r1, mem_val); in EVALUATE()
10874 uint32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in EVALUATE() local
10875 alu_out += mem_val; in EVALUATE()
10889 uint32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in EVALUATE() local
10890 alu_out -= mem_val; in EVALUATE()
10926 int64_t mem_val = ReadW64(mem_addr, instr); in EVALUATE() local
10927 set_register(r1, ByteReverse(mem_val)); in EVALUATE()
10937 int32_t mem_val = ReadW(mem_addr, instr); in EVALUATE() local
10938 set_low_register(r1, ByteReverse(mem_val)); in EVALUATE()
10949 int16_t mem_val = ReadH(mem_addr, instr); in EVALUATE() local
10950 int32_t result = ByteReverse(mem_val) & 0x0000ffff; in EVALUATE()
10962 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
10963 SetS390ConditionCode<int64_t>(alu_out, mem_val); in EVALUATE()
10974 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
10975 SetS390ConditionCode<uint64_t>(alu_out, mem_val); in EVALUATE()
11074 int32_t mem_val = ReadW(b2_val + d2_val + x2_val, instr); in EVALUATE() local
11076 set_low_register(r1, mem_val * r1_val); in EVALUATE()
11086 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11087 alu_out &= mem_val; in EVALUATE()
11099 uint32_t mem_val = ReadWU(b2_val + x2_val + d2, instr); in EVALUATE() local
11100 SetS390ConditionCode<uint32_t>(alu_out, mem_val); in EVALUATE()
11110 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11111 alu_out |= mem_val; in EVALUATE()
11123 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11124 alu_out ^= mem_val; in EVALUATE()
11136 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11137 SetS390ConditionCode<int32_t>(alu_out, mem_val); in EVALUATE()
11147 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11149 isOF = CheckOverflowForIntAdd(alu_out, mem_val, int32_t); in EVALUATE()
11150 alu_out += mem_val; in EVALUATE()
11163 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11165 isOF = CheckOverflowForIntSub(alu_out, mem_val, int32_t); in EVALUATE()
11166 alu_out -= mem_val; in EVALUATE()
11179 int32_t mem_val = ReadW(b2_val + x2_val + d2, instr); in EVALUATE() local
11182 static_cast<int64_t>(r1_val) * static_cast<int64_t>(mem_val); in EVALUATE()
11197 uint32_t mem_val = ReadWU(b2_val + x2_val + d2, instr); in EVALUATE() local
11198 alu_out += mem_val; in EVALUATE()
11210 uint32_t mem_val = ReadWU(b2_val + x2_val + d2, instr); in EVALUATE() local
11211 alu_out -= mem_val; in EVALUATE()
11273 int32_t mem_val = ReadB(addr); in EVALUATE() local
11274 set_low_register(r1, mem_val); in EVALUATE()
11285 int64_t mem_val = ReadB(addr); in EVALUATE() local
11286 set_register(r1, mem_val); in EVALUATE()
11315 int32_t mem_val = in EVALUATE() local
11319 alu_out = r1_val + mem_val; in EVALUATE()
11320 isOF = CheckOverflowForIntAdd(r1_val, mem_val, int32_t); in EVALUATE()
11334 int32_t mem_val = in EVALUATE() local
11338 alu_out = r1_val - mem_val; in EVALUATE()
11339 isOF = CheckOverflowForIntSub(r1_val, mem_val, int64_t); in EVALUATE()
11358 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
11359 alu_out &= mem_val; in EVALUATE()
11371 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
11372 alu_out |= mem_val; in EVALUATE()
11384 int64_t mem_val = ReadDW(b2_val + x2_val + d2); in EVALUATE() local
11385 alu_out ^= mem_val; in EVALUATE()
11440 uint16_t mem_val = ReadHU(b2_val + d2_val + x2_val, instr); in EVALUATE() local
11441 set_register(r1, mem_val); in EVALUATE()
11452 uint16_t mem_val = ReadHU(b2_val + d2_val + x2_val, instr); in EVALUATE() local
11453 set_low_register(r1, mem_val); in EVALUATE()
11463 uint32_t mem_val = ReadWU(b2_val + x2_val + d2, instr); in EVALUATE() local
11466 static_cast<uint64_t>(r1_val) * static_cast<uint64_t>(mem_val); in EVALUATE()
11836 uint8_t mem_val = ReadB(addr); in EVALUATE() local
11838 uint8_t selected_bits = mem_val & imm_val; in EVALUATE()
11871 uint8_t mem_val = ReadB(addr); in EVALUATE() local
11873 SetS390ConditionCode<uint8_t>(mem_val, imm_val); in EVALUATE()
11903 int32_t mem_val = ReadW(addr, instr); in EVALUATE() local
11904 bool isOF = CheckOverflowForIntAdd(mem_val, i2, int32_t); in EVALUATE()
11905 int32_t alu_out = mem_val + i2; in EVALUATE()
11932 int64_t mem_val = ReadDW(addr); in EVALUATE() local
11933 int isOF = CheckOverflowForIntAdd(mem_val, i2, int64_t); in EVALUATE()
11934 int64_t alu_out = mem_val + i2; in EVALUATE()