It seems that several intrinsics are missing from this routine. In particular, floor, which was causing problems in the mips16 port. Is there some reason to not add the ones that are missing? For example, adding the following fixed my problem with floor. case Intrinsic::floor: EnsureFPIntrinsicsExist(M, I, "floorf", "floor", "floor"); break;
Ooops... Ignore this previous mail. The problem still exists with this change. On 07/28/2013 02:36 PM, reed kotler wrote:> It seems that several intrinsics are missing from this routine. > > In particular, floor, which was causing problems in the mips16 port. > > Is there some reason to not add the ones that are missing? > > For example, adding the following fixed my problem with floor. > > case Intrinsic::floor: > EnsureFPIntrinsicsExist(M, I, "floorf", "floor", "floor"); > break;
On Sun, Jul 28, 2013 at 3:02 PM, Reed Kotler <rkotler at mips.com> wrote:> Ooops... Ignore this previous mail. > > The problem still exists with this change. > > > On 07/28/2013 02:36 PM, reed kotler wrote: > >> It seems that several intrinsics are missing from this routine. >> >> In particular, floor, which was causing problems in the mips16 port. >> >> Is there some reason to not add the ones that are missing? >> >> For example, adding the following fixed my problem with floor. >> >> case Intrinsic::floor: >> EnsureFPIntrinsicsExist(M, I, "floorf", "floor", "floor"); >> break; >> > >Note that this code is being used mainly (only?) by the Interpreter. Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.llvm.org/pipermail/llvm-dev/attachments/20130729/4d2fb2ab/attachment.html>