SPEC CPU®2017 Integer Rate Result

Copyright 2017-2025 Standard Performance Evaluation Corporation

New H3C Technologies Co., Ltd.

H3C UniServer R4950 G7
AMD EPYC 9655

SPECrate®2017_int_base = 213000

SPECrate®2017_int_peak = 218000

CPU2017 License: 9066 Test Date: Mar-2025
Test Sponsor: New H3C Technologies Co., Ltd. Hardware Availability: Oct-2024
Tested by: New H3C Technologies Co., Ltd. Software Availability: Oct-2024

Benchmark result graphs are available in the PDF report.

Hardware
CPU Name: AMD EPYC 9655
  Max MHz: 4500
  Nominal: 2600
Enabled: 192 cores, 2 chips, 2 threads/core
Orderable: 1,2 chips
Cache L1: 32 KB I + 48 KB D on chip per core
  L2: 1 MB I+D on chip per core
  L3: 384 MB I+D on chip per chip, 32 MB shared / 8
cores
  Other: None
Memory: 768 GB (24 x 32 GB 2Rx4 PC5-6400B-R, running at
6000)
Storage: 1 x 3.84TB SSD
Other: CPU Cooling: Air
Software
OS: Red Hat Enterprise Linux 9.4 (Plow)
kernel version
5.14.0-427.13.1.el9_4.x86_64
Compiler: C/C++/Fortran: Version 5.0.0 of AOCC
Parallel: No
Firmware: Version 7.30.06 released Jan-2025
File System: xfs
System State: Run level 3 (multi-user)
Base Pointers: 64-bit
Peak Pointers: 32/64-bit
Other: None
Power Management: BIOS and OS set to prefer performance at the cost
of additional power usage

Results Table

Benchmark Base Peak
Copies Seconds Ratio Seconds Ratio Seconds Ratio Copies Seconds Ratio Seconds Ratio Seconds Ratio
SPECrate®2017_int_base 213000
SPECrate®2017_int_peak 218000
Results appear in the order in which they were run. Bold underlined text indicates a median measurement.
500.perlbench_r 384 406 1510 406 1500 405 1510 384 406 1510 406 1500 405 1510
502.gcc_r 384 376 1450 384 1420 379 1440 384 298 1820 297 1830 297 1830
505.mcf_r 384 208 2990 207 3000 207 3000 384 206 3020 205 3020 206 3020
520.omnetpp_r 384 543 928 540 933 540 933 384 545 925 539 934 539 935
523.xalancbmk_r 384 114 3560 114 3560 114 3570 384 114 3560 114 3560 114 3570
525.x264_r 384 124 5440 123 5460 123 5450 384 124 5440 123 5460 123 5450
531.deepsjeng_r 384 239 1840 241 1820 239 1840 384 239 1840 241 1820 239 1840
541.leela_r 384 392 1620 392 1620 392 1620 384 392 1620 392 1620 392 1620
548.exchange2_r 384 186 5410 185 5430 186 5410 384 186 5410 185 5430 186 5410
557.xz_r 384 414 1000 414 1000 416 998 384 414 1000 414 1000 416 998

Compiler Notes

The AMD64 AOCC Compiler Suite is available at
http://developer.amd.com/amd-aocc/

Submit Notes

The config file option 'submit' was used.
'numactl' was used to bind copies to the cores.
See the configuration file for details.

Operating System Notes

'ulimit -s unlimited' was used to set environment stack size limit
'ulimit -l 2097152' was used to set environment locked pages in memory limit

runcpu command invoked through numactl i.e.:
numactl --interleave=all runcpu <etc>

To limit dirty cache to 8% of memory, 'sysctl -w vm.dirty_ratio=8' run as root.
To limit swap usage to minimum necessary, 'sysctl -w vm.swappiness=1' run as root.
To free node-local memory and avoid remote memory usage,
'sysctl -w vm.zone_reclaim_mode=1' run as root.
To clear filesystem caches, 'sync; sysctl -w vm.drop_caches=3' run as root.
To disable address space layout randomization (ASLR) to reduce run-to-run
variability, 'sysctl -w kernel.randomize_va_space=0' run as root.

