added simulator support for mffs and mtfsf for ClampDoubleToU8