32-bit Floating-Point Support for EzPC#60
Open
krantikiran wants to merge 15 commits intompc-msri:masterfrom
Open
32-bit Floating-Point Support for EzPC#60krantikiran wants to merge 15 commits intompc-msri:masterfrom
krantikiran wants to merge 15 commits intompc-msri:masterfrom
Conversation
511d31a to
8f8b379
Compare
731f01a to
dfc7b90
Compare
dfc7b90 to
108feb8
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the syntax, type-checker and code-generator for EzPC to ABY code coversion.
The current version uses the "+.", "-.", "*.", "/." to distinguish the floating-point operations from their integer counterparts. These operation are stored in the Ast as Binops.
In addition, the "FLOATEXP" and "FLOAT2EXP" unaray operators are added for the floating-point EXP and EXP2 functions in ABY.
Issue: The parser uses YAO circuit by default which are incompatible with Floating-Point ABY gates. One solution is that we can either change the default from YAO to BOOL and this would be a temporary fix or making the changes to the code-generator.