https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108922
--- Comment #20 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jakub Jelinek from comment #16) > More questionable is the #Z case, where Table 8-11 just talks about > Divide or reverse divide operation Returns an ∞ signed with the exclusive > OR of the > with a 0 divisor. sign of the two operands to the > destination operand. > but FPREM does division too, so I hope it is covered too (but not listed > explicitly). FYI, the table 3-30 (and 3-31) is wrong. Executing fprem when st(0) == 1.0 and st(1) == 0.0 results in IA exception, not Z exception.