This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using intrinsic functions to extend the isa


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]