|
|
|
|
|
by renox
1105 days ago
|
|
Even a very low penalty isn't something that the industry is willing to produce.. For example, the RISC-V is derived from the MIPS, the MIPS had some instruction to trap on integer overflow, it's a very minor penalty to have these instructions, and guess what? They haven't been included in RISC-V.. |
|
If it's not that frequent and it can be done with 2 instructions, it'd be quite hard to make the argument for a dedicated instruction.