Download PTLsim User's Guide and Reference - Facom-UFMS

Transcript
set
Conditional Set
Mnemonic Syntax
set.cc
Operation
rd = ra,rb,(rc) rd = ra ← EvalFlags(rc) ? rb : 0
Notes:
• cc is any valid condition code flag evaluation
• The value 0 or 1 is zero extended to the operation size and merged with rb in accordance with the standard x86 merging rules described previously (except that set
uses rb as the merge target instead of ra)
• Flags attached to ra (condition code) are passed through to the output
132