Re: reverse conditionnal jump

2012-01-06 Thread Zdenek Dvorak
Hi, > I'm still developping a new private target backend (gcc4.5.2) and I noticed > something strange in the assembler generated for conditionnal jump. > > > The compiled C code source is : > > void funct (int c) { > int a; > a = 7; > if (c < 0) > a = 4; > return a; > } >

RE: Does neon_vset_lane expand wrong code when BYTES_BIG_ENDIAN?

2012-01-06 Thread Joseph S. Myers
On Thu, 5 Jan 2012, Xinyu Qi wrote: > > No, see where I > > explain this at greater length. > > I see. > Would you mind to take a look at the test case neon-vset_lanes8.c under > gcc.target/arm/ If BYTE_BIG_ENDIAN, would the x be {1,2,3,4

Re: I think that may be a bug...

2012-01-06 Thread Ian Lance Taylor
two2the8th_power_is...@yahoo.co.jp writes: > I am making a OS for a PC/AT compatible machine with gcc on ubuntu. > The code , whose extension is .c , to task switch in the handler for > PIT(timer) interrupt is... > int tr=(a selector(segment number)); > farjmp(0,tr); > > the function prototype is

[pph] Merge from trunk rev 182919

2012-01-06 Thread Diego Novillo
No new surprises with this merge. Tested on x86_64. Diego.

IRA issue with shuffle copies...

2012-01-06 Thread Peter Bergner
Hi Vlad, While debugging a slightly modified version of the test case in PR16458: int foo (unsigned int a, unsigned int b) { if (a == b) return 1; if (a > b) return 2; if (a < b) return 3; if (a != b) return 4; return 0; } I noticed a couple of ugly code gen warts w