Greetings,
Hifive Unmatched does not support NaN payload. In fact, this test failure was initially found on Unmatched. I test it with -O0.
From,
Sakura286.