Displaying 1 result from an estimated 1 matches for "nzp".
Did you mean:
np
2018 Jan 29
2
How to use tablegen to describe branches where the status register is implicitly set?
I'm working on writing a backend for a processor that only has one Branch
instruction, a BRnzp, where it branches on a status register (NZP:
Negative, Zero, Positive) based on what the result of the last arithmetic
operation was. It's implicitly set, nowhere in userspace.
Basically, it follows the format of:
ADD ....
BR 010 ... (Branches if the result of the ADD was zero).
Uncondition...