On 04/13/2011 09:05 AM, Feng LI wrote:
>> You need to expand builtins yourself, a "named" expander doesn't do
>> that for you.
> 
> I'm not sure I understand this, I use define_expand to expand
> the builtin function to RTX, and then define_insn * to match the
> RTX and generate code. It seems it didn't generate the asm code.
> 
>> Do you have any const or pure attributes on the tend builtin?
> 
> Do you mean (set_attr "" "") in the define_insn?
No, see ix86_expand_builtin and its many subroutines.


r~

Reply via email to