mirror of
https://github.com/TomHarte/CLK.git
synced 2025-03-20 03:29:47 +00:00
Add TODO.
This commit is contained in:
parent
dbf7d07609
commit
3d08953103
@ -479,6 +479,10 @@ constexpr bool supports(Operation operation, Repetition repetition) {
|
||||
case Operation::STOS:
|
||||
return true;
|
||||
|
||||
// TODO: my new understanding is that the 8086 and 8088 recognise rep and repne on
|
||||
// IDIV — and possibly DIV — as a quirk, affecting the outcome (possibly negativing the result?).
|
||||
// So the test below should be a function of model, if I come to a conclusion about whether I'm
|
||||
// going for fidelity to the instruction set as generally implemented, or to Intel's specific implementation.
|
||||
case Operation::IDIV:
|
||||
return repetition == Repetition::RepNE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user