Search arXiv⌕ Search

arXiv · 2612.04381

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 \texttt{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$\times$ AVX2 speedup and no material benefit from forced ZMM execution. In contrast, \texttt{ifx} generated independent partial accumulators and achieved a maximum speedup of 15.82$\times$. Native SGEMM exposed independent packed output updates and benefited more consistently from SIMD, reaching 4.38$\times$ with GFortran and 12.21$\times$ with \texttt{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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Suwesh Prasad Sah. 2026-11-29. GFortran and ifx SIMD Performance on Intel Tiger Lake. https://searcharxiv.org/abs/2612.04381

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Pudding: A Retargetable Compiler for Processing-Using-DRAM Systems

Processing-Using-DRAM (PUD) architectures exploit the physics of DRAM arrays to perform Boolean operations directly in memory, eliminating the data movement bottleneck in memory-intensive workloads. Several PUD architectures have been recently proposed which differ in their primitive operation sets, row allocation models, and execution metrics. These architectural differences are today hard-coded in emerging PUD-aware compilers, making crossarchitecture reuse impossible. We present a retargetable, end-to-end compilation framework for PUD architectures. The central idea is to make the architecture description a first-class object in the compilation pipeline: retargeting to a new PUD architecture only requires supplying its description. Built upon the MLIR framework, our compiler operates at two coupled levels. At the tensor level, it lowers high-level programs through bit-slicing, mixed-precision assignment, and integer-linear-programming (ILP) based placement to reduce the number of PUD commands and inter-bank data movement. At the logic level, it employs equality saturation to explore Boolean network implementations, with rewrite rules and cost functions derived directly from the architecture description. Evaluated on representative workloads across multiple PUD targets with the same compiler passes, our framework matches (and in several cases surpasses) architecture-specific hand-optimized compilers, while delivering retargetability and extensibility.

cs.AR↗

Sattva: A Hardware-Algorithm Co-Designed SAT Solving Accelerator with Off-Chip Scalability

Boolean Satisfiability (SAT) solvers underpin verification, scheduling, and security, and hard problems can take years of CPU time. Yet solvers improve by only 4.6% per year on average, and their core algorithm, Conflict-Driven Clause Learning (CDCL), has remained unchanged for three decades, which makes it an ideal target for hardware specialization. Still, CDCL runs only on single-threaded CPUs in practice: its fine-grained data dependencies preclude effective parallelization, and industrial problems demand off-chip memory that no prior complete CDCL accelerator supports. Our insight is that these dependencies are structural, so custom hardware can parallelize CDCL safely with lightweight synchronization, while direct control over memory layout and prefetching hides the off-chip latency of CDCL's pointer chasing. The resulting parallelism further unlocks algorithmic improvements that do not pay off on sequential processors. We present Sattva, the first hardware-algorithm co-designed CDCL accelerator with off-chip scalability, and the first to run most of Kissat's search heuristics in hardware. It propagates literals in parallel across cores and threads, learns from several conflicts per round, decides through a SAT-tailored priority queue, and selects MiniSat's or most of Kissat's search heuristics. Built on an FPGA and measured at 206 MHz, Sattva is 5-793x faster than each prior SAT accelerator on that accelerator's own benchmarks, and 3-454x faster than CPU solvers on them. Per cycle, it does 6-8x as much search work as a CPU core. Projected to 3 GHz, it solves 49 of 100 randomly sampled SAT Competition 2026 instances, where MiniSat solves 22 and Kissat 36, and is 41x and 4x faster than them. In Samsung 8 nm, Sattva delivers 13x Kissat's performance per mm^2 of CPU.

cs.AR↗

PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching

The weights of frontier mixture-of-experts (MoE) large language models (LLMs) exceed the on-package memory capacity of modern accelerators. High bandwidth flash (HBF) addresses this capacity gap by stacking NAND flash dies in the form factor of high bandwidth memory (HBM). However, the sparse and dynamic expert selection of MoE models limits the performance of a demand-driven HBF controller. One possible solution is to prefetch experts ahead of time, as MoE offloading systems do. Our goal is to increase the decode throughput of MoE LLM inference on an HBF-equipped inference accelerator by efficiently prefetching experts from HBF into HBM. To this end, we propose PACER (Prefetching And Caching of Experts under Read disturb). The key idea of PACER is to make expert prefetching resource-aware, so that a prefetch uses only the HBM bandwidth that the inference accelerator leaves idle, the HBM capacity that the KV cache does not occupy, and the flash reads that storing experts in HBM saves. PACER leverages this key idea in software and in hardware. In software, the PACER runtime manages an HBM expert cache with a hint-protected replacement policy, which protects prefetched experts from eviction until the expert kernels of their layer finish. In hardware, the PACER controller comprises (i) a copy-preserving read unit, which serves demand reads from prefetched experts instead of reading these experts from HBF, (ii) an HBM write throttling engine, which throttles the HBM writes of prefetched experts, and (iii) a lifetime control engine, which limits the flash reads of useless prefetches to the flash reads that storing experts in HBM saves.

cs.AR↗