pub struct Tested {
pub name: &'static str,
pub into: &'static str,
}Expand description
One comparison against a constant, and the shorter instruction that asks it against zero.
The shorter one reads the register it is given and reads it again instead of the constant, so it names one register where the first names a register and a number, and the bytes it saves are the bytes the number was written in. It says the same thing only for zero: a comparison of a register against zero and a bitwise and of the register with itself leave the same sign, the same zero and the same parity, and both leave the carry and the overflow clear.
Fields§
§name: &'static strThe opcode that takes the constant.
into: &'static strThe opcode that asks the same question of the register alone. It writes the condition state exactly as the first one does, which is why nothing about where the state is live is a question this rewrite has to ask.