From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C4E473984006; Fri, 29 May 2020 11:19:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4E473984006 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590751147; bh=v+ynArvO8w23rNv0XEmH37NTSp6TI2BWqiByeuQnwd4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=crHfqDXRWUfudN1x+AknIaQnVzti+Ovm7nHZGp6yQLc1lZ83BEzaXVHmBELE8WtMJ 3/Ez5G+5ilRbTIwmTD2lK4gimkogOXK0z2RhDyCfAPRAOPYUKYkIPZ3CykKWS1yF5t oPMjKAqcvxUl/3gEtakPmH5SbJ1hTDI+knh/rXg0= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95400] -march=native and -march=icelake-client produce different results on icelake client Date: Fri, 29 May 2020 11:19:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 11:19:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95400 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #2 from H.J. Lu --- [hjl@gnu-icl-1 gcc]$ head /proc/cpuinfo=20 processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 126 model name : Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz stepping : 5 microcode : 0x78 cpu MHz : 705.337 cache size : 8192 KB physical id : 0 [hjl@gnu-icl-1 gcc]$ gcc -v -S -v -march=3Dnative x.i=20 Using built-in specs. COLLECT_GCC=3Dgcc OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=3Dc,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=3Dgnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=3Dnvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=3Dgeneric --with-arch_32=3Di686 --with-multilib-list=3Dm32,m64,= mx32 --build=3Dx86_64-redhat-linux Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.1.1 20200507 (Red Hat 10.1.1-1) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-S' '-v' '-march=3Dnative' /usr/libexec/gcc/x86_64-redhat-linux/10/cc1 -fpreprocessed x.i -march=3Dicelake-client -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-s= se4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -= mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mno-avx512er -mavx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mxsavec -mxsaves -mavx512dq -mavx512bw -mavx512vl -mavx512ifma -mavx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mpku -mrdpid -mgfni -mno-shstk -mavx512vbmi2 -mavx512vnni -mvaes -mvpclmulqdq -mavx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2intersect --param l1-cache-size= =3D48 --param l1-cache-line-size=3D64 --param l2-cache-size=3D8192 -mtune=3Dgener= ic -quiet -dumpbase x.i -auxbase x -version -o x.s GNU C17 (GCC) version 10.1.1 20200507 (Red Hat 10.1.1-1) (x86_64-redhat-lin= ux) compiled by GNU C version 10.1.1 20200507 (Red Hat 10.1.1-1), GMP version 6.1.2, MPFR version 4.0.2-p7, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU C17 (GCC) version 10.1.1 20200507 (Red Hat 10.1.1-1) (x86_64-redhat-lin= ux) compiled by GNU C version 10.1.1 20200507 (Red Hat 10.1.1-1), GMP version 6.1.2, MPFR version 4.0.2-p7, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 24c549deebb977f25c26f8c5acf76cc6 COMPILER_PATH=3D/usr/libexec/gcc/x86_64-redhat-linux/10/:/usr/libexec/gcc/x= 86_64-redhat-linux/10/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x= 86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=3D/usr/lib/gcc/x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-red= hat-linux/10/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/= gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-v' '-S' '-v' '-march=3Dnative' [hjl@gnu-icl-1 gcc]$ ./xgcc -B./ -v -S -v -march=3Dnative x.i=20 Reading specs from ./specs COLLECT_GCC=3D./xgcc Target: x86_64-pc-linux-gnu Configured with: /home/hjl/work/git/gitlab/x86-gcc/configure --disable-bootstrap --with-demangler-in-ld --prefix=3D/usr/gcc-11.0.0-x86-64 --with-local-prefix=3D/usr/local --enable-gnu-indirect-function --enable-clocale=3Dgnu --with-system-zlib --with-target-system-zlib --with-fpmath=3Dsse --disable-libcc1 --disable-libcilkrts --disable-libsani= tizer --disable-libmpx --enable-languages=3Dc,c++ : (reconfigured) /home/hjl/work/git/gitlab/x86-gcc/configure --disable-bootstrap --with-demangler-in-ld --prefix=3D/usr/gcc-11.0.0-x86-64 --with-local-prefix=3D/usr/local --enable-gnu-indirect-function --enable-clocale=3Dgnu --with-system-zlib --with-target-system-zlib --with-fpmath=3Dsse --disable-libcc1 --disable-libcilkrts --disable-libsani= tizer --disable-libmpx CC=3Dcc CFLAGS=3D-g CXX=3Dg++ CXXFLAGS=3D-g --enable-languages=3Dc,c++,lto --no-create --no-recursion Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20200522 (experimental) (GCC)=20 COLLECT_GCC_OPTIONS=3D'-B' './' '-v' '-S' '-v' '-march=3Dnative' ./cc1 -fpreprocessed x.i -march=3Dicelake-client -mmmx -mno-3dnow -msse -m= sse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -msha -mpclmul -mpopc= nt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -msgx -mbmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno= -hle -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mavx512f -mno-avx512er -mavx512cd -mno-avx512pf -mno-prefetchwt1 -mclflush= opt -mxsavec -mxsaves -mavx512dq -mavx512bw -mavx512vl -mavx512ifma -mavx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-= pku -mrdpid -mgfni -mno-shstk -mavx512vbmi2 -mavx512vnni -mvaes -mvpclmulqdq -mavx512bitalg -mavx512vpopcntdq -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mno-avx512bf16 -mno-enqcmd -mno-avx512vp2inters= ect -mno-serialize -mno-tsxldtrk --param l1-cache-size=3D48 --param l1-cache-line-size=3D64 --param l2-cache-size=3D8192 -mtune=3Dicelake-clien= t -quiet -dumpbase x.i -auxbase x -version -o x.s GNU C17 (GCC) version 11.0.0 20200522 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.1.1 20200507 (Red Hat 10.1.1-1), GMP version 6.1.2, MPFR version 4.0.2-p7, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 GNU C17 (GCC) version 11.0.0 20200522 (experimental) (x86_64-pc-linux-gnu) compiled by GNU C version 10.1.1 20200507 (Red Hat 10.1.1-1), GMP version 6.1.2, MPFR version 4.0.2-p7, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: 11f4b64fb9bc00bb503ef65b7f37bf0a COMPILER_PATH=3D./ LIBRARY_PATH=3D./:/lib/../lib64/:/usr/lib/../lib64/:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-B' './' '-v' '-S' '-v' '-march=3Dnative' [hjl@gnu-icl-1 gcc]$=