From 6dfe443174d838c5ded40dc3e889a123725d4727 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 7 Dec 2021 17:55:46 -0800 Subject: [PATCH] add comment about draft instructions --- src/soc/fu/pipe_data.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/soc/fu/pipe_data.py b/src/soc/fu/pipe_data.py index ec6d240c..b43244b3 100644 --- a/src/soc/fu/pipe_data.py +++ b/src/soc/fu/pipe_data.py @@ -85,5 +85,12 @@ class CommonPipeSpec: def get_pspec_draft_bitmanip(pspec): + """ True if the draft bitmanip instructions are enabled in the provided + pspec. The instructions enabled by this are draft instructions -- they are + not official OpenPower instructions, they are intended to be eventually + submitted to the OpenPower ISA WG. + + https://libre-soc.org/openpower/sv/bitmanip/ + """ # use `is True` to account for Mock absurdities return getattr(pspec, "draft_bitmanip", False) is True -- 2.30.2