Skip to content

Conversation

@JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Apr 28, 2025

This PR implements some missing bitwise operations:

  • And
  • Or
  • Xor
  • Not
  • Shift Right
  • Shift Left

@github-actions
Copy link

github-actions bot commented Apr 28, 2025

Benchmarking (macOS) factorial

Compiling factorial (factorial.con)
Finished release in 607.395ms
Running 5000000 iterations
Using input value: 20
Concrete Result = 2432902008176640000 Time taken : 29.87 ms
Rust Result = 2432902008176640000 Time taken : 23.71 ms

Benchmarking (macOS) fib

Compiling fib (fib.con)
Finished release in 109.977625ms
Running 5000 iterations
Using input value: 20
Concrete Result = 6765 Time taken : 92.88 ms
Rust Result = 6765 Time taken : 101.96 ms

@github-actions
Copy link

github-actions bot commented Apr 28, 2025

Benchmarking (Linux) factorial

Compiling factorial (factorial.con)
Finished release in 33.052101ms
Running 5000000 iterations
Using input value: 20
Concrete Result = 2432902008176640000 Time taken : 96.99 ms
Rust Result = 2432902008176640000 Time taken : 60.38 ms

Benchmarking (Linux) fib

Compiling fib (fib.con)
Finished release in 26.68774ms
Running 5000 iterations
Using input value: 20
Concrete Result = 6765 Time taken : 136.94 ms
Rust Result = 6765 Time taken : 98.37 ms

@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2025

Codecov Report

Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 57.55%. Comparing base (4802a28) to head (00ec991).

Files with missing lines Patch % Lines
src/codegen/compiler.rs 93.75% 1 Missing ⚠️
src/ir/lowering/expressions.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
+ Coverage   56.29%   57.55%   +1.26%     
==========================================
  Files          25       25              
  Lines        5516     5529      +13     
==========================================
+ Hits         3105     3182      +77     
+ Misses       2411     2347      -64     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JulianGCalderon JulianGCalderon marked this pull request as ready for review April 28, 2025 14:26
@JulianGCalderon JulianGCalderon marked this pull request as draft April 28, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants