arXiv Science⌕ 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://arxiv.science/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 arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

ChipArc: Auditable Multi-Agent RTL Generation, Repair and Optimization with Verifier-Gated Memory

Register-transfer level (RTL) code must be both functionally correct and physically efficient in timing, area, and energy, yet LLM-based RTL agents draft plausible designs without being able to certify correctness or reliably guide repair. We present ChipArc, an auditable multi-agent framework in which models propose RTL and diagnose failures while a deterministic controller verifies each candidate and promotes only strictly verified improvements, recording every decision for offline audit. A key design choice is a single verifier-gated global memory shared across concurrent agents: each stores a bounded record of an evaluated repair (hypothesis, change, and verifier-measured outcome), so agents reuse one another's verified experiences across tasks, while excluding current-task and hidden assets (e.g., golden references). Using Kimi K3, ChipArc solves 89 of 92 tasks in CVDP's non-commercial agentic code-generation subset at the lowest mean model cost per pass among the evaluated systems. On the 43 verifier-valid ChipBench Verilog-generation tasks, it solves a mean of 38 tasks, compared with 34 for ACE-RTL and 27 for MAGE. A controlled ablation shows the shared memory raises repair coverage by about 12%. Finally, we carry the same verifier-controlled discipline all the way to physical optimization of a GCD/RSA accelerator, reporting reductions in area, delay, and energy; a bounded formal gate also exposes a protocol bug that both the functional harness and a separate 24-test regression miss.

cs.AR↗

svlang-sdk: A Zero-Dependency Multi-Domain Compiler SDK for Modular VLSI Frontend Verification and EDA

VLSI frontend flows parse the same chip five times across SystemVerilog, UPF, SDC, SystemRDL/IP-XACT, and SystemC. Disconnected tools maintain separate elaboration graphs, cache stale state, and expose unstable C++ ABIs or text dumps, forcing brittle glue scripts while IDEs and AI agents stall on full-chip re-elaboration and megabyte JSON payloads. We present svlang-sdk, a 73,892-line zero-dependency C++23 (-fno-exceptions -fno-rtti) hardware compiler spine and frozen C11 SDK (libsvlang_sdk_c). Five acyclic layers separate: (0) a Salsa-style incremental query host (AnalysisHost/AnalysisSnapshot) with durability tiers, early cutoff, cooperative cancellation, and epoch-scoped arenas; (1) five pluggable frontends (SV, UPF 3.1, SystemC 3.0, SDC, RDL/IP-XACT) bound onto one dense EntityId graph with OpenUSD-style overlays and ExplainValueSource provenance; (2) a word-level SSA RTL netlist, immutable .svdb snapshots, Hydra-style merging views, and macro-aware AtomicChange refactoring; (3) a dual-plane ABI pairing 39 C11 symbols (zero leaked C++ _Z* symbols) with the header-only Apache Arrow C Data Interface and C++23, Python, Rust, and TypeScript bindings; and (4) LSP 3.17, MCP 2026-07-28, DAP v1.71, and Surfer WCP servers. Linking svlang-sdk deleted 16,351 duplicated frontend lines from our 88,254-line sv++ simulator, drives 436 lint rules in svlang-lint, and isolates a 42,472-line consolidation seam in our 159,225-line Rust formal verifier InFormal. On arm64 macOS, all 14 C++23 test suites pass under Debug, ASan+UBSan, TSan, and Release; comment edits hit early cutoff in 10 us with flat RSS across 1,000 epochs; Arrow exports 53,005 entities in 0.9 ms (37.3x faster than JSON); and four polyglot small-tool proofs each fit under 150 lines.

cs.AR↗

HARP: Rethinking ATPG-Augmented On-Chip Random Patterns to Enhance Test Efficiency

Increasing design complexity, coupled with the emerging trend of chiplet-based heterogeneous 3D integration, necessitates substantial improvements in test efficiency in terms of the number of ATPG patterns and/or test cycles. While test cost has been a major driver behind this, 3D integration with high I/O density may also benefit from reduced external pattern application. In this paper, we present \STAR, a hybrid test generation framework that addresses the above issue by using ATPG-augmented on-chip random patterns to achieve a significant reduction in ATPG pattern count as well as overall test cycles at equivalent fault coverage compared to the same hybrid flow with fully pseudo-random patterns. Each pattern takes its primary-input bits from ATPG and its state bits from an on-chip pseudo-random number generator (PRNG), and is applied without a per-pattern scan load or unload. We show that the insertion of appropriate Design-for-Test (DFT) logic, e.g., test points, can further enhance test efficiency. We specifically note that DFT-enabled ATPG-augmented random patterns alone can provide considerably high structural coverage (avg. $\sim$89\%), leaving a small subset of random-resistant faults to be covered by structural ATPG. We have implemented \STAR~as a standalone tool integrated into a commercial test automation tool flow. Experimental analysis on open-source benchmarks, including four AI accelerators, shows promising results with 33\% improvement on average in ATPG test patterns and an average of 27\% reduction in test cycles.

cs.AR↗