[LLVMdev] Other Intrinsics?
Aaron Gray
angray at beeb.net
Tue Nov 27 09:15:33 PST 2007
> Do you have plans to add other intrinsics? I'm curious as to why there
> is an llvm.sin intrinsic and an llvm.cos intrinsic, but no llvm.atan
> intrinsic. Why is there an llvm.pow intrinsic but no llvm.log
> intrinsic? Also, have you thought about integer intrinsics like
> multiprecision multiply (u32xu32->u64) and multiprecision divide
> (u64/u32->(dividend:u32,remainder:u32))?
It would be good if intrinsics could be added via a library approach.
This would be good for supporting new platform and language requirements.
Although describing or adding optimization code/phases maybe an issue.
Aaron
More information about the llvm-dev
mailing list