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

Misc improvements 10 #42

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Misc improvements 10 #42

merged 5 commits into from
Apr 30, 2024

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    ded51d8 View commit details
    Browse the repository at this point in the history
  2. Implement new optimization pass to turn ?mul to ?shl

    This commit introduces new optimization pass - `TRILXmul2Xshl` - which
    replaces
    
        ?mul
          <value>
          ?const <power of two>
    
    with
    
        ?shl
          <value>
          ?const <log2 of <power of two>>
    
    While this may not have real impact on modern CPUs, it serves as an
    example of how to do simple TRIL-to-TRIL optimizations.
    
    It is *not* included in default optimization pipeline as of now (and
    may never be).
    janvrany committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    819227b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c44390f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ccbdf9 View commit details
    Browse the repository at this point in the history
  5. Silence errors (in fact, warnings) when shadowing a variable in tests

    This commit silence errors produced by Pharo compiler about variables
    being shadowed. The way Pharo browser is handling it makes it impossible
    to ignore the warning (one cannot accept). Sigh.
    janvrany committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d78196b View commit details
    Browse the repository at this point in the history