Re: Question about UNSPEC rtx and a new instruction

2009-01-07 Thread Ian Lance Taylor
JCX writes: > Hello, I am working on a gcc porting for a new instruction. This > instruction needs to move data from memory to two registers. So I use > the SET rtx, and the dest of SET is an UNSPEC rtx with two registers. > By using such a rtl pattern, gcc performs very differently. It makes > m

Question about UNSPEC rtx and a new instruction

2009-01-06 Thread JCX
Hello, I am working on a gcc porting for a new instruction. This instruction needs to move data from memory to two registers. So I use the SET rtx, and the dest of SET is an UNSPEC rtx with two registers. By using such a rtl pattern, gcc performs very differently. It makes mistakes for register rep