64 bit shifts on 32 bit machines

I'm getting libcalls for 64 bit shifts; any way I can get LLVM to expand all these guys?

Doesn't look like it, but I wanted to sanity check before I go any further...

Thanks,

Dan

Shifts by a non-constant amount, right?

Ciao,

Duncan.

Yep, definitely.

>> I'm getting libcalls for 64 bit shifts; any way I can get LLVM to
>> expand all these guys?
>
> Shifts by a non-constant amount, right?

Yep, definitely.

Are you sure expanding into inline code is a good idea?
That could be quite a lot of code.

Ciao,

Duncan.

Well, I ended up with subroutines in my target language (there's a post-optimizer that's likely to inline them anyway, but it knows the size of the code cache, so it can make an intelligent choice).

But it would still be nice to use common, tested code (I'm still debugging my routines :slight_smile:

Dan