URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1302 to Rev 1303
- ↔ Reverse comparison
Rev 1302 → Rev 1303
/trunk/or1ksim/cpu/or32/insnset.c
512,14 → 512,14
IFF (config.cpu.dependstats) current->func_unit = it_float; |
set_operand32(0, (machword)((float)eval_operand32(1, &breakpoint) / (float)eval_operand32(2, &breakpoint)), &breakpoint); |
} |
/*INSTRUCTION (lf_ftoi_s) { |
INSTRUCTION (lf_ftoi_s) { |
IFF (config.cpu.dependstats) current->func_unit = it_float; |
set_operand32(0, freg[get_operand(1)], &breakpoint); |
// set_operand32(0, freg[get_operand(1)], &breakpoint); |
} |
INSTRUCTION (lf_itof_s) { |
IFF (config.cpu.dependstats) current->func_unit = it_float; |
freg[get_operand(0)] = eval_operand32(1, &breakpoint); |
}*/ |
// freg[get_operand(0)] = eval_operand32(1, &breakpoint); |
} |
INSTRUCTION (lf_madd_s) { |
IFF (config.cpu.dependstats) current->func_unit = it_float; |
set_operand32(0, (machword)((float)eval_operand32(0, &breakpoint) + (float)eval_operand32(1, &breakpoint) * (float)eval_operand32(2, &breakpoint)), &breakpoint); |