pub struct Fold {
pub from: &'static str,
pub into: &'static str,
pub load: &'static str,
pub commutes: bool,
}Expand description
One arithmetic instruction that could read its second source out of memory, and the load that would fill it.
A table rather than a rule about spellings, because the three names in each row are three things
the target describes on their own and nothing about add_rr_64 says that mov_rm_64 is the
load of the same width. Writing the three together is what makes a mismatched width a line
somebody can see rather than a string that was built at run time.
Fields§
§from: &'static strThe arithmetic as the selector wrote it, reading both its sources from registers.
into: &'static strThe same arithmetic reading its second source out of memory.
load: &'static strThe load that would have filled that register, which has to be of the same width.
commutes: boolWhether the two sources may be swapped, which is what lets the load feed either of them.