diff --git a/src/frontend/A64/FPCR.h b/src/frontend/A64/FPCR.h index 9e82733e..1ebf1a56 100644 --- a/src/frontend/A64/FPCR.h +++ b/src/frontend/A64/FPCR.h @@ -37,6 +37,11 @@ public: return Common::Bit<26>(value); } + /// Alternate half-precision control flag. + void AHP(bool AHP_) { + value = Common::ModifyBit<26>(value, AHP_); + } + /// Default NaN mode control bit. bool DN() const { return Common::Bit<25>(value); @@ -52,6 +57,10 @@ public: return static_cast(Common::Bits<22, 23>(value)); } + bool FZ16() const { + return Common::Bit<19>(value); + } + /// Input denormal exception trap enable flag. bool IDE() const { return Common::Bit<15>(value);