Successful bootstrap and install of gcc (GCC) 6.3.0 on mips64-unknown-linux-gnu

2017-01-08 Thread Aaro Koskinen
Hi,

Here's a report of a successful build and install of GCC:

$ gcc-6.3.0/config.guess
mips64-unknown-linux-gnu

$ newcompiler/bin/gcc -v
Using built-in specs.
COLLECT_GCC=newcompiler/bin/gcc
COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/mips-unknown-linux-gnu/6.3.0/lto-wrapper
Target: mips-unknown-linux-gnu
Configured with: ../gcc-6.3.0/configure --with-arch=octeon+ --with-abi=32 
--enable-targets=all --with-float=soft --disable-nls 
--prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ 
--host=mips-unknown-linux-gnu --build=mips-unknown-linux-gnu 
--target=mips-unknown-linux-gnu --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 6.3.0 (GCC) 

-- Build environment --

host: edgerouter-pro
distro:   los.git rootfs=ef31e1 native=ef31e1
kernel:   Linux 4.9.0-octeon-los_ef31e1
binutils: GNU binutils 2.27
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.24
zlib: 1.2.8
mpfr: 3.1.3
gmp:  6

-- Time consumed --

configure:  real0m 10.72s
user0m 9.62s
sys 0m 0.92s

bootstrap:  real13h 30m 40s
user23h 37m 08s
sys 1h 32m 52s

install:real9m 20.03s
user3m 9.25s
sys 4m 51.87s

-- Hardware details ---

MemTotal: 2011960 kB

system type : ubnt,e200 (CN6120p1.1-1000-NSP)
machine : Unknown
processor   : 0
cpu model   : Cavium Octeon II V0.1
BogoMIPS: 2000.00
wait instruction: yes
microsecond timers  : yes
tlb_entries : 128
extra interrupt vector  : yes
hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
isa : mips2 mips3 mips4 mips5 mips64r2
ASEs implemented:
shadow register sets: 1
kscratch registers  : 3
package : 0
core: 0
VCED exceptions : not available
VCEI exceptions : not available

processor   : 1
cpu model   : Cavium Octeon II V0.1
BogoMIPS: 2000.00
wait instruction: yes
microsecond timers  : yes
tlb_entries : 128
extra interrupt vector  : yes
hardware watchpoint : yes, count: 2, address/irw mask: [0x0ffc, 0x0ffb]
isa : mips2 mips3 mips4 mips5 mips64r2
ASEs implemented:
shadow register sets: 1
kscratch registers  : 3
package : 0
core: 1
VCED exceptions : not available
VCEI exceptions : not available

A.


Successful bootstrap and install of gcc (GCC) 6.3.0 on x86_64-pc-linux-gnu

2017-01-08 Thread Aaro Koskinen
Hi,

Here's a report of a successful build and install of GCC:

$ gcc-6.3.0/config.guess
x86_64-pc-linux-gnu

$ newcompiler/bin/gcc -v
Using built-in specs.
COLLECT_GCC=newcompiler/bin/gcc
COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/x86_64-unknown-linux-gnu/6.3.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-6.3.0/configure --with-arch=nocona --disable-multilib 
--disable-nls --prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ 
--host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu 
--target=x86_64-unknown-linux-gnu --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 6.3.0 (GCC) 

-- Build environment --

host: amd-fx-6350
distro:   los.git rootfs=839021 native=839021
kernel:   Linux 4.9.0-pc-los_839021
binutils: GNU binutils 2.27
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.24
zlib: 1.2.8
mpfr: 3.1.3
gmp:  6

-- Time consumed --

configure:  real0m 11.06s
user0m 1.42s
sys 0m 0.29s

bootstrap:  real35m 22.75s
user2h 37m 26s
sys 2m 15.57s

install:real0m 4.48s
user0m 2.60s
sys 0m 1.26s

-- Hardware details ---

MemTotal: 16154348 kB

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 2
model name  : AMD FX(tm)-6350 Six-Core Processor
stepping: 0
microcode   : 0x600081c
cpu MHz : 2500.000
cache size  : 2048 KB
physical id : 1
siblings: 6
core id : 0
cpu cores   : 3
apicid  : 16
initial apicid  : 16
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
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 nopl nonstop_tsc extd_apicid aperfmperf 
eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave 
avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext 
perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock 
nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bugs: fxsave_leak sysret_ss_attrs null_seg
bogomips: 7799.95
TLB size: 1536 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor   : 1
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 2
model name  : AMD FX(tm)-6350 Six-Core Processor
stepping: 0
microcode   : 0x600081c
cpu MHz : 1400.000
cache size  : 2048 KB
physical id : 1
siblings: 6
core id : 0
cpu cores   : 3
apicid  : 17
initial apicid  : 17
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
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 nopl nonstop_tsc extd_apicid aperfmperf 
eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave 
avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext 
perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock 
nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bugs: fxsave_leak sysret_ss_attrs null_seg
bogomips: 7873.90
TLB size: 1536 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro

