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

Add C++ support to kernel; use it to reduce code duplication in permutat.c, objfgelm.c and others #2667

Merged
merged 37 commits into from
Sep 27, 2018

Commits on Sep 27, 2018

  1. Configuration menu
    Copy the full SHA
    ef5c7e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bab3a66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b85b6a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10156cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c6e5cb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1802518 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da1d967 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ef66a09 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    043ef2b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0269280 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3e9a504 View commit details
    Browse the repository at this point in the history
  12. permutat: make InvPerm self-contained

    That is, don't call POW (and hence ultimately `PowPermInt`) to invert the
    permutation, just do it directly. And change `PowPermInt` to call `InvPerm`
    if necessary -- that also means we'll cache the inverse in a some more
    cases.
    fingolfin committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    059c1f6 View commit details
    Browse the repository at this point in the history
  13. permutat: change ptKnown to UInt1

    We only need one bit per entry, so let's save some memory here
    fingolfin committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    c1201df View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6f08a0d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f6f6ad7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f7c703e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    bcb96ff View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8b344c2 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8c2d5e8 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d5445de View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    941b594 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2793301 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    41a1d59 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bb810f5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    02bcdb5 View commit details
    Browse the repository at this point in the history
  26. permutat: reformat LtPerm

    fingolfin committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    4d54356 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    4104599 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e3fcec6 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4dfedc3 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    2dc9867 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5e59d32 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    40adfc2 View commit details
    Browse the repository at this point in the history
  33. kernel: make 8/16/32 bit code variants in objfgelm.c more similar

    The main part is that UInt1/2/4 were replaced by UIntN (#define'ed to the
    suitable real value). Also a few 8/16/32 occurrences were replaced by
    `8*sizeof(UIntN)`, and a few comments mentioning the bit count were
    removed.
    fingolfin committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    b7eae34 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    3a6c021 View commit details
    Browse the repository at this point in the history
  35. kernel: unify overflow checks in {8,16,32}Bits_Power

    Also add tests to verify this works as intended.
    fingolfin committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    53a0624 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    858aa13 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    49df414 View commit details
    Browse the repository at this point in the history