OK, This is my interest.
With the32-bit instruction set having conditional execuation based
upon previously-set condition codes, what happens if there is a
nested IF, if the conditions for execution are based upon the result
of the outer IF?
Presumably the outer IF has to be resolved by conditional branches
and not by conditional execution?
On 04/12/2015 18:53, gareth wrote:
As per subject
It got this far.
As per subject
On 04/12/2015 23:02, gareth wrote:
OK, This is my interest.
With the32-bit instruction set having conditional execuation based
upon previously-set condition codes, what happens if there is a
nested IF, if the conditions for execution are based upon the result
of the outer IF?
Presumably the outer IF has to be resolved by conditional branches
and not by conditional execution?
Yes.
It my be possible to come up with inner and outer conditions based on mutually exclusive flag combinations, but in modern ARMs with branch prediction, a branch is going to be quicker than skipping large chunks
of not taken conditional instructions.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 63:42:40 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,274,684 |