Expansion of memset and memcpy calls.

2014-10-21 Thread Ajit Kumar Agarwal
Hello All: Memset and Memcpy calls are extensively used in many benchmarks. Inlining or expansion the memcpy and memset calls improves the performance of many performance Benchmark. I have implemented the expansion of strcmp to the optimizaed sequence of instruction In open64 compiler for AMD

Re: Expansion of memset and memcpy calls.

2014-10-21 Thread Kyrill Tkachov
On 21/10/14 08:37, Ajit Kumar Agarwal wrote: Hello All: Memset and Memcpy calls are extensively used in many benchmarks. Inlining or expansion the memcpy and memset calls improves the performance of many performance Benchmark. I have implemented the expansion of strcmp to the optimizaed seque

[PATCH, fixincludes]: Add pthread.h to glibc_c99_inline_4 fix

2014-10-21 Thread Uros Bizjak
On Thu, Oct 16, 2014 at 2:05 PM, Jakub Jelinek wrote: >> > Recent change caused bootstrap failure on CentOS 5.11: >> > >> > /usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only >> > handles version 2 information. >> > unwind-dw2-fde-dip_s.o: In function `__pthread_cleanup_routine':

Re: [PATCH, fixincludes]: Add pthread.h to glibc_c99_inline_4 fix

2014-10-21 Thread Jakub Jelinek
On Tue, Oct 21, 2014 at 11:30:49AM +0200, Uros Bizjak wrote: > At the end of the day, adding pthread.h to glibc_c99_inline_4 fix > fixes the bootstrap. The fix applies __attribute__((__gnu_inline__)) > to the declaration: > > extern __inline __attribute__ ((__gnu_inline__)) void > __pthread_cleanu

m32c libgcc SJLJ detection in libgcc

2014-10-21 Thread Joel Sherrill
Hi It looks like the check for SJLJ use by a target starting at line 211 in libgcc/configure.ac does not take into account whether the build included a language that needs this. For RTEMS, we build m32c with only C and this check not being guarded results in needing to provide --disable-sjlj-excep

RFA: Add avrtiny support

2014-10-21 Thread Joern Rennecke
In __do_global_dtors, I ended up changing the order of execution in order to get back to the forwards/backwards order as found in crtstuff.c The patch I attached to target/63223 is actually an extract from this patch. gcc: 2014-08-29 Joern Rennecke Vidya Praveen Praveen

Re: RFA: Add avrtiny support

2014-10-21 Thread Denis Chertykov
2014-10-21 21:18 GMT+04:00 Joern Rennecke : > In __do_global_dtors, I ended up changing the order of execution > in order to get back to the forwards/backwards order as found in > crtstuff.c > The patch I attached to target/63223 is actually an extract from this patch. Approved. Denis.

Re: [Consult] g++: About "-Wunused-variable" for constant variable initialized by function

2014-10-21 Thread Chen Gang
On 10/15/14 18:07, Chen Gang wrote: > On 10/13/14 21:18, Chen Gang wrote: >> On 10/13/14 18:53, Jason Merrill wrote: >>> On 10/12/2014 10:32 AM, Chen Gang wrote: [root@localhost qemu_cc]# cat test.cc const char n() { return 1; } const char c = n(); [root@localhost