condition flags USE in AD instruct
Christian Thalinger
Christian.Thalinger at Sun.COM
Tue Apr 14 11:24:57 PDT 2009
On Tue, 2009-04-14 at 11:18 -0700, Tom Rodriguez wrote:
> On Apr 14, 2009, at 11:07 AM, Tom Rodriguez wrote:
>
> > What's it look like? You can USE something that isn't mentioned in
> > the match rule. A USE has to an
>
> ^can't
> tom
>
> > input to the underlying MachNode and if it's not mentioned in the
> > match rule then it's not an input.
That seems to be the problem, it's not in the match rule:
instruct addcI_rReg_imm(rRegI dst, immI src, rFlagsReg cr, cmpOp cop)
%{
match(Set dst (AddcI cop (Binary dst src)));
effect(USE_KILL cr);
Can I add a dummy input for cr in the match rule?
-- Christian
More information about the hotspot-compiler-dev
mailing list