-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is in preparation for #1250. We generate `with_bedrock2_*` binaries which support bedrock2 output but default to C. We also install these by default when we are installing with bedrock2 enabled. These will be the source files that we want to package up into source releases of our generated code, as well as the source we use for generating statically-linked redistributable binaries.
- Loading branch information
1 parent
f88fc94
commit 9e509e7
Showing
20 changed files
with
196 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_base_conversion.hs"*) Recursive Extraction BaseConversion.main. | ||
(* cat /tmp/bedrock2_base_conversion.hs.out | sed -f haskell.sed > ../../bedrock2_base_conversion.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_saturated_solinas.hs"*) Recursive Extraction SaturatedSolinas.main. | ||
(* cat /tmp/bedrock2_saturated_solinas.hs.out | sed -f haskell.sed > ../../bedrock2_saturated_solinas.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_unsaturated_solinas.hs" *)Recursive Extraction UnsaturatedSolinas.main. | ||
(* cat /tmp/bedrock2_unsaturated_solinas.hs.out | sed -f haskell.sed > ../../bedrock2_unsaturated_solinas.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_word_by_word_montgomery.hs" *)Recursive Extraction WordByWordMontgomery.main. | ||
(* cat /tmp/bedrock2_word_by_word_montgomery.hs.out | sed -f haskell.sed > ../../bedrock2_word_by_word_montgomery.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_base_conversion.hs"*) Recursive Extraction BaseConversion.main. | ||
(* cat /tmp/bedrock2_base_conversion.hs.out | sed -f haskell.sed > ../../bedrock2_base_conversion.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_saturated_solinas.hs"*) Recursive Extraction SaturatedSolinas.main. | ||
(* cat /tmp/bedrock2_saturated_solinas.hs.out | sed -f haskell.sed > ../../bedrock2_saturated_solinas.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_unsaturated_solinas.hs" *)Recursive Extraction UnsaturatedSolinas.main. | ||
(* cat /tmp/bedrock2_unsaturated_solinas.hs.out | sed -f haskell.sed > ../../bedrock2_unsaturated_solinas.hs *) |
5 changes: 5 additions & 0 deletions
5
src/ExtractionHaskell/with_bedrock2_word_by_word_montgomery.v
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_word_by_word_montgomery.hs" *)Recursive Extraction WordByWordMontgomery.main. | ||
(* cat /tmp/bedrock2_word_by_word_montgomery.hs.out | sed -f haskell.sed > ../../bedrock2_word_by_word_montgomery.hs *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_base_conversion.ml"*) Recursive Extraction BaseConversion.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_saturated_solinas.ml"*) Recursive Extraction SaturatedSolinas.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_unsaturated_solinas.ml"*) Recursive Extraction UnsaturatedSolinas.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_word_by_word_montgomery.ml"*) Recursive Extraction WordByWordMontgomery.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_base_conversion.ml"*) Recursive Extraction BaseConversion.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_saturated_solinas.ml"*) Recursive Extraction SaturatedSolinas.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_unsaturated_solinas.ml"*) Recursive Extraction UnsaturatedSolinas.main. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_word_by_word_montgomery.ml"*) Recursive Extraction WordByWordMontgomery.main. |