Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks
Posted Mar 23, 2013 14:46 UTC (Sat) by
juzzor (subscriber, #89840)
In reply to:
Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks by felixfix
Parent article:
Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks
% gcc -S -o - -O2 test.c
.file "test.c"
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
movl d(%rip), %ecx
movl $d+4, %edx
xorl %eax, %eax
.p2align 4,,10
.p2align 3
.L3:
movl %ecx, %esi
addq $4, %rdx
sarl $31, %esi
xorl %esi, %ecx
subl %esi, %ecx
addl %ecx, %eax
movl -4(%rdx), %ecx
cmpq $d+68, %rdx
jne .L3
rep ret
.cfi_endproc
.LFE0:
.size main, .-main
.comm d,64,32
.ident "GCC: (GNU) 4.8.0"
.section .note.GNU-stack,"",@progbits
% gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/markus/gcc/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-initfini-array --with-gold --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-build-config=slim-lto-bootstrap --with-boot-ldflags=-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=safe,--icf-iterations=3 --enable-version-specific-runtime-libs --disable-libstdcxx-pch --enable-libstdcxx-time=yes
Thread model: posix
gcc version 4.8.0 (GCC)
(
Log in to post comments)