HomePhabricator

[RISCV] Introduce floating point control and state registers

Authored by sepavloff on Mar 19 2021, 6:10 AM.

Description

[RISCV] Introduce floating point control and state registers

New registers FRM, FFLAGS and FCSR was defined. They represent
corresponding system registers. The new registers are necessary to
properly order floating point instructions in non-default modes.

Differential Revision: https://reviews.llvm.org/D99083