I need to parse through raw data where fields are aligned on 4 bytes and either contain a floating point value, or garbage, and filter out float values between 100 and 5000
In windows I can use SetMXCSR (and Set8087CW) to disable exceptions when the data is garbage but that isn't available in ARM
Is there a generic way to do this or will I have to result to ASM, or use a soft fpu implementation that skips those exceptions ?
Edit: Just noticed SetExceptionMask() Is this what I am looking for ?
Edit2: Yup, it's fixed