Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23488776RVScalar2Vec version 1.0 is a dataset of 8,618 records, each pairing a scalar C program with a candidate vectorized C implementation written with RISC-V Vector Extension 1.0 (RVV) intrinsics, together with the speedup measured between the two under a unified toolchain (riscv64 GCC 15.0.0 at -O3, rv64gc vs. rv64gcv; gem5 25.0.0.1 syscall-emulation simulation, AtomicSimpleCPU, VLEN=256). Construction. The scalar pool combines 8,004 LLM-generated computational kernels (30 classical algorithms, accepted after host-compilation correctness testing) and 127,258 executable C functions extracted from the ExeBench train_real_compilable split. Candidate vector code was produced by three large language models (Qwen3-Coder-Plus, DeepSeek Coder, MiMo-V2-Flash) under a three-layer prompt strategy encoding platform constraints, optimization rules, and output format. Every candidate pair was cross-compiled and executed in gem5; each record carries one of four outcome labels: vector_better (6,714), compile_fail (905), compile_ok_run_fail (822), and vector_worse (177). Compilation- and execution-failure samples are deliberately retained so the release covers all four outcomes. Stratified train/validation/test splits(6,898/860/860) are included. Archive contents. dataset/ holds the full release, the splits, and a provenance mapping (exebench_provenance.json) that resolves all 4,163 ExeBench-derived records to their original GitHub account/repository paths for per-function license lookup. experiments/ holds per-experiment raw outputs backing a companion methods study, including per-sample gem5 logs. scripts/ holds the complete reproduction pipeline (cross-compilation, output comparison, gem5 timing, dataset construction, fine-tuning, and audit scripts). docs/ holds a manifest with SHA-256 checksums and the manuscript figures. Licensing. Original contributions are distributed under CC-BY 4.0 and scripts under MIT; embedded ExeBench-derived functions retain the licenses of their original GitHub repositories. Known limitations (disclosed). Labels reflect executability and single-run, single-input output agreement rather than semantic correctness: a training-pool recheck estimates 90.5% output consistency among vector_better records (97.9% excluding SEW 32 / LMUL 8 code), and cross-width re-execution at four vector register widths yields 78.7% output agreement. Absolute tick counts are specific to the simulated configuration. The dataset supports fine-tuning and evaluation of code-generation models, research on vectorizing compilers, comparisons between intrinsic programming and auto-vectorization, and RISC-V performance modeling. A companion Data Descriptor manuscript is in submission to Scientific Data.
Keyword(s):
RISC-V; RVV intrinsics; vectorization; LLM code generation; gem5; code optimization; fine-tuning dataset.
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)