Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track exprs #1

Merged
merged 60 commits into from
Apr 14, 2016
Merged

Track exprs #1

merged 60 commits into from
Apr 14, 2016

Commits on Mar 7, 2016

  1. Track op exprs, print with --print-expr-updates

    With this commit, we track the ast that built up each shadow value, and
    then at each operation track the most specific AST that is general
    enough to be a rooted subtree of all the shadow values that passed
    through it (where x in the generalized tree can stand for any subtree of
    the shadow values). Haven't added this to the output format yet, but if
    you use the --print-expr-updates arg, you'll see a message every time an
    op gets hit, which prints its updated AST.
    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    9613326 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de4ff52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da61b30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b04876a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dedc63e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6afa1aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a273b14 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0fc317b View commit details
    Browse the repository at this point in the history
  9. Remove makefile echo

    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    865a68a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    872261a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    34a167c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8012900 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f6492ea View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f394fb7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7093538 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9df18a8 View commit details
    Browse the repository at this point in the history
  17. Add prototype

    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    60c543f View commit details
    Browse the repository at this point in the history
  18. Initialize Op AST earlier

    This way, the op ast is initialized when we add it to the tracker, which
    might be important.
    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    b5c61c3 View commit details
    Browse the repository at this point in the history
  19. Account for lack of debug info

    Now properly handles the debug info getting functions returning false.
    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    b76c3dd View commit details
    Browse the repository at this point in the history
  20. Moved responsibility for initing ASTs to later

    Specifically, leaf AST's were being initialized on the creation of every
    shadow location, and then immediately overwritten with branch AST's when
    they were used for the result of an operation. Now, we don't initialize
    them at all on creation, and rely on the sites of creation to know what
    they'll be used for, and initialize them properly.
    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    3f1c1c8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5edbedc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0892d6c View commit details
    Browse the repository at this point in the history
  23. Do proper AST memory management

    Don't share AST pointers between shadow values, just copy them, and then
    clean them up when the values are cleaned up due to the reference
    counting system.
    HazardousPeach committed Mar 7, 2016
    Configuration menu
    Copy the full SHA
    16c57a9 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    d7c4184 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4587b65 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ff44ade View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2016

  1. Configuration menu
    Copy the full SHA
    a3e27fe View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2016

  1. We can now get the libm args to work if...

    Debug info is enabled on the executable. I'm looking for a more robust
    way to do this.
    HazardousPeach committed Mar 9, 2016
    Configuration menu
    Copy the full SHA
    bece57d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2016

  1. Configuration menu
    Copy the full SHA
    1761206 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2016

  1. Added a benchmark that uses fma

    This is the only ternary function I could think of, so this is useful
    for testing argument stuff.
    HazardousPeach committed Mar 11, 2016
    Configuration menu
    Copy the full SHA
    a49ec34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e33fc6d View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2016

  1. Configuration menu
    Copy the full SHA
    763b561 View commit details
    Browse the repository at this point in the history
  2. Refactored initValueBranchAST boundry

    Now it uses a variable number of args to assign child values, instead of
    asking the client to do it manually.
    HazardousPeach committed Mar 12, 2016
    Configuration menu
    Copy the full SHA
    3ca7785 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23a4e30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc87bc1 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2016

  1. Start tracking var names, buggy

    I mean, I haven't seen any bugs yet, but I haven't actually started
    implementing the printer for the named vars, so I wouldn't.
    HazardousPeach committed Mar 19, 2016
    Configuration menu
    Copy the full SHA
    d0213dd View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2016

  1. Configuration menu
    Copy the full SHA
    1a0cfdf View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2016

  1. Break some lines

    HazardousPeach committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    fe5e2a0 View commit details
    Browse the repository at this point in the history
  2. Added notion of "Leaf" operation

    This is an op info for the leaves of a computation. Pretty important for
    tracking variables in an expression, but so far there's no way of
    associating sources of shadow values with a consistent leaf op info, I'm
    brainstorming ways to do this.
    HazardousPeach committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    dfdfcf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2016

  1. Configuration menu
    Copy the full SHA
    df359d8 View commit details
    Browse the repository at this point in the history
  2. Threaded through notion of value sources

    Each opinfo keeps track of potential value sources for it's
    arguments. Value sources are place where values are created, leaves of
    the tracked operation AST's. This happens when we start interpreting
    some bytes as a float value for the first time.
    HazardousPeach committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    4e23e15 View commit details
    Browse the repository at this point in the history
  3. Support tracking all operations

    Adds support for having all operations/expressions show up in the output
    file, by setting the error threshold to zero.
    HazardousPeach committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    e823fbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53cfe81 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d778602 View commit details
    Browse the repository at this point in the history
  6. Switch op_tracker to use Valgrind xarray

    Instead of rolling our own like we did before, this seems less error prone.
    HazardousPeach committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    aa5ff4c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2b5cbff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    93992a6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a51869b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    75981f7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b68ffbf View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    944b3af View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2016

  1. Added mpfr link flag back to herbie-crosseval

    We don't technically need to call any mpfr code, but it'd be a hassle to
    remove it since it would involve creating a seperate compile process.
    HazardousPeach committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    d9885a7 View commit details
    Browse the repository at this point in the history
  2. Add dependency on binary for results

    This really should have been here all along, lets us rebuild the
    binaries for a full run of the results
    HazardousPeach committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    c050c62 View commit details
    Browse the repository at this point in the history
  3. Use p42- A and B instead of just p42

    This way we get both versions of quadratic instead of having them
    overwrite each other during compilation in weird ways.
    HazardousPeach committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    41f5358 View commit details
    Browse the repository at this point in the history
  4. Some more AST comments

    HazardousPeach committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    8aa6513 View commit details
    Browse the repository at this point in the history
  5. Fix subexpressions being erroneously reported

    Instead of removing items from the op tracker when they are
    subexpressions, we've gone back to just setting them to NULL. This is a
    little ugly, but it avoids the horrors of trying to iterate backwards
    through a list while removing cosmetically arbitrary items from it.
    HazardousPeach committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    f87848d View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2016

  1. Print location creation for wrapped ops

    Only when the print_moves flag is on
    HazardousPeach committed Apr 13, 2016
    Configuration menu
    Copy the full SHA
    387943c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3582202 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5da4189 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57629bb View commit details
    Browse the repository at this point in the history