processor   : 2
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 2
model name  : AMD FX(tm)-6350 Six-Core Processor
stepping: 0
microcode   : 0x600081c
cpu MHz : 1400.000
cache size  : 2048 KB
physical id : 1
siblings: 6
core id : 1
cpu cores   : 3
apicid  : 18
initial apicid  : 18
fpu : yes
fpu_exception   : yes
cpuid level : 13
wp  : yes
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 nopl nonstop_tsc extd_apicid aperfmperf 
eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave 
avx f16c lahf_lm cmp_legacy svm extapic cr8_leg

Successful bootstrap and install of gcc (GCC) 6.3.0 on mips64el-unknown-linux-gnu

2017-01-08 Thread Aaro Koskinen
Hi,

Here's a report of a successful build and install of GCC:

$ gcc-6.3.0/config.guess
mips64el-unknown-linux-gnu

$ newcompiler/bin/gcc -v
Using built-in specs.
COLLECT_GCC=newcompiler/bin/gcc
COLLECT_LTO_WRAPPER=/home/aaro/gcctest/newcompiler/libexec/gcc/mipsel-unknown-linux-gnu/6.3.0/lto-wrapper
Target: mipsel-unknown-linux-gnu
Configured with: ../gcc-6.3.0/configure --with-arch=loongson2f --with-abi=32 
--with-fp-32=xx --enable-targets=all --disable-nls 
--prefix=/home/aaro/gcctest/newcompiler --enable-languages=c,c++ 
--host=mipsel-unknown-linux-gnu --build=mipsel-unknown-linux-gnu 
--target=mipsel-unknown-linux-gnu --with-system-zlib --with-sysroot=/
Thread model: posix
gcc version 6.3.0 (GCC) 

-- Build environment --

host: fuloong-minipc
distro:   los.git rootfs=ef31e1 native=ef31e1
kernel:   Linux 4.9.0-lemote-los_ef31e1
binutils: GNU binutils 2.27
make: GNU Make 4.2.1
libc: GNU C Library (GNU libc) stable release version 2.24
zlib: 1.2.8
mpfr: 3.1.3
gmp:  6

-- Time consumed --

configure:  real0m 23.73s
user0m 15.35s
sys 0m 6.22s

bootstrap:  real50h 9m 38s
user46h 31m 26s
sys 3h 16m 30s

install:real16m 28.01s
user6m 15.90s
sys 7m 51.50s

-- Hardware details ---

MemTotal: 494016 kB

system type : lemote-fuloong-2f-box
machine : Unknown
processor   : 0
cpu model   : ICT Loongson-2 V0.3  FPU V0.1
BogoMIPS: 264.19
wait instruction: yes
microsecond timers  : yes
tlb_entries : 64
extra interrupt vector  : no
hardware watchpoint : yes, count: 0, address/irw mask: []
isa : mips2 mips3
ASEs implemented:
shadow register sets: 1
kscratch registers  : 0
package : 0
core: 0
VCED exceptions : not available
VCEI exceptions : not available

A.


gcc-7-20170108 is now available

2017-01-08 Thread gccadmin
Snapshot gcc-7-20170108 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/7-20170108/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 7 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 244209

You'll find:

 gcc-7-20170108.tar.bz2   Complete GCC

  MD5=9ff1304cdfd96215e39bb40d7e28420c
  SHA1=48fa3657d31805b3f803998df699276fb011d02f

Diffs from 7-20170101 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-7
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Re: un-optimal code because of forwprop after gcc-5?

2017-01-08 Thread Pitchumani Sivanupandi

On Friday 06 January 2017 09:42 PM, Jeff Law wrote:

On 01/06/2017 03:09 AM, Pitchumani Sivanupandi wrote:

Found a code size regression for AVR target in gcc-5 and higher. Looks
like it
is applicable to x86_64 also.

Please file a bug.

http://gcc.gnu.org/bugzilla


Filed. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79028

Regards,
Pitchumani