To enable Transparent Hugepages (THP) for all allocations,
'echo always > /sys/kernel/mm/transparent_hugepage/enabled' and
'echo always > /sys/kernel/mm/transparent_hugepage/defrag' run as root.

Environment Variables Notes

Environment variables set by runcpu before the start of the run:
LD_LIBRARY_PATH =
     "/home/cpu2017/amd_rate_aocc500_znver5_A_lib/lib:/home/cpu2017/amd_rate_aocc500_znver5_A_lib/lib32:/us
     r/local/mpc-131/lib:/usr/local/gmp-630/lib:/usr/local/mpfr-421/lib:/usr/local/isl-027/lib:/usr/local/g
     cc-1420/lib64:/usr/local/lib:/usr/lib"
MALLOC_CONF = "retain:true"

General Notes

Binaries were compiled on a system with 2x AMD EPYC 9174F CPU + 1.5TiB Memory using RHEL 8.6

NA: The test sponsor attests, as of date of publication, that CVE-2017-5754 (Meltdown)
is mitigated in the system as tested and documented.
Yes: The test sponsor attests, as of date of publication, that CVE-2017-5753 (Spectre variant 1)
is mitigated in the system as tested and documented.
Yes: The test sponsor attests, as of date of publication, that CVE-2017-5715 (Spectre variant 2)
is mitigated in the system as tested and documented.

Platform Notes

