GFortran and ifx SIMD Performance on Intel Tiger Lake
Abstract
Wider SIMD execution increases the arithmetic work represented by each instruction, but does not necessarily produce proportionally lower execution time. This paper compares GFortran and Intel ifx code generation for two single-threaded FP32 Fortran kernels on an Intel Tiger Lake processor: a dependency-sensitive inner product and an explicitly implemented native SGEMM. Scalar, AVX2, compiler-selected AVX-512, and explicitly requested 512-bit configurations were evaluated using repeated standalone timing, generated-assembly inspection, and Intel VTune Profiler measurements. For the inner product, GFortran widened the multiplication but performed horizontal reduction within each vector-loop iteration, yielding only a 1.05× AVX2 speedup and no material benefit from forced ZMM execution. In contrast, ifx generated independent partial accumulators and achieved a maximum speedup of 15.82×. Native SGEMM exposed independent packed output updates and benefited more consistently from SIMD, reaching 4.38× with GFortran and 12.21× with ifx. IFX-AVX512-AUTO selected YMM arithmetic for both workloads despite targeting the AVX-512 architecture. Moreover, configurations with 100% Vector Capacity Usage did not always produce the fewest clockticks or the lowest execution time. The results demonstrate that SIMD performance depends on the complete compiler-generated implementation, including accumulation structures, unrolling, register allocation, dynamic instruction count, and memory-hierarchy behavior, rather than nominal vector width alone.
Artifacts and Supporting Evidence:
Code and documentation | Complete benchmark and profiling artifact archive
Notice: This manuscript is a technical report and has not undergone peer review.
Recommended citation: Suwesh Prasad Sah. (2026). Beneath the Tokens: A Performance Engineering Study of Multi-Token Prediction in GPU-Accelerated LLM Inference (Version 1.0). arXiv. https://arxiv.org/abs/2609.35188
Download Paper
