From 00a66faef856c94e2648c8b1ec3a54422d56fdeb Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Thu, 12 Oct 2023 17:46:34 +0200 Subject: [PATCH] docs: Correct description of `frep`'s `max_inst` field --- docs/rm/custom_instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rm/custom_instructions.md b/docs/rm/custom_instructions.md index 2a79b757a..f7fcfbd0d 100644 --- a/docs/rm/custom_instructions.md +++ b/docs/rm/custom_instructions.md @@ -37,7 +37,7 @@ The FREP instruction has the following signature: | max_inst | max_rpt | stagger_max | stagger_mask | 0 | OP-CUSTOM1 | FREP.I | | max_inst | max_rpt | stagger_max | stagger_mask | 1 | OP-CUSTOM1 | FREP.O | -FREP.I and FREP.O repeat the *max_inst* instructions following the FREP instruction for *max_rpt + 1* times. The FREP.I instruction (*I* stands for inner) repeats every instruction the specified number of times and moves on to executing and repeating the next. The FREP.O instruction (*O* stands for outer) repeats the whole sequence of instructions *max_rpt + 1* times. Register staggering can be enabled and configured via the *stagger_mask* and *stagger_max* immediates. A detailed explanation of their use can be found in the Snitch [paper](/publications). +FREP.I and FREP.O repeat the *max_inst + 1* instructions following the FREP instruction for *max_rpt + 1* times. The FREP.I instruction (*I* stands for inner) repeats every instruction the specified number of times and moves on to executing and repeating the next. The FREP.O instruction (*O* stands for outer) repeats the whole sequence of instructions *max_rpt + 1* times. Register staggering can be enabled and configured via the *stagger_mask* and *stagger_max* immediates. A detailed explanation of their use can be found in the Snitch [paper](/publications). The assembly instruction signature follows: