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

Stack checks via pointer to over-aligned stack allocation #781

Open
chfast opened this issue Jan 7, 2024 · 0 comments
Open

Stack checks via pointer to over-aligned stack allocation #781

chfast opened this issue Jan 7, 2024 · 0 comments
Labels
optimization Iproves performance without functional changes

Comments

@chfast
Copy link
Member

chfast commented Jan 7, 2024

No description provided.

@chfast chfast added the optimization Iproves performance without functional changes label Jan 7, 2024
chfast added a commit that referenced this issue May 28, 2024
Use `std::aligned_alloc()` (and `_aligned_malloc()` on MSVC)
to allocate the memory for EVM stack.

This removes unnecessary initialization of the memory to zero
(closes #403).

The memory alignment is set to 32 bytes (as previously)
but allows transitioning to "over-aligned" allocation for additional
optimization
(see #781).
chfast added a commit that referenced this issue May 28, 2024
Use `std::aligned_alloc()` (and `_aligned_malloc()` on MSVC)
to allocate the memory for EVM stack.

This removes unnecessary initialization of the memory to zero
(closes #403).

The memory alignment is set to 32 bytes (as previously)
but allows transitioning to "over-aligned" allocation for additional
optimization
(see #781).
chfast added a commit that referenced this issue May 28, 2024
Use `std::aligned_alloc()` (and `_aligned_malloc()` on MSVC)
to allocate the memory for EVM stack.

This removes unnecessary initialization of the memory to zero
(closes #403).

The memory alignment is set to 32 bytes (as previously)
but allows transitioning to "over-aligned" allocation for additional
optimization
(see #781).
chfast added a commit that referenced this issue May 28, 2024
Use `std::aligned_alloc()` (and `_aligned_malloc()` on MSVC)
to allocate the memory for EVM stack.

This removes unnecessary initialization of the memory to zero
(closes #403).

The memory alignment is set to 32 bytes (as previously)
but allows transitioning to "over-aligned" allocation for additional
optimization
(see #781).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Iproves performance without functional changes
Projects
None yet
Development

No branches or pull requests

1 participant