Re: The usage of the "clobber "match_scratch""

2010-05-01 Thread redriver jiang
Thanks. And for >>But I can't see any reason to allocate a fixed scratch register. The ACC register here I use is not a fixed register for GCC. I make ACC register to be suitable for QImode operands only. 2010/4/27 Ian Lance Taylor : > redriver jiang writes: > >>  test3.c:27: error: insn doe

Re: The usage of the "clobber "match_scratch""

2010-04-27 Thread Ian Lance Taylor
redriver jiang writes: > test3.c:27: error: insn does not satisfy its constraints: > (insn 52 51 32 0 (parallel [ > (set (reg:HI 16 BASE0) > (plus:HI (reg:HI 16 BASE0) > (const_int -2 [0xfffe]))) > (clobber (scratch:QI)) > ]

The usage of the "clobber "match_scratch""

2010-04-27 Thread redriver jiang
Hi. Right now I know confused by the usage of "clobber "match_scratch"". The scene is as follows: 1.Target cpu is with only a 8 bit ACC register( but I make 16 virtual registers, for reload problems). 2.For HImode operands, I let them never to goto ACC combined with other virtual registers. 3.