Lines Matching refs:destval

1113 	uint8_t destval;  in common_binop_byte_rm_r()  local
1119 destval = fetch_data_byte(emu, destoffset); in common_binop_byte_rm_r()
1120 destval = (*binop)(emu, destval, srcval); in common_binop_byte_rm_r()
1121 store_data_byte(emu, destoffset, destval); in common_binop_byte_rm_r()
1133 uint8_t destval, srcval; in common_binop_ns_byte_rm_r() local
1139 destval = fetch_data_byte(emu, destoffset); in common_binop_ns_byte_rm_r()
1141 destval = *decode_rl_byte_register(emu); in common_binop_ns_byte_rm_r()
1143 (*binop)(emu, destval, srcval); in common_binop_ns_byte_rm_r()
1151 uint16_t destval, *destreg, srcval; in common_binop_word_rm_r() local
1157 destval = fetch_data_word(emu, destoffset); in common_binop_word_rm_r()
1158 destval = (*binop)(emu, destval, srcval); in common_binop_word_rm_r()
1159 store_data_word(emu, destoffset, destval); in common_binop_word_rm_r()
1189 uint32_t destval, *destreg, srcval; in common_binop_long_rm_r() local
1195 destval = fetch_data_long(emu, destoffset); in common_binop_long_rm_r()
1196 destval = (*binop)(emu, destval, srcval); in common_binop_long_rm_r()
1197 store_data_long(emu, destoffset, destval); in common_binop_long_rm_r()
1220 uint16_t destval, srcval; in common_binop_ns_word_rm_r() local
1226 destval = fetch_data_word(emu, destoffset); in common_binop_ns_word_rm_r()
1228 destval = *decode_rl_word_register(emu); in common_binop_ns_word_rm_r()
1230 (*binop)(emu, destval, srcval); in common_binop_ns_word_rm_r()
1239 uint32_t destval, srcval; in common_binop_ns_long_rm_r() local
1245 destval = fetch_data_long(emu, destoffset); in common_binop_ns_long_rm_r()
1247 destval = *decode_rl_long_register(emu); in common_binop_ns_long_rm_r()
1249 (*binop)(emu, destval, srcval); in common_binop_ns_long_rm_r()
1764 uint8_t imm, destval; in x86emuOp_opc80_byte_RM_IMM() local
1772 destval = decode_and_fetch_byte(emu); in x86emuOp_opc80_byte_RM_IMM()
1774 destval = (*opc80_byte_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp_opc80_byte_RM_IMM()
1776 write_back_byte(emu, destval); in x86emuOp_opc80_byte_RM_IMM()
1814 uint32_t destval, imm; in x86emuOp32_opc81_word_RM_IMM() local
1822 destval = decode_and_fetch_long(emu); in x86emuOp32_opc81_word_RM_IMM()
1824 destval = (*opc81_long_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp32_opc81_word_RM_IMM()
1826 write_back_long(emu, destval); in x86emuOp32_opc81_word_RM_IMM()
1832 uint16_t destval, imm; in x86emuOp16_opc81_word_RM_IMM() local
1840 destval = decode_and_fetch_word(emu); in x86emuOp16_opc81_word_RM_IMM()
1842 destval = (*opc81_word_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp16_opc81_word_RM_IMM()
1844 write_back_word(emu, destval); in x86emuOp16_opc81_word_RM_IMM()
1877 uint8_t imm, destval; in x86emuOp_opc82_byte_RM_IMM() local
1886 destval = decode_and_fetch_byte(emu); in x86emuOp_opc82_byte_RM_IMM()
1888 destval = (*opc82_byte_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp_opc82_byte_RM_IMM()
1890 write_back_byte(emu, destval); in x86emuOp_opc82_byte_RM_IMM()
1928 uint32_t destval, imm; in x86emuOp32_opc83_word_RM_IMM() local
1931 destval = decode_and_fetch_long(emu); in x86emuOp32_opc83_word_RM_IMM()
1933 destval = (*opc83_long_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp32_opc83_word_RM_IMM()
1935 write_back_long(emu, destval); in x86emuOp32_opc83_word_RM_IMM()
1941 uint16_t destval, imm; in x86emuOp16_opc83_word_RM_IMM() local
1944 destval = decode_and_fetch_word(emu); in x86emuOp16_opc83_word_RM_IMM()
1946 destval = (*opc83_word_operation[emu->cur_rh]) (emu, destval, imm); in x86emuOp16_opc83_word_RM_IMM()
1948 write_back_word(emu, destval); in x86emuOp16_opc83_word_RM_IMM()
1967 uint8_t *srcreg, destval, tmp; in x86emuOp_xchg_byte_RM_R() local
1970 destval = decode_and_fetch_byte(emu); in x86emuOp_xchg_byte_RM_R()
1972 tmp = destval; in x86emuOp_xchg_byte_RM_R()
1973 destval = *srcreg; in x86emuOp_xchg_byte_RM_R()
1975 write_back_byte(emu, destval); in x86emuOp_xchg_byte_RM_R()
1985 uint32_t *srcreg, destval, tmp; in x86emuOp32_xchg_word_RM_R() local
1988 destval = decode_and_fetch_long(emu); in x86emuOp32_xchg_word_RM_R()
1990 tmp = destval; in x86emuOp32_xchg_word_RM_R()
1991 destval = *srcreg; in x86emuOp32_xchg_word_RM_R()
1993 write_back_long(emu, destval); in x86emuOp32_xchg_word_RM_R()
1999 uint16_t *srcreg, destval, tmp; in x86emuOp16_xchg_word_RM_R() local
2002 destval = decode_and_fetch_word(emu); in x86emuOp16_xchg_word_RM_R()
2004 tmp = destval; in x86emuOp16_xchg_word_RM_R()
2005 destval = *srcreg; in x86emuOp16_xchg_word_RM_R()
2007 write_back_word(emu, destval); in x86emuOp16_xchg_word_RM_R()
2199 uint32_t destval, *destreg; in x86emuOp32_pop_RM() local
2204 destval = pop_long(emu); in x86emuOp32_pop_RM()
2205 store_data_long(emu, destoffset, destval); in x86emuOp32_pop_RM()
2216 uint16_t destval, *destreg; in x86emuOp16_pop_RM() local
2221 destval = pop_word(emu); in x86emuOp16_pop_RM()
2222 store_data_word(emu, destoffset, destval); in x86emuOp16_pop_RM()
3149 uint8_t destval, amt; in x86emuOp_opcC0_byte_RM_MEM() local
3158 destval = decode_and_fetch_byte_imm8(emu, &amt); in x86emuOp_opcC0_byte_RM_MEM()
3159 destval = (*opcD0_byte_operation[emu->cur_rh]) (emu, destval, amt); in x86emuOp_opcC0_byte_RM_MEM()
3160 write_back_byte(emu, destval); in x86emuOp_opcC0_byte_RM_MEM()
3207 uint32_t destval; in x86emuOp_opcC1_word_RM_MEM() local
3209 destval = decode_and_fetch_long_imm8(emu, &amt); in x86emuOp_opcC1_word_RM_MEM()
3210 destval = (*opcD1_long_operation[emu->cur_rh]) in x86emuOp_opcC1_word_RM_MEM()
3211 (emu, destval, amt); in x86emuOp_opcC1_word_RM_MEM()
3212 write_back_long(emu, destval); in x86emuOp_opcC1_word_RM_MEM()
3214 uint16_t destval; in x86emuOp_opcC1_word_RM_MEM() local
3216 destval = decode_and_fetch_word_imm8(emu, &amt); in x86emuOp_opcC1_word_RM_MEM()
3217 destval = (*opcD1_word_operation[emu->cur_rh]) in x86emuOp_opcC1_word_RM_MEM()
3218 (emu, destval, amt); in x86emuOp_opcC1_word_RM_MEM()
3219 write_back_word(emu, destval); in x86emuOp_opcC1_word_RM_MEM()
3434 uint8_t destval; in x86emuOp_opcD0_byte_RM_1() local
3437 destval = decode_and_fetch_byte(emu); in x86emuOp_opcD0_byte_RM_1()
3438 destval = (*opcD0_byte_operation[emu->cur_rh]) (emu, destval, 1); in x86emuOp_opcD0_byte_RM_1()
3439 write_back_byte(emu, destval); in x86emuOp_opcD0_byte_RM_1()
3450 uint32_t destval; in x86emuOp_opcD1_word_RM_1() local
3453 destval = decode_and_fetch_long(emu); in x86emuOp_opcD1_word_RM_1()
3454 destval = (*opcD1_long_operation[emu->cur_rh])(emu, destval, 1); in x86emuOp_opcD1_word_RM_1()
3455 write_back_long(emu, destval); in x86emuOp_opcD1_word_RM_1()
3457 uint16_t destval; in x86emuOp_opcD1_word_RM_1() local
3460 destval = decode_and_fetch_word(emu); in x86emuOp_opcD1_word_RM_1()
3461 destval = (*opcD1_word_operation[emu->cur_rh])(emu, destval, 1); in x86emuOp_opcD1_word_RM_1()
3462 write_back_word(emu, destval); in x86emuOp_opcD1_word_RM_1()
3473 uint8_t destval; in x86emuOp_opcD2_byte_RM_CL() local
3476 destval = decode_and_fetch_byte(emu); in x86emuOp_opcD2_byte_RM_CL()
3477 destval = (*opcD0_byte_operation[emu->cur_rh]) in x86emuOp_opcD2_byte_RM_CL()
3478 (emu, destval, emu->x86.R_CL); in x86emuOp_opcD2_byte_RM_CL()
3479 write_back_byte(emu, destval); in x86emuOp_opcD2_byte_RM_CL()
3490 uint32_t destval; in x86emuOp_opcD3_word_RM_CL() local
3493 destval = decode_and_fetch_long(emu); in x86emuOp_opcD3_word_RM_CL()
3494 destval = (*opcD1_long_operation[emu->cur_rh]) in x86emuOp_opcD3_word_RM_CL()
3495 (emu, destval, emu->x86.R_CL); in x86emuOp_opcD3_word_RM_CL()
3496 write_back_long(emu, destval); in x86emuOp_opcD3_word_RM_CL()
3498 uint16_t destval; in x86emuOp_opcD3_word_RM_CL() local
3501 destval = decode_and_fetch_word(emu); in x86emuOp_opcD3_word_RM_CL()
3502 destval = (*opcD1_word_operation[emu->cur_rh]) in x86emuOp_opcD3_word_RM_CL()
3503 (emu, destval, emu->x86.R_CL); in x86emuOp_opcD3_word_RM_CL()
3504 write_back_word(emu, destval); in x86emuOp_opcD3_word_RM_CL()
3891 uint8_t destval, srcval; in x86emuOp_opcF6_byte_RM() local
3900 destval = decode_and_fetch_byte_imm8(emu, &srcval); in x86emuOp_opcF6_byte_RM()
3901 test_byte(emu, destval, srcval); in x86emuOp_opcF6_byte_RM()
3904 destval = decode_and_fetch_byte(emu); in x86emuOp_opcF6_byte_RM()
3907 destval = ~destval; in x86emuOp_opcF6_byte_RM()
3908 write_back_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3911 destval = neg_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3912 write_back_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3915 mul_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3918 imul_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3921 div_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3924 idiv_byte(emu, destval); in x86emuOp_opcF6_byte_RM()
3936 uint32_t destval, srcval; in x86emuOp32_opcF7_word_RM() local
3950 destval = fetch_data_long(emu, destoffset); in x86emuOp32_opcF7_word_RM()
3953 destval = *decode_rl_long_register(emu); in x86emuOp32_opcF7_word_RM()
3955 test_long(emu, destval, srcval); in x86emuOp32_opcF7_word_RM()
3958 destval = decode_and_fetch_long(emu); in x86emuOp32_opcF7_word_RM()
3961 destval = ~destval; in x86emuOp32_opcF7_word_RM()
3962 write_back_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3965 destval = neg_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3966 write_back_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3969 mul_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3972 imul_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3975 div_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3978 idiv_long(emu, destval); in x86emuOp32_opcF7_word_RM()
3985 uint16_t destval, srcval; in x86emuOp16_opcF7_word_RM() local
3999 destval = fetch_data_word(emu, destoffset); in x86emuOp16_opcF7_word_RM()
4002 destval = *decode_rl_word_register(emu); in x86emuOp16_opcF7_word_RM()
4004 test_word(emu, destval, srcval); in x86emuOp16_opcF7_word_RM()
4007 destval = decode_and_fetch_word(emu); in x86emuOp16_opcF7_word_RM()
4010 destval = ~destval; in x86emuOp16_opcF7_word_RM()
4011 write_back_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4014 destval = neg_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4015 write_back_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4018 mul_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4021 imul_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4024 div_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4027 idiv_word(emu, destval); in x86emuOp16_opcF7_word_RM()
4047 uint8_t destval; in x86emuOp_opcFE_byte_RM() local
4057 destval = fetch_data_byte(emu, destoffset); in x86emuOp_opcFE_byte_RM()
4058 destval = inc_byte(emu, destval); in x86emuOp_opcFE_byte_RM()
4059 store_data_byte(emu, destoffset, destval); in x86emuOp_opcFE_byte_RM()
4062 destval = fetch_data_byte(emu, destoffset); in x86emuOp_opcFE_byte_RM()
4063 destval = dec_byte(emu, destval); in x86emuOp_opcFE_byte_RM()
4064 store_data_byte(emu, destoffset, destval); in x86emuOp_opcFE_byte_RM()
4088 uint32_t destval, *destreg; in x86emuOp32_opcFF_word_RM() local
4092 destval = fetch_data_long(emu, destoffset); in x86emuOp32_opcFF_word_RM()
4095 destval = inc_long(emu, destval); in x86emuOp32_opcFF_word_RM()
4096 store_data_long(emu, destoffset, destval); in x86emuOp32_opcFF_word_RM()
4099 destval = dec_long(emu, destval); in x86emuOp32_opcFF_word_RM()
4100 store_data_long(emu, destoffset, destval); in x86emuOp32_opcFF_word_RM()
4103 push_long(emu, destval); in x86emuOp32_opcFF_word_RM()
4127 uint16_t destval; in x86emuOp16_opcFF_word_RM() local
4131 destval = fetch_data_word(emu, destoffset); in x86emuOp16_opcFF_word_RM()
4134 destval = inc_word(emu, destval); in x86emuOp16_opcFF_word_RM()
4135 store_data_word(emu, destoffset, destval); in x86emuOp16_opcFF_word_RM()
4138 destval = dec_word(emu, destval); in x86emuOp16_opcFF_word_RM()
4139 store_data_word(emu, destoffset, destval); in x86emuOp16_opcFF_word_RM()
4142 push_word(emu, destval); in x86emuOp16_opcFF_word_RM()
4165 uint16_t destval, destval2; in x86emuOp_opcFF_word_RM() local
4182 destval = fetch_data_word(emu, destoffset); in x86emuOp_opcFF_word_RM()
4189 emu->x86.R_IP = destval; in x86emuOp_opcFF_word_RM()
4193 emu->x86.R_IP = destval; in x86emuOp_opcFF_word_RM()
4198 destval = *decode_rl_word_register(emu); in x86emuOp_opcFF_word_RM()
4204 emu->x86.R_IP = destval; in x86emuOp_opcFF_word_RM()
4207 emu->x86.R_IP = destval; in x86emuOp_opcFF_word_RM()
5037 uint8_t *destreg, destval; in common_set_byte() local
5040 destval = cond ? 0x01 : 0x00; in common_set_byte()
5043 store_data_byte(emu, destoffset, destval); in common_set_byte()
5046 *destreg = destval; in common_set_byte()
5158 uint32_t destval, *shiftreg; in common_shift32() local
5163 destval = decode_and_fetch_long(emu); in common_shift32()
5166 destval = decode_and_fetch_long_imm8(emu, &shift); in common_shift32()
5169 destval = shld_long(emu, destval, *shiftreg, shift); in common_shift32()
5171 destval = shrd_long(emu, destval, *shiftreg, shift); in common_shift32()
5172 write_back_long(emu, destval); in common_shift32()
5179 uint16_t destval, *shiftreg; in common_shift16() local
5184 destval = decode_and_fetch_word(emu); in common_shift16()
5187 destval = decode_and_fetch_word_imm8(emu, &shift); in common_shift16()
5190 destval = shld_word(emu, destval, *shiftreg, shift); in common_shift16()
5192 destval = shrd_word(emu, destval, *shiftreg, shift); in common_shift16()
5193 write_back_word(emu, destval); in common_shift16()