POV-Ray : Newsgroups : povray.programming : NEON optimizations Server Time
14 Jul 2026 23:47:43 EDT (-0400)
  NEON optimizations (Message 1 to 1 of 1)  
From: Alessio Sangalli
Subject: NEON optimizations
Date: 13 Jul 2026 20:45:36
Message: <6a5586b0$1@news.povray.org>
Hello I noticed that SIMD optimization for for x86 only so I introduced 
it for NEON also:

1. NEON-accelerated noise (AArch64): a hand-written ARM NEON kernel for 
the core Perlin Noise/DNoise functions, plugged into the runtime noise 
dispatch. ~6–13% faster on noise-heavy scenes, output pixel-identical.

2. SIMD BVH traversal (POV_BVH=bvh4): a contiguous SoA "BVH4" node 
layout with a branchless 4-wide NEON ray-box slab test, applied to both 
the scene-level bounding hierarchy and the per-mesh BVHs — scene trees 
keep the best-first priority queue, mesh trees use a front-to-back 
stack. ~1.9× on traversal-bound rendering (1.1–1.7× on typical GI/mesh 
scenes, no change on non-BVH-bound ones), output pixel-identical.

Anybody cares for these? Main use case is Apple Silicon computers


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.