GCC Runtime Library Exception in gcc/config/* files?

2017-07-21 Thread Sebastian Huber
Hello, there are some files in gcc/config/* that contain the GCC Runtime Library Exception grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config | wc 186 1865361 and some files that don't include it grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -

Register allocation trouble

2017-07-21 Thread Andrew Stubbs
Hi all, I have an architecture that has two register files. Let's call them class A and class B. There are some differences between their capabilities, but for the purposes of this problem, they can be considered to be identical, both holding SImode values, and both able to receive values wit

Re: Add support to trace comparison instructions and switch statements

2017-07-21 Thread David Edelsohn
On Fri, Jul 21, 2017 at 1:38 AM, 吴潍浠(此彼) wrote: > Hi Jeff > > I have signed the copyright assignment, and used the name 'Wish Wu' . > Should I send you a copy of my assignment ? Your assignment now is on file in the FSF Copyright Assignment list where Jeff, I and other maintainers can see it. We

Re: GCC Runtime Library Exception in gcc/config/* files?

2017-07-21 Thread Ian Lance Taylor via gcc
On Fri, Jul 21, 2017 at 2:24 AM, Sebastian Huber wrote: > > there are some files in gcc/config/* that contain the GCC Runtime Library > Exception > > grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config | > wc > 186 1865361 > > and some files that don't include it >

Re: GCC Runtime Library Exception in gcc/config/* files?

2017-07-21 Thread Sebastian Huber
On 21/07/17 15:50, Ian Lance Taylor wrote: On Fri, Jul 21, 2017 at 2:24 AM, Sebastian Huber wrote: there are some files in gcc/config/* that contain the GCC Runtime Library Exception grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config | wc 186 1865361 and s

Re: GCC Runtime Library Exception in gcc/config/* files?

2017-07-21 Thread Jakub Jelinek
On Fri, Jul 21, 2017 at 03:58:35PM +0200, Sebastian Huber wrote: > > > Does it matter? What should be used for new files? > > I think that in general we should probably use the Runtime Library > > Exception for header files that might need to be included by a plugin, > > which means anything that m

Re: Register allocation trouble

2017-07-21 Thread Jeff Law
On 07/21/2017 05:50 AM, Andrew Stubbs wrote: > Hi all, > > I have an architecture that has two register files. Let's call them > class A and class B. There are some differences between their > capabilities, but for the purposes of this problem, they can be > considered to be identical, both holdin

Re: Register allocation trouble

2017-07-21 Thread Georg-Johann Lay
Andrew Stubbs schrieb: Hi all, I have an architecture that has two register files. Let's call them class A and class B. There are some differences between their capabilities, but for the purposes of this problem, they can be considered to be identical, both holding SImode values, and both abl

Re: GCC Runtime Library Exception in gcc/config/* files?

2017-07-21 Thread Georg-Johann Lay
Sebastian Huber schrieb: Hello, there are some files in gcc/config/* that contain the GCC Runtime Library Exception grep -r --include='*.[ch]' 'GCC Runtime Library Exception' -l gcc/config | wc 186 1865361 and some files that don't include it grep -r --include='*.[ch]' 'GCC Ru

Re: Register allocation trouble

2017-07-21 Thread Nathan Sidwell
On 07/21/2017 07:50 AM, Andrew Stubbs wrote: (set (match_operand:SI "register_operand" "=a,b") (match_operand:SI "memory_operand" "Ra,Rb")) How horrible would it be to split expose the entire mem: (set (match_operand:SI "register" "=a,b") (mem:SI (match_operand:SI "register" "a,

Re: Register allocation trouble

2017-07-21 Thread Richard Earnshaw
On 21/07/17 19:40, Nathan Sidwell wrote: > On 07/21/2017 07:50 AM, Andrew Stubbs wrote: > >> (set (match_operand:SI "register_operand" "=a,b") >> (match_operand:SI "memory_operand" "Ra,Rb")) > > > How horrible would it be to split expose the entire mem: > > (set (match_operand:SI "regis

Re: Register allocation trouble

2017-07-21 Thread Jeff Law
On 07/21/2017 12:40 PM, Nathan Sidwell wrote: > On 07/21/2017 07:50 AM, Andrew Stubbs wrote: > >> (set (match_operand:SI "register_operand" "=a,b") >> (match_operand:SI "memory_operand" "Ra,Rb")) > > > How horrible would it be to split expose the entire mem: > > (set (match_operand:SI "

Re: How to configure a bi-arch PowerPC GCC?

2017-07-21 Thread Segher Boessenkool
Hi! On Thu, Jul 20, 2017 at 02:46:41PM +0200, Sebastian Huber wrote: > xgcc -B/build/git-build/b-gcc-git-powerpc-rtems4.12/./gcc/ -mcpu=e6500 > -m64 -O2 -fpreprocessed -S test-v0.i -o /dev/null 2>&1 > test-v0.i: In function 'f': > test-v0.i:8:1: error: unrecognizable insn: > } > ^ > (insn 12 11