Skip to content

feat(hpc): implement jitson shopping list — SIMD upgrades + terrain t…#30

Merged
AdaWorldAPI merged 1 commit into
masterfrom
claude/continue-session-0mAVa
Mar 24, 2026
Merged

feat(hpc): implement jitson shopping list — SIMD upgrades + terrain t…#30
AdaWorldAPI merged 1 commit into
masterfrom
claude/continue-session-0mAVa

Conversation

@AdaWorldAPI
Copy link
Copy Markdown
Owner

…emplates

Phase 1: AVX-512 upgrades to byte_scan (64 bytes/cycle), property_mask (VPTERNLOGD + VPOPCNTDQ), and palette_codec (generic unpack/pack all bit widths 1-8).

Phase 2: nibble.rs gets AVX2 batch unpack (32 nibbles/cycle), AVX2 threshold scan, AVX-512 sub_clamp (128 nibbles/cycle), and new nibble_propagate_bfs composing existing SIMD kernels for light BFS decay.

Phase 3: aabb.rs gets AVX-512 batch intersect (16 candidates/iter) and new Ray struct + ray_aabb_slab_test_batch for projectile collision.

Phase 4: spatial_hash.rs gets query_radius_simd with AVX2 batch squared distance filtering.

Phase 5: jitson/noise.rs gets TerrainFillParams (baked biome params for JIT terrain fill) and CompiledNoiseConfig (flattened octave params for JIT compilation).

All SIMD paths dispatch at runtime (AVX-512 > AVX2 > scalar), include SAFETY comments, and have parity tests. 1219 lib tests pass, clippy clean.

https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB

…emplates

Phase 1: AVX-512 upgrades to byte_scan (64 bytes/cycle), property_mask
(VPTERNLOGD + VPOPCNTDQ), and palette_codec (generic unpack/pack all
bit widths 1-8).

Phase 2: nibble.rs gets AVX2 batch unpack (32 nibbles/cycle), AVX2
threshold scan, AVX-512 sub_clamp (128 nibbles/cycle), and new
nibble_propagate_bfs composing existing SIMD kernels for light BFS decay.

Phase 3: aabb.rs gets AVX-512 batch intersect (16 candidates/iter) and
new Ray struct + ray_aabb_slab_test_batch for projectile collision.

Phase 4: spatial_hash.rs gets query_radius_simd with AVX2 batch squared
distance filtering.

Phase 5: jitson/noise.rs gets TerrainFillParams (baked biome params for
JIT terrain fill) and CompiledNoiseConfig (flattened octave params for
JIT compilation).

All SIMD paths dispatch at runtime (AVX-512 > AVX2 > scalar), include
SAFETY comments, and have parity tests. 1219 lib tests pass, clippy clean.

https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI AdaWorldAPI merged commit df01951 into master Mar 24, 2026
5 of 10 checks passed
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.

2 participants