RTL AND Instruction
Ian Lance Taylor
iant@google.com
Sun Jan 22 13:52:00 GMT 2012
Matt Davis <mattdavis9@gmail.com> writes:
> What I have in my source is the following:
>
> rtx eax = gen_rtx_REG(DImode, 0);
> rtx and = gen_rtx_AND(DImode, eax, gen_rtx_CONST_INT(VOIDmode, 7));
> and = gen_rtx_SET(DImode, eax, and);
> emit_insn_before(and, insn);
This is normally not what you want to do. If you know that your target
has a DImode and instruction, then you normally want to call gen_anddi3.
If you don't know whether it does, then you generally want to call
expand_binop.
Ian
More information about the Gcc
mailing list