Does it raise integer exceptions?
No. Floating-point exceptions are recorded in fflags and results follow the floating-point rules.
Performs single-precision floating-point division: rd = rs1/rs2.
FDIV.S divides single-precision floating-point rs1 by rs2, rounds according to rm, and writes rd. Divide-by-zero, invalid operation, overflow, underflow, and inexact cases produce results and fflags according to the RISC-V F extension/IEEE 754 rules; not every zero-divisor case is simply infinity.
FDIV.S is a floating-point arithmetic instruction. It uses the rm field for rounding mode and sets fflags exception flags according to IEEE 754/RISC-V floating-point rules.
Understand this scenario with real code like «fdiv.s f0, f1, f2 # f0 = f1/f2 (RNE)».
No. Floating-point exceptions are recorded in fflags and results follow the floating-point rules.
Assemblers may provide a dynamic/default spelling, but the machine instruction contains a rounding-mode field.