BIOS settings:
SMT Control set to Enabled
SVM Mode set to Disabled
Power Profile Selection set to High Performance Mode
Determinism Slider set to Power
cTDP set to 400
PPT set to 400
NUMA nodes per socket set to NPS 4

 Sysinfo program /home/cpu2017/bin/sysinfo
 Rev: r6732 of 2022-11-07 fe91c89b7ed5c36ae2c92cc097bec197
 running on localhost.localdomain Wed Mar  5 21:25:28 2025

 SUT (System Under Test) info as seen by some common utilities.

 ------------------------------------------------------------
 Table of contents
 ------------------------------------------------------------
  1. uname -a
  2. w
  3. Username
  4. ulimit -a
  5. sysinfo process ancestry
  6. /proc/cpuinfo
  7. lscpu
  8. numactl --hardware
  9. /proc/meminfo
 10. who -r
 11. Systemd service manager version: systemd 252 (252-32.el9_4)
 12. Services, from systemctl list-unit-files
 13. Linux kernel boot-time arguments, from /proc/cmdline
 14. cpupower frequency-info
 15. tuned-adm active
 16. sysctl
 17. /sys/kernel/mm/transparent_hugepage
 18. /sys/kernel/mm/transparent_hugepage/khugepaged
 19. OS release
 20. Disk information
 21. /sys/devices/virtual/dmi/id
 22. dmidecode
 23. BIOS
 ------------------------------------------------------------

 ------------------------------------------------------------
 1. uname -a
   Linux localhost.localdomain 5.14.0-427.13.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 10 10:29:16 EDT
   2024 x86_64 x86_64 x86_64 GNU/Linux

 ------------------------------------------------------------
 2. w
    21:25:28 up 30 min,  1 user,  load average: 0.14, 0.03, 0.08
   USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
   root     tty1      21:25   24.00s  0.92s  0.13s /bin/bash ./amd_rate_aocc500_znver5_A1.sh

 ------------------------------------------------------------
 3. Username
   From environment variable $USER:  root

 ------------------------------------------------------------
 4. ulimit -a
   real-time non-blocking time  (microseconds, -R) unlimited
   core file size              (blocks, -c) 0
   data seg size               (kbytes, -d) unlimited
   scheduling priority                 (-e) 0
   file size                   (blocks, -f) unlimited
   pending signals                     (-i) 3091080
   max locked memory           (kbytes, -l) 2097152
   max memory size             (kbytes, -m) unlimited
   open files                          (-n) 1024
   pipe size                (512 bytes, -p) 8
   POSIX message queues         (bytes, -q) 819200
   real-time priority                  (-r) 0
   stack size                  (kbytes, -s) unlimited
   cpu time                   (seconds, -t) unlimited
   max user processes                  (-u) 3091080
   virtual memory              (kbytes, -v) unlimited
   file locks                          (-x) unlimited

 ------------------------------------------------------------
 5. sysinfo process ancestry
  /usr/lib/systemd/systemd --switched-root --system --deserialize 31
  login -- root
  -bash
  python3 ./run_amd_rate_aocc500_znver5_A1.py
  /bin/bash ./amd_rate_aocc500_znver5_A1.sh
  runcpu --config amd_rate_aocc500_znver5_A1.cfg --tune all --reportable --iterations 3 intrate
  runcpu --configfile amd_rate_aocc500_znver5_A1.cfg --tune all --reportable --iterations 3 --nopower
    --runmode rate --tune base:peak --size test:train:refrate intrate --nopreenv --note-preenv --logfile
    $SPEC/tmp/CPU2017.002/templogs/preenv.intrate.002.0.log --lognum 002.0 --from_runcpu 2
  specperl $SPEC/bin/sysinfo
 $SPEC = /home/cpu2017

 ------------------------------------------------------------
 6. /proc/cpuinfo
     model name      : AMD EPYC 9655 96-Core Processor
     vendor_id       : AuthenticAMD
     cpu family      : 26
     model           : 2
     stepping        : 1
     microcode       : 0xb00211e
     bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
     TLB size        : 192 4K pages
     cpu cores       : 96
     siblings        : 192
     2 physical ids (chips)
     384 processors (hardware threads)
     physical id 0: core ids 0-95
     physical id 1: core ids 0-95
     physical id 0: apicids 0-191
     physical id 1: apicids 256-447
   Caution: /proc/cpuinfo data regarding chips, cores, and threads is not necessarily reliable, especially for
   virtualized systems.  Use the above data carefully.

 ------------------------------------------------------------
 7. lscpu

 From lscpu from util-linux 2.37.4:
   Architecture:                       x86_64
   CPU op-mode(s):                     32-bit, 64-bit
   Address sizes:                      52 bits physical, 57 bits virtual
   Byte Order:                         Little Endian
   CPU(s):                             384
   On-line CPU(s) list:                0-383
   Vendor ID:                          AuthenticAMD
   BIOS Vendor ID:                     Advanced Micro Devices, Inc.
   Model name:                         AMD EPYC 9655 96-Core Processor
   BIOS Model name:                    AMD EPYC 9655 96-Core Processor
   CPU family:                         26
   Model:                              2
   Thread(s) per core:                 2
   Core(s) per socket:                 96
   Socket(s):                          2
   Stepping:                           1
   Frequency boost:                    enabled
   CPU(s) scaling MHz:                 58%
   CPU max MHz:                        4509.3750
   CPU min MHz:                        1500.0000
   BogoMIPS:                           5188.58
   Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
                                       clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp
                                       lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid
                                       aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2
                                       x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy
                                       extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit
                                       wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb
                                       cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp
                                       ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
                                       invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma
                                       clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec
                                       xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local
                                       avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin
                                       cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid
                                       decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic
                                       v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes
                                       vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid
                                       bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm
                                       avx512_vp2intersect flush_l1d debug_swap
   L1d cache:                          9 MiB (192 instances)
   L1i cache:                          6 MiB (192 instances)
   L2 cache:                           192 MiB (192 instances)
   L3 cache:                           768 MiB (24 instances)
   NUMA node(s):                       8
   NUMA node0 CPU(s):                  0-23,192-215
   NUMA node1 CPU(s):                  24-47,216-239
   NUMA node2 CPU(s):                  48-71,240-263
   NUMA node3 CPU(s):                  72-95,264-287
   NUMA node4 CPU(s):                  96-119,288-311
   NUMA node5 CPU(s):                  120-143,312-335
   NUMA node6 CPU(s):                  144-167,336-359
   NUMA node7 CPU(s):                  168-191,360-383
   Vulnerability Gather data sampling: Not affected
   Vulnerability Itlb multihit:        Not affected
   Vulnerability L1tf:                 Not affected
   Vulnerability Mds:                  Not affected
   Vulnerability Meltdown:             Not affected
   Vulnerability Mmio stale data:      Not affected
   Vulnerability Retbleed:             Not affected
   Vulnerability Spec rstack overflow: Not affected
   Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
   Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
   Vulnerability Spectre v2:           Mitigation; Enhanced / Automatic IBRS, IBPB conditional, STIBP
                                       always-on, RSB filling, PBRSB-eIBRS Not affected
   Vulnerability Srbds:                Not affected
   Vulnerability Tsx async abort:      Not affected

 From lscpu --cache:
      NAME ONE-SIZE ALL-SIZE WAYS TYPE        LEVEL  SETS PHY-LINE COHERENCY-SIZE
      L1d       48K       9M   12 Data            1    64        1             64
      L1i       32K       6M    8 Instruction     1    64        1             64
      L2         1M     192M   16 Unified         2  1024        1             64
      L3        32M     768M   16 Unified         3 32768        1             64

 ------------------------------------------------------------
 8. numactl --hardware
 NOTE: a numactl 'node' might or might not correspond to a physical chip.
   available: 8 nodes (0-7)
   node 0 cpus: 0-23,192-215
   node 0 size: 95656 MB
   node 0 free: 94391 MB
   node 1 cpus: 24-47,216-239
   node 1 size: 96714 MB
   node 1 free: 96044 MB
   node 2 cpus: 48-71,240-263
   node 2 size: 96755 MB
   node 2 free: 96123 MB
   node 3 cpus: 72-95,264-287
   node 3 size: 96755 MB
   node 3 free: 96173 MB
   node 4 cpus: 96-119,288-311
   node 4 size: 96755 MB
   node 4 free: 96311 MB
   node 5 cpus: 120-143,312-335
   node 5 size: 96755 MB
   node 5 free: 96365 MB
   node 6 cpus: 144-167,336-359
   node 6 size: 96755 MB
   node 6 free: 96348 MB
   node 7 cpus: 168-191,360-383
   node 7 size: 96662 MB
   node 7 free: 96265 MB
   node distances:
   node   0   1   2   3   4   5   6   7
     0:  10  12  12  12  32  32  32  32
     1:  12  10  12  12  32  32  32  32
     2:  12  12  10  12  32  32  32  32
     3:  12  12  12  10  32  32  32  32
     4:  32  32  32  32  10  12  12  12
     5:  32  32  32  32  12  10  12  12
     6:  32  32  32  32  12  12  10  12
     7:  32  32  32  32  12  12  12  10

 ------------------------------------------------------------
 9. /proc/meminfo
    MemTotal:       791360468 kB

 ------------------------------------------------------------
 10. who -r
   run-level 3 Mar 5 20:56

 ------------------------------------------------------------
 11. Systemd service manager version: systemd 252 (252-32.el9_4)
   Default Target  Status
   multi-user      running

 ------------------------------------------------------------
 12. Services, from systemctl list-unit-files
   STATE            UNIT FILES
   enabled          NetworkManager NetworkManager-dispatcher NetworkManager-wait-online auditd chronyd crond
                    dbus-broker getty@ insights-client-boot irqbalance kdump lvm2-monitor mdmonitor microcode
                    nis-domainname rhsmcertd rsyslog selinux-autorelabel-mark sshd sssd systemd-boot-update
                    systemd-network-generator tuned udisks2
   enabled-runtime  systemd-remount-fs
   disabled         blk-availability chrony-wait chronyd-restricted console-getty cpupower debug-shell
                    dnf-system-upgrade firewalld hwloc-dump-hwdata kvm_stat man-db-restart-cache-update
                    nftables rdisc rhcd rhsm rhsm-facts rpmdb-rebuild selinux-check-proper-disable
                    serial-getty@ sshd-keygen@ systemd-boot-check-no-failures systemd-pstore systemd-sysext
   indirect         sssd-autofs sssd-kcm sssd-nss sssd-pac sssd-pam sssd-ssh sssd-sudo systemd-sysupdate
                    systemd-sysupdate-reboot

 ------------------------------------------------------------
 13. Linux kernel boot-time arguments, from /proc/cmdline
   BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-427.13.1.el9_4.x86_64
   root=/dev/mapper/rhel-root
   ro
   crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
   resume=/dev/mapper/rhel-swap
   rd.lvm.lv=rhel/root
   rd.lvm.lv=rhel/swap

 ------------------------------------------------------------
 14. cpupower frequency-info
   analyzing CPU 193:
     current policy: frequency should be within 1.50 GHz and 2.60 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     boost state support:
       Supported: yes
       Active: yes
       Boost States: 0
       Total States: 3
       Pstate-P0:  800MHz

 ------------------------------------------------------------
 15. tuned-adm active
   Current active profile: throughput-performance

 ------------------------------------------------------------
 16. sysctl
   kernel.numa_balancing               1
   kernel.randomize_va_space           0
   vm.compaction_proactiveness        20
   vm.dirty_background_bytes           0
   vm.dirty_background_ratio          10
   vm.dirty_bytes                      0
   vm.dirty_expire_centisecs        3000
   vm.dirty_ratio                      8
   vm.dirty_writeback_centisecs      500
   vm.dirtytime_expire_seconds     43200
   vm.extfrag_threshold              500
   vm.min_unmapped_ratio               1
   vm.nr_hugepages                     0
   vm.nr_hugepages_mempolicy           0
   vm.nr_overcommit_hugepages          0
   vm.swappiness                       1
   vm.watermark_boost_factor       15000
   vm.watermark_scale_factor          10
   vm.zone_reclaim_mode                1

 ------------------------------------------------------------
 17. /sys/kernel/mm/transparent_hugepage
   defrag          [always] defer defer+madvise madvise never
   enabled         [always] madvise never
   hpage_pmd_size  2097152
   shmem_enabled   always within_size advise [never] deny force

 ------------------------------------------------------------
 18. /sys/kernel/mm/transparent_hugepage/khugepaged
   alloc_sleep_millisecs   60000
   defrag                      1
   max_ptes_none             511
   max_ptes_shared           256
   max_ptes_swap              64
   pages_to_scan            4096
   scan_sleep_millisecs    10000

 ------------------------------------------------------------
 19. OS release
   From /etc/*-release /etc/*-version
   os-release     Red Hat Enterprise Linux 9.4 (Plow)
   redhat-release Red Hat Enterprise Linux release 9.4 (Plow)
   system-release Red Hat Enterprise Linux release 9.4 (Plow)

 ------------------------------------------------------------
 20. Disk information
 SPEC is set to: /home/cpu2017
   Filesystem            Type  Size  Used Avail Use% Mounted on
   /dev/mapper/rhel-home xfs   3.5T   41G  3.4T   2% /home

 ------------------------------------------------------------
 21. /sys/devices/virtual/dmi/id
     Vendor:         AMD Corporation
     Product:        Quartz
     Product Family: Rack

 ------------------------------------------------------------
 22. dmidecode
   Additional information from dmidecode 3.5 follows.  WARNING: Use caution when you interpret this section.
   The 'dmidecode' program reads system data which is "intended to allow hardware to be accurately
   determined", but the intent may not be met, as there are frequent changes to hardware, firmware, and the
   "DMTF SMBIOS" standard.
   Memory:
     10x Samsung M321R4GA3EB2-CCPKC 32 GB 2 rank 6400, configured at 6000
     14x Samsung M321R4GA3PB2-CCPKC 32 GB 2 rank 6400, configured at 6000


 ------------------------------------------------------------
 23. BIOS
 (This section combines info from /sys/devices and dmidecode.)
    BIOS Vendor:       American Megatrends International, LLC.
    BIOS Version:      7.30.06
    BIOS Date:         01/20/2025
    BIOS Revision:     5.35
    Firmware Revision: 2.2

Compiler Version Notes

============================================================================================================
C       | 502.gcc_r(peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
C       | 500.perlbench_r(base, peak) 502.gcc_r(base) 505.mcf_r(base, peak) 525.x264_r(base, peak)
        | 557.xz_r(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
C       | 502.gcc_r(peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
C       | 500.perlbench_r(base, peak) 502.gcc_r(base) 505.mcf_r(base, peak) 525.x264_r(base, peak)
        | 557.xz_r(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
C++     | 520.omnetpp_r(base, peak) 523.xalancbmk_r(base, peak) 531.deepsjeng_r(base, peak)
        | 541.leela_r(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

============================================================================================================
Fortran | 548.exchange2_r(base, peak)
------------------------------------------------------------------------------------------------------------
AMD clang version 17.0.6 (CLANG: AOCC_5.0.0-Build#1316 2024_09_09)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc/aocc-compiler-rel-5.0.0-4925-1316/bin
------------------------------------------------------------------------------------------------------------

Base Compiler Invocation

C benchmarks:

 clang 

C++ benchmarks:

 clang++ 

Fortran benchmarks:

 flang 

Base Portability Flags

500.perlbench_r:  -DSPEC_LINUX_X64   -DSPEC_LP64 
502.gcc_r:  -DSPEC_LP64 
505.mcf_r:  -DSPEC_LP64 
520.omnetpp_r:  -DSPEC_LP64 
523.xalancbmk_r:  -DSPEC_LINUX   -DSPEC_LP64 
525.x264_r:  -DSPEC_LP64 
531.deepsjeng_r:  -DSPEC_LP64 
541.leela_r:  -DSPEC_LP64 
548.exchange2_r:  -DSPEC_LP64 
557.xz_r:  -DSPEC_LP64 

Base Optimization Flags

C benchmarks:

 -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-ldist-scalar-expand   -fenable-aggressive-gather   -Wl,-mllvm -Wl,-extra-inliner   -z muldefs   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fno-PIE   -no-pie   -flto   -fstruct-layout=7   -mllvm -unroll-threshold=50   -mllvm -inline-threshold=1000   -fremap-arrays   -fstrip-mining   -mllvm -reduce-array-computations=3   -zopt   -lamdlibm   -lflang   -lamdalloc-ext   -ldl 

C++ benchmarks:

 -m64   -std=c++14   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-do-block-reorder=advanced   -z muldefs   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -flto   -mllvm -unroll-threshold=100   -mllvm -loop-unswitch-threshold=200000   -mllvm -reduce-array-computations=3   -zopt   -fno-PIE   -no-pie   -fvirtual-function-elimination   -fvisibility=hidden   -mllvm -do-block-reorder=advanced   -lamdlibm   -lflang   -lamdalloc-ext   -ldl 

Fortran benchmarks:

 -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-inline-recursion=4   -Wl,-mllvm -Wl,-lsr-in-nested-loop   -Wl,-mllvm -Wl,-enable-iv-split   -z muldefs   -O3   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -flto   -fepilog-vectorization-of-inductions   -mllvm -optimize-strided-mem-cost   -floop-transform   -mllvm -unroll-aggressive   -mllvm -unroll-threshold=500   -lamdlibm   -lflang   -lamdalloc   -ldl 

Base Other Flags

C benchmarks:

 -Wno-unused-command-line-argument 

C++ benchmarks:

 -Wno-unused-command-line-argument 

Fortran benchmarks:

 -Wno-unused-command-line-argument 

Peak Compiler Invocation

C benchmarks:

 clang 

C++ benchmarks:

 clang++ 

Fortran benchmarks:

 flang 

Peak Portability Flags

500.perlbench_r:  -DSPEC_LINUX_X64   -DSPEC_LP64 
502.gcc_r:  -D_FILE_OFFSET_BITS=64 
505.mcf_r:  -DSPEC_LP64 
520.omnetpp_r:  -DSPEC_LP64 
523.xalancbmk_r:  -DSPEC_LINUX   -DSPEC_LP64 
525.x264_r:  -DSPEC_LP64 
531.deepsjeng_r:  -DSPEC_LP64 
541.leela_r:  -DSPEC_LP64 
548.exchange2_r:  -DSPEC_LP64 
557.xz_r:  -DSPEC_LP64 

Peak Optimization Flags

C benchmarks:

500.perlbench_r:  basepeak = yes 
502.gcc_r:  -m32   -flto   -Wl,-mllvm -Wl,-ldist-scalar-expand   -fenable-aggressive-gather   -Wl,-mllvm -Wl,-extra-inliner   -z muldefs   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -fstruct-layout=7   -mllvm -unroll-threshold=50   -fremap-arrays   -fstrip-mining   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -zopt   -fgnu89-inline   -lamdalloc 
505.mcf_r:  -m64   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-extra-inliner   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -flto   -fstruct-layout=7   -mllvm -unroll-threshold=50   -fremap-arrays   -fstrip-mining   -mllvm -inline-threshold=1000   -mllvm -reduce-array-computations=3   -zopt   -lamdlibm   -lflang   -lamdalloc-ext   -ldl 
525.x264_r:  basepeak = yes 
557.xz_r:  basepeak = yes 

C++ benchmarks:

520.omnetpp_r:  -m64   -std=c++14   -Wl,-mllvm -Wl,-align-all-nofallthru-blocks=6   -Wl,-mllvm -Wl,-reduce-array-computations=3   -Wl,-mllvm -Wl,-do-block-reorder=advanced   -Ofast   -march=znver5   -fveclib=AMDLIBM   -ffast-math   -flto   -mllvm -unroll-threshold=100   -mllvm -reduce-array-computations=3   -zopt   -fno-PIE   -no-pie   -fvirtual-function-elimination   -fvisibility=hidden   -mllvm -do-block-reorder=advanced   -lamdlibm   -lamdalloc-ext   -ldl 
523.xalancbmk_r:  basepeak = yes 
531.deepsjeng_r:  basepeak = yes 
541.leela_r:  basepeak = yes 

Fortran benchmarks:

548.exchange2_r:  basepeak = yes 

Peak Other Flags

C benchmarks (except as noted below):

 -Wno-unused-command-line-argument 
502.gcc_r:  -L/usr/lib32   -Wno-unused-command-line-argument   -L/home/work/cpu2017/v119/aocc5/1316/amd_rate_aocc500_znver5_A_lib/lib32 

C++ benchmarks:

 -Wno-unused-command-line-argument 

Fortran benchmarks:

 -Wno-unused-command-line-argument 

The flags files that were used to format this result can be browsed at
http://www.spec.org/cpu2017/flags/aocc500-flags.2024-10-10.html,
http://www.spec.org/cpu2017/flags/New_H3C-Platform-AMD-Settings-V1.5-Turin.html.

You can also download the XML flags sources by saving the following links:
http://www.spec.org/cpu2017/flags/aocc500-flags.2024-10-10.xml,
http://www.spec.org/cpu2017/flags/New_H3C-Platform-AMD-Settings-V1.5-Turin.xml.