Closed karthikbhargavan closed 3 months ago
This PR propagates target attributes to the C code. In particular, if you add to the config.yaml file:
- name: libcrux_sha3_avx2 target: "avx2" ...
Then the file libcrux_sha3_avx2.c will contain:
libcrux_sha3_avx2.c
KRML_ATTRIBUTE_TARGET("avx2")
before every function in the file.
This has only been tested on libcrux, so it may need a local test file and documentation.
This PR propagates target attributes to the C code. In particular, if you add to the config.yaml file:
Then the file
libcrux_sha3_avx2.c
will contain:before every function in the file.
This has only been tested on libcrux, so it may need a local test file and documentation.