package jasmin

  1. Overview
  2. Docs
Compiler for High-Assurance and High-Speed Cryptography

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jasmin-compiler-v2025.06.1.tar.bz2
sha256=e92b42fa69da7c730b0c26dacf842a72b4febcaf4f2157a1dc18b3cce1f859fa

doc/jasmin.jasmin/Jasmin/Insert_copy_and_fix_length/index.html

Module Jasmin.Insert_copy_and_fix_lengthSource

Sourceval doit : Wsize.wsize -> (unit, 'asm) Prog.prog -> (unit, 'asm) Prog.prog

This step has two purposes: 1/ Fix the size information (n) in Ocopy(ws, n). For the moment pretyping add a dummy value for n, it is fixed here. 2/ Replace x = y with #copy, when x and y are arrays and at least one of them is a reg array. This #copy will be transformed into a loop later. This is optional: !Glob_options.introduce_array_copy