<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
                             http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-11-26T14:12:53Z</responseDate>
  <request verb="GetRecord" identifier="oai:vu.lt:elaba:308338756" metadataPrefix="oai_dc">https://epublications.vu.lt/oai</request>
<GetRecord>
<record>
  <header>
    <identifier>oai:vu.lt:elaba:308338756</identifier>
    <datestamp>2026-07-07T22:04:58Z</datestamp>
    <setSpec>openaire</setSpec><setSpec>NDLTD</setSpec><setSpec>DRIVER</setSpec>
  </header>
  <metadata>
<oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>Atminties talpyklos optimizavimo perkeliamumas šiuolaikiniame C++: empirinis duomenų išdėstymo metodų palyginimas naudojant GCC ir Clang kompiliatorius /</dc:title><dc:title>Cache optimization portability in modern c++: an empirical comparison of data layout techniques across gcc and clang compilers.</dc:title><dc:creator>Stoškus, Karolis,</dc:creator><dc:rights>info:eu-repo/semantics/openAccess</dc:rights><dc:description>This thesis empirically measures how two production C++ compilers, GCC 16 and Clang/L LVM 22, exploit cachefriendly data layouts across two workloads compiled at three optimisation levels (-O2, -O3, -O3 -march=native) on an AMD Ryzen 7 5800X (Zen 3). The first workload is an O(N 2) Nbody particle simulation implemented in three layout variants: Array of Structures (AoS), Structure of Arrays (SoA), and a cachelinealigned AoS via alignas(64). The second is a square matrix transpose comparing rowmajor against tilecontiguous storage. Wallclock timing and hard ware performance counters are collected under controlled system state using Google Benchmark and perf_event_open. The central finding is that layout benefit depends on compiler policy, not layout alone. Tile contiguous matrix storage delivers a uniform 2.5–3.0× speedup on both compilers by eliminating cacheline and TLB waste. The SoA particle layout reduces L1d misses by 46 % on both compilers, but only GCC translates this into a 45 % wallclock gain; Clang’s stricter floatingpoint reordering policy prevents vectorisation of the inner loop by default. Cacheline alignment via alignas(64) consis tently worsens singlethreaded performance by inflating the perparticle working set.</dc:description><dc:publisher>Institutional Repository of Vilnius University</dc:publisher><dc:type>info:eu-repo/semantics/bachelorThesis</dc:type><dc:language>lit</dc:language><dc:date>2026</dc:date><dc:format>application/pdf</dc:format><dc:relation>https://epublications.vu.lt/object/elaba:308338756/308338756.pdf</dc:relation><dc:identifier>https://repository.vu.lt/VU:ELABAETD308338756&amp;prefLang=en_US</dc:identifier></oai_dc:dc>  </metadata>
</record>

</GetRecord></OAI-PMH>
