[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rep:Re: Rep:Re: [f-cpu] signed cmpl



On Wed, Dec 18, 2002 at 09:45:05AM +0000, Nicolas Boulay wrote:

> >>>Only our gcc expert could answer. So, does 32 to -32 number (or 0 to
> 64) immediat instruction could cover most immediat instructions used by
> gcc ?

I don't need a gcc expert for that :) Since you can specify the size
in the machine description, it's not a problem at all. Currently, there
are RTL terms like

	(match_operand:SI 2 "regimm8_operand" "r,i")

which refer to the C function regimm8_operand() - if you modify that
to accept only 6-bit operands, you're done (for ALL instructions that
can use this kind of operand). Everything that doesn't fit will be
loaded into a register.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/