https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103498
Bug ID: 103498 Summary: Spec 2017 imagick_r is 2.62% slower on Power10 with pc-relative addressing compared to not using pc-relative addressing Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- I was doing some Spec 2017 rate runs on a single power10 little endian 64-bit CPU. One of the runs disabled pc-relative addressing. One benchmark (imagick_r) was faster if PC-relative addressing was disabled. For this run I used the options: -DSPEC \ -DNDEBUG \ -I. \ -DSPEC_AUTO_SUPPRESS_OPENMP \ -g \ -save-temps=obj \ -Ofast \ -mcpu=power10 \ -mrecip \ -funroll-loops \ -msave-toc-indirect \ -mno-pcrel \ -fgnu89-inline \ -Wno-multichar \ -DSPEC_LP64 \ -frandom-seed=spec2017