[HSA-692 Test] Implement Floating Point Exception Instructions

Add more tests.
[HSA-692 Fix] Implement Floating Point Exception Instructions

Handle various corner cases that were broken before.