Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Wanted.PackProgram

Native output-digit packing #

Main definitions #

The mask and both offsets are consumed in registers. No query string or dispatch table is provided to this code, and no memory is read or written.

@[reducible, inline]

Register containing the original depth.

Instances For
    @[reducible, inline]

    Remaining binary subset mask.

    Instances For
      @[reducible, inline]

      Remaining compressed row offset.

      Instances For
        @[reducible, inline]

        Remaining compressed column offset.

        Instances For
          @[reducible, inline]

          Accumulated output code.

          Instances For
            @[reducible, inline]

            Number of consumed coordinates.

            Instances For
              @[reducible, inline]

              Next base-ten place.

              Instances For
                @[reducible, inline]

                Current binary mask digit.

                Instances For
                  @[reducible, inline]

                  Current output digit.

                  Instances For
                    @[reducible, inline]

                    Arithmetic scratch register.

                    Instances For
                      @[reducible, inline]

                      Constant one.

                      Instances For
                        @[reducible, inline]

                        Constant two.

                        Instances For
                          @[reducible, inline]

                          Constant three.

                          Instances For
                            @[reducible, inline]

                            Constant ten.

                            Instances For
                              @[reducible, inline]

                              Constant nine.

                              Instances For

                                Initialize loop counters and ordinary unsigned constants.

                                Instances For

                                  One actual digit decision, with row-major outer digits and inner digit nine.

                                  Instances For

                                    A single finite program handles every runtime depth and both compressed offsets.

                                    Instances For