From 5b6be861f2ad9aa9dbd35e9e098b9783a8660bda Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 28 Jul 2022 03:10:47 -0700 Subject: [PATCH] DOUBLE2SINGLE: convert doc comments to docstring --- src/openpower/decoder/helpers.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/openpower/decoder/helpers.py b/src/openpower/decoder/helpers.py index 1929315d..a81c3f09 100644 --- a/src/openpower/decoder/helpers.py +++ b/src/openpower/decoder/helpers.py @@ -472,9 +472,10 @@ class ISACallerHelper: return SelectableInt(exts(value.value, bits), self.XLEN) def DOUBLE2SINGLE(self, FRS): - # DOUBLE2SINGLE has been renamed to FRSP since it is the - # implementation of the frsp instruction. - # use SINGLE() or FRSP() instead, or just use struct.pack/unpack + """ DOUBLE2SINGLE has been renamed to FRSP since it is the + implementation of the frsp instruction. + use SINGLE() or FRSP() instead, or just use struct.pack/unpack + """ FPSCR = { 'UE': SelectableInt(0, 1), 'OE': SelectableInt(0, 1), -- 2.30.2