package jasmin

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

jasmin-compiler-v2026.03.0.tar.bz2
sha256=dec62a3cd0cd42cfe96ec64b3cd3961e0e8a09fb92ceb64175cffb54fde50e40

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