simulator: Clean up. Reorder functions and add forward declarations.
simulator: add new floating point equality instructions to isCompare

so vector versions will work